File size: 8,055 Bytes
f6d0a88 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 | /* ========================================
ARIA - VOICE CALL UI (Premium Aesthetics)
======================================== */
.voice-call-overlay {
position: fixed;
inset: 0;
z-index: 1000;
background: #020617; /* Deepest blue/black */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem;
text-align: center;
overflow: hidden;
font-family: 'Inter', sans-serif;
}
/* Atmospheric Background Elements */
.voice-call-bg {
position: absolute;
inset: 0;
z-index: -1;
overflow: hidden;
}
.voice-call-orb {
position: absolute;
border-radius: 50%;
filter: blur(140px);
opacity: 0.15;
animation: orb-flow 25s infinite alternate ease-in-out;
}
.orb-gold {
width: 60vw;
height: 60vw;
background: #F5CE4D;
top: -20%;
left: -10%;
animation-duration: 30s;
}
.orb-blue {
width: 50vw;
height: 50vw;
background: #6366f1;
bottom: -10%;
right: -5%;
animation-duration: 35s;
animation-delay: -5s;
}
.orb-purple {
width: 40vw;
height: 40vw;
background: #a855f7;
top: 40%;
left: 30%;
animation-duration: 40s;
animation-delay: -10s;
}
/* Star/Particle Effect */
.voice-call-stars {
position: absolute;
inset: 0;
background-image:
radial-gradient(1px 1px at 20px 30px, #eee, rgba(0,0,0,0)),
radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0,0,0,0)),
radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
radial-gradient(1px 1px at 130px 80px, #fff, rgba(0,0,0,0)),
radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0,0,0,0));
background-repeat: repeat;
background-size: 200px 200px;
opacity: 0.1;
animation: stars-twinkle 4s infinite alternate;
}
@keyframes stars-twinkle {
from { opacity: 0.05; transform: scale(1); }
to { opacity: 0.2; transform: scale(1.1); }
}
@keyframes orb-flow {
0% { transform: translate(0, 0) scale(1) rotate(0deg); }
50% { transform: translate(100px, 50px) scale(1.1) rotate(60deg); }
100% { transform: translate(-50px, 100px) scale(0.9) rotate(-30deg); }
}
/* Central Avatar & Pulse System */
.avatar-container {
position: relative;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 3rem;
transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.avatar-container.speaking {
transform: scale(1.05);
}
.avatar-glow {
position: absolute;
width: 300px;
height: 300px;
border-radius: 50%;
background: radial-gradient(circle, rgba(245, 206, 77, 0.3) 0%, transparent 70%);
opacity: 0.5;
transition: all 0.5s ease;
}
.avatar-container.active .avatar-glow {
animation: breathing-glow 4s infinite ease-in-out;
}
.avatar-container.speaking .avatar-glow {
background: radial-gradient(circle, rgba(245, 206, 77, 0.6) 0%, transparent 70%);
animation: resonance-glow 0.8s infinite alternate ease-in-out;
}
@keyframes breathing-glow {
0%, 100% { opacity: 0.3; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.2); }
}
@keyframes resonance-glow {
0% { opacity: 0.5; transform: scale(1.1); }
100% { opacity: 0.8; transform: scale(1.3); }
}
.avatar-image-wrapper {
width: 240px;
height: 240px;
border-radius: 50%;
padding: 8px;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
position: relative;
z-index: 5;
overflow: hidden;
}
.avatar-image {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
transition: filter 1s ease;
}
.avatar-image.inactive {
filter: grayscale(0.8) contrast(0.8);
}
/* Visualization Rings */
.ring {
position: absolute;
border: 1px solid rgba(245, 206, 77, 0.2);
border-radius: 50%;
pointer-events: none;
}
.ring-1 { width: 280px; height: 280px; animation: rotate-slow 20s infinite linear; }
.ring-2 { width: 320px; height: 320px; border-style: dashed; animation: rotate-slow 30s infinite linear reverse; }
.ring-3 { width: 400px; height: 400px; opacity: 0.1; animation: pulse-out 3s infinite ease-out; }
@keyframes rotate-slow {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@keyframes pulse-out {
0% { transform: scale(1); opacity: 0.3; }
100% { transform: scale(1.5); opacity: 0; }
}
/* Typography & Info */
.voice-call-info {
max-width: 600px;
width: 100%;
z-index: 10;
}
.status-label {
font-size: 0.8rem;
letter-spacing: 0.4em;
color: #F5CE4D;
text-transform: uppercase;
font-weight: 800;
margin-bottom: 0.5rem;
opacity: 0.8;
}
.call-title {
font-family: 'Playfair Display', serif;
color: white;
font-size: 3.5rem;
margin-bottom: 2rem;
letter-spacing: -0.02em;
font-weight: 500;
text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.transcript-panel {
min-height: 120px;
padding: 2rem;
border-radius: 32px;
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.8);
font-size: 1.25rem;
line-height: 1.6;
display: flex;
align-items: center;
justify-content: center;
font-style: italic;
font-weight: 300;
box-shadow: 0 20px 80px rgba(0,0,0,0.4);
transition: all 0.5s ease;
animation: fade-in 1s ease-out;
}
@keyframes fade-in {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Controls */
.controls-bar {
margin-top: auto;
margin-bottom: 3rem;
display: flex;
gap: 2.5rem;
align-items: center;
padding: 1.25rem 2.5rem;
border-radius: 100px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.12);
backdrop-filter: blur(25px);
box-shadow: 0 25px 70px rgba(0,0,0,0.6);
z-index: 100;
animation: slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slide-up {
from { transform: translateY(100px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
.control-btn {
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
border: none;
outline: none;
}
.control-btn:hover {
transform: scale(1.1);
}
.btn-mute {
width: 64px;
height: 64px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
color: white;
}
.btn-mute.muted {
background: #F5CE4D;
color: #020617;
box-shadow: 0 0 30px rgba(245, 206, 77, 0.4);
}
.btn-end {
width: 84px;
height: 84px;
border-radius: 50%;
background: #ef4444;
color: white;
box-shadow: 0 0 50px rgba(239, 68, 68, 0.4);
}
.btn-end:hover {
background: #f87171;
box-shadow: 0 0 60px rgba(239, 68, 68, 0.6);
transform: scale(1.1) rotate(90deg);
}
.encryption-text {
position: absolute;
bottom: 2rem;
color: rgba(255, 255, 255, 0.4);
font-size: 0.7rem;
letter-spacing: 0.25em;
display: flex;
align-items: center;
gap: 0.75rem;
text-transform: uppercase;
font-weight: 500;
}
.sparkle-icon {
color: #F5CE4D;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 0.5; transform: scale(1); }
50% { opacity: 1; transform: scale(1.2); }
}
/* Audio Waveform Simulation */
.waveform-container {
height: 40px;
display: flex;
align-items: center;
gap: 4px;
margin-bottom: 2rem;
}
.wave-bar {
width: 4px;
height: 8px;
background: #F5CE4D;
border-radius: 2px;
transition: height 0.1s ease;
}
.wave-bar.speaking {
animation: wave-bounce 0.5s infinite alternate ease-in-out;
}
@keyframes wave-bounce {
from { height: 8px; }
to { height: 40px; }
}
|