:root {
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --iridescent-gradient: linear-gradient(135deg, rgba(255, 182, 193, 0.3) 0%, rgba(173, 216, 230, 0.3) 50%, rgba(255, 255, 224, 0.3) 100%);
    --liquid-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.liquid-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--liquid-shadow);
    position: relative;
    overflow: hidden;
}

.liquid-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--iridescent-gradient);
    z-index: -1;
    opacity: 0.5;
}

.liquid-glass-button {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), inset 0 0 10px rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.liquid-glass-button:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.2);
}

.brand-glow {
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.mesh-gradient-bg {
    background-color: #f9f9f9;
    background-image: 
        radial-gradient(at 0% 0%, hsla(11, 100%, 93%, 1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(210, 100%, 93%, 1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(50, 100%, 93%, 1) 0, transparent 50%),
        radial-gradient(at 0% 100%, hsla(320, 100%, 93%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(200, 100%, 93%, 1) 0, transparent 50%);
}

#wheel {
    transition: transform 4.5s cubic-bezier(0.2, 0.8, 0.1, 1);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* Toast Notification Display System Layout Styles */
.toast-popup {
    animation: toastIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
               toastOut 0.5s cubic-bezier(0.6, -0.28, 0.735, 0.045) 4.5s forwards;
}

@keyframes toastIn {
    from { transform: translateX(-150%) scale(0.9); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes toastOut {
    from { transform: translateX(0) scale(1); opacity: 1; }
    to { transform: translateX(-150%) scale(0.9); opacity: 0; }
}

/* CINEMATIC PICKER INTERACTIVE ENERGY CHARGE CLASSES */
.wheel-charging {
    animation: buildUpVibration Shake 0.4s infinite alternate, hyperGlowCycle 2s infinite linear;
}

.cinema-dim-world {
    opacity: 0.12 !important;
    transform: scale(0.96);
    filter: blur(5px);
    pointer-events: none;
}

#main-interface, #app-header, #hero-text-block {
    transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes buildUpVibration {
    0% { transform: translate(1.5px, 1px) rotate(0deg); }
    100% { transform: translate(-1px, -2px) rotate(1.2deg); }
}

@keyframes hyperGlowCycle {
    0% { filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.5)); }
    50% { filter: drop-shadow(0 0 35px rgba(168, 85, 247, 0.8)); }
    100% { filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.5)); }
}

/* GENSHIN IMPACT CINEMATIC STAR TIMELINE CLASSES */
#cinematic-modal {
    background: radial-gradient(circle at center, #101322 0%, #04050a 100%);
}

.genshin-meteor {
    position: absolute;
    top: -12%;
    left: -12%;
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 25px #fbbf24, 0 0 50px #fbbf24, 0 0 90px #fff;
    transform: rotate(45deg);
    opacity: 0;
    z-index: 35;
}

.genshin-meteor::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: 2.5px;
    background: linear-gradient(90deg, #fbbf24, transparent);
}

.animate-meteor-fly {
    animation: meteorImpactTrajectory 1.2s cubic-bezier(0.25, 1, 0.2, 1) forwards;
}

.genshin-impact-flash {
    position: absolute;
    inset: 0;
    background: #fff;
    mix-blend-mode: overlay;
    opacity: 0;
    pointer-events: none;
    z-index: 40;
}

.animate-impact-flash {
    animation: flashBangBurst 0.6s ease-out forwards;
}

.card-glow-burst {
    background: radial-gradient(circle, rgba(251,191,36,0.22) 0%, rgba(0,0,0,0) 70%);
    transform: scale(0);
    animation: ringBurstOpen 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.animate-fade-in {
    animation: itemRevealSmooth 0.5s cubic-bezier(0.15, 0.85, 0.35, 1.05) forwards;
}

/* Cinematic Keyframe Modules */
@keyframes meteorImpactTrajectory {
    0% { top: -12%; left: -12%; opacity: 0; transform: scale(0.5) rotate(45deg); }
    25% { opacity: 1; }
    100% { top: 50%; left: 50%; transform: translate(-50%, -50%) scale(1.6) rotate(45deg); opacity: 0; }
}

@keyframes flashBangBurst {
    0% { opacity: 0; }
    15% { opacity: 1; background: #fff; }
    100% { opacity: 0; }
}

@keyframes ringBurstOpen {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1.4); opacity: 1; }
}

@keyframes itemRevealSmooth {
    0% { transform: scale(0.55); opacity: 0; filter: brightness(3); }
    60% { filter: brightness(1.3); }
    100% { transform: scale(1); opacity: 1; filter: brightness(1); }
}