/* ========================================================
   MSD BHAI AI // INTELLIGENT PREDICTION CONSOLE
   UNIFIED TEAL-BLUE & NEON CYAN LIQUID GLASS SYSTEM (v20.0)
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Orbitron:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    /* NEXT LEVEL PREMIUM DARK PALETTE */
    --bg-dark: #0b0f19;
    --bg-darker: #06090f;
    --glass-bg: rgba(18, 24, 38, 0.6);
    --glass-bg-hover: rgba(25, 33, 50, 0.7);
    --glass-inner: rgba(10, 15, 25, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-highlight: rgba(255, 255, 255, 0.15);
    --glass-reflection: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 100%);
    
    --main-cyan: #00E5FF;
    --light-blue: #3b82f6;
    --soft-glow: rgba(0, 229, 255, 0.2);
    --neon-gold: #fbbf24;
    --neon-pink: #ec4899;
    --neon-green: #10b981;
    
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    --text-bright: #f8fafc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% -10%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 10% 75%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 35%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    color: var(--text-bright);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    padding-bottom: 95px;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-entrance {
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* FONT UTILITIES */
.font-orbitron { font-family: 'Orbitron', sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.font-chakra { font-family: 'Chakra Petch', sans-serif; }
.font-grotesk { font-family: 'Space Grotesk', sans-serif; }

/* GLOWS */
.glow-cyan {
    text-shadow: 0 0 14px var(--main-cyan), 0 0 28px var(--soft-glow);
}
.glow-gold {
    text-shadow: 0 0 14px rgba(255, 215, 0, 0.9), 0 0 28px rgba(255, 215, 0, 0.45);
}
.glow-green {
    text-shadow: 0 0 14px rgba(0, 255, 136, 0.95), 0 0 28px rgba(0, 255, 136, 0.55);
}

/* LIQUID GLASS PANEL (FROSTED GLASSMORPHISM) */
.liquid-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 26px;
    box-shadow: 
        0 24px 60px rgba(4, 20, 26, 0.75),
        0 0 35px var(--soft-glow),
        inset 0 1.5px 0 var(--glass-border-highlight),
        inset 0 0 20px rgba(0, 229, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.liquid-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--glass-reflection);
    pointer-events: none;
    border-radius: inherit;
}
.liquid-glass-card:hover {
    border-color: rgba(77, 235, 255, 0.45);
    box-shadow: 
        0 28px 70px rgba(4, 20, 26, 0.88),
        0 0 45px rgba(0, 229, 255, 0.45),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.4);
}

/* LIQUID PILL BADGES */
.liquid-pill {
    background: rgba(6, 32, 40, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(77, 235, 255, 0.25);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.liquid-pill:hover {
    color: #fff;
    border-color: var(--main-cyan);
    background: rgba(8, 45, 54, 0.85);
    box-shadow: 0 0 18px var(--soft-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.liquid-pill-cyan {
    background: rgba(0, 229, 255, 0.12);
    border: 1px solid rgba(77, 235, 255, 0.4);
    color: var(--main-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* LIQUID GLOW ACTION BUTTON */
.btn-liquid-cyan {
    background: linear-gradient(135deg, #00E5FF 0%, #00a2ff 55%, #0066cc 100%);
    color: #03141a;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 9999px;
    box-shadow: 
        0 8px 30px rgba(0, 229, 255, 0.55),
        0 0 40px rgba(0, 162, 255, 0.3),
        inset 0 2px 3px rgba(255, 255, 255, 0.85),
        inset 0 -2px 5px rgba(0, 0, 0, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn-liquid-cyan::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(30deg);
    animation: liquidShine 3.2s infinite;
}
@keyframes liquidShine {
    0%, 75% { left: -60%; }
    100% { left: 140%; }
}
.btn-liquid-cyan:hover:not(:disabled) {
    box-shadow: 
        0 10px 40px rgba(0, 229, 255, 0.85),
        0 0 55px rgba(77, 235, 255, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.95);
    transform: translateY(-2px) scale(1.02);
}
.btn-liquid-cyan:active:not(:disabled) {
    transform: translateY(1px) scale(0.99);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

/* CIRCULAR RADIAL TIMER */
.circular-timer-svg {
    transform: rotate(-90deg);
}
.timer-track {
    stroke: rgba(12, 55, 66, 0.65);
}
.timer-bar {
    stroke: #00E5FF;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.4s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s ease;
    filter: drop-shadow(0 0 10px #00E5FF);
}

/* FULL-WIDTH UNCLIPPED HISTORY ROW ITEM */
.liquid-history-item {
    background: var(--glass-inner);
    border: 1px solid rgba(77, 235, 255, 0.18);
    border-radius: 18px;
    padding: 11px 16px;
    display: grid;
    grid-template-columns: 1fr 50px 75px;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.liquid-history-item:hover {
    background: rgba(8, 45, 54, 0.85);
    border-color: rgba(77, 235, 255, 0.45);
    transform: translateY(-1.5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--soft-glow);
}

/* ========================================================
   ⚡ QUANTUM NEURAL SCANNER RADAR ANIMATION (ANALYSIS LOADER)
   ======================================================== */
.quantum-radar-core {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.quantum-radar-ring-1 {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.35), inset 0 0 15px rgba(77, 235, 255, 0.2);
    animation: pulseRadarRing 2s ease-in-out infinite alternate;
}
.quantum-radar-ring-2 {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1.5px dashed #4DEBFF;
    animation: rotateYantra 5s linear infinite;
}
.quantum-radar-ring-3 {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.6);
    animation: rotateYantraRev 3.5s linear infinite;
}
.quantum-radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(0, 229, 255, 0.55) 360deg);
    animation: rotateYantra 1.5s linear infinite;
    filter: drop-shadow(0 0 8px #00E5FF);
}
.quantum-radar-center-dot {
    position: relative;
    z-index: 10;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00E5FF;
    box-shadow: 0 0 15px #00E5FF, 0 0 25px #4DEBFF;
    animation: centerCorePulse 1.2s ease-in-out infinite alternate;
}

@keyframes pulseRadarRing {
    0% { transform: scale(0.92); opacity: 0.7; }
    100% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 10px #00E5FF); }
}
@keyframes centerCorePulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.25); opacity: 1; }
}

.history-tag-win {
    background: rgba(0, 229, 255, 0.18);
    border: 1px solid #00E5FF;
    color: #00E5FF;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 0;
    width: 70px;
    border-radius: 9999px;
    letter-spacing: 0.08em;
    text-align: center;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.45);
    display: inline-block;
    flex-shrink: 0;
}

.history-tag-loss {
    background: rgba(255, 0, 127, 0.14);
    border: 1px solid rgba(255, 0, 127, 0.5);
    color: #ff3399;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 0;
    width: 70px;
    border-radius: 9999px;
    letter-spacing: 0.08em;
    text-align: center;
    box-shadow: 0 0 12px rgba(255, 0, 127, 0.25);
    display: inline-block;
    flex-shrink: 0;
}

.history-tag-big {
    background: rgba(0, 229, 255, 0.16);
    border: 1px solid rgba(77, 235, 255, 0.55);
    color: #00E5FF;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 0;
    width: 70px;
    border-radius: 9999px;
    letter-spacing: 0.06em;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    display: inline-block;
    flex-shrink: 0;
}

.history-tag-small {
    background: rgba(77, 235, 255, 0.14);
    border: 1px solid rgba(77, 235, 255, 0.45);
    color: #4DEBFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 0;
    width: 70px;
    border-radius: 9999px;
    letter-spacing: 0.06em;
    text-align: center;
    box-shadow: 0 0 15px rgba(77, 235, 255, 0.25);
    display: inline-block;
    flex-shrink: 0;
}

/* ========================================================
   🌿 GLOWING TEAL-CYAN YANTRA CHAKRA SYSTEM
   ======================================================== */
.yantra-chakra-wrapper {
    position: relative;
    width: 124px;
    height: 124px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* BACKDROP ENERGY PARTICLE AURA */
.yantra-chakra-particle-glow {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.45) 0%, rgba(77, 235, 255, 0.2) 50%, transparent 80%);
    filter: blur(15px);
    animation: yantraAuraPulse 3s ease-in-out infinite alternate;
    pointer-events: none;
}

/* ROTATING 12-PETAL SACRED YANTRA SVG */
.yantra-chakra-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: rotateYantra 14s linear infinite;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.95)) drop-shadow(0 0 20px rgba(77, 235, 255, 0.6));
}

/* COUNTER-SPINNING INNER RETICLE */
.yantra-chakra-inner-rays {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1.5px dashed rgba(77, 235, 255, 0.6);
    animation: rotateYantraRev 8s linear infinite;
    pointer-events: none;
}

@keyframes rotateYantra {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateYantraRev {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes yantraAuraPulse {
    0% { transform: scale(0.92); opacity: 0.7; }
    100% { transform: scale(1.15); opacity: 1; }
}

/* CLEAN REVEAL FOR 3D BALL */
.reveal-ball-clean {
    animation: fadeInBall 0.35s ease-out forwards;
}
@keyframes fadeInBall {
    0% { opacity: 0; transform: scale(0.88); }
    100% { opacity: 1; transform: scale(1); }
}

/* ========================================================
   🌿 CINEMATIC 3D SACRED YANTRA SPLASH PORTAL (MATCHING PALETTE)
   ======================================================== */
.cinematic-splash-yantra-core {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* DEEP MYSTICAL SHOCKWAVE AURA */
.cinematic-yantra-shockwave {
    position: absolute;
    inset: -35px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.4) 0%, rgba(77, 235, 255, 0.22) 45%, transparent 75%);
    filter: blur(28px);
    animation: shockwavePulse 2.8s ease-in-out infinite alternate;
}

/* OUTWARD EXPANDING ENERGY RING */
.cinematic-yantra-pulse-ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(77, 235, 255, 0.55);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.5), inset 0 0 15px rgba(77, 235, 255, 0.35);
    animation: energyRingExpand 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    pointer-events: none;
}

/* ROTATING 3D YANTRA CHAKRA SVG IN SPLASH */
.cinematic-yantra-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: rotateYantra 12s linear infinite;
    filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.95)) drop-shadow(0 0 35px rgba(77, 235, 255, 0.65));
}

/* FLOATING FIREFLY PARTICLES */
.firefly-particle {
    position: absolute;
    border-radius: 50%;
    background: #00E5FF;
    box-shadow: 0 0 10px #00E5FF, 0 0 20px #4DEBFF;
    pointer-events: none;
}
.firefly-1 { width: 6px; height: 6px; top: 10%; left: 20%; animation: fireflyFloat1 4s ease-in-out infinite; }
.firefly-2 { width: 8px; height: 8px; top: 25%; right: 15%; animation: fireflyFloat2 5s ease-in-out infinite; }
.firefly-3 { width: 5px; height: 5px; bottom: 20%; left: 15%; animation: fireflyFloat3 4.5s ease-in-out infinite; }
.firefly-4 { width: 7px; height: 7px; bottom: 30%; right: 25%; animation: fireflyFloat1 6s ease-in-out infinite; }
.firefly-5 { width: 4px; height: 4px; top: 45%; left: 8%; animation: fireflyFloat2 3.8s ease-in-out infinite; }
.firefly-6 { width: 6px; height: 6px; top: 60%; right: 10%; animation: fireflyFloat3 5.2s ease-in-out infinite; }

@keyframes shockwavePulse {
    0% { transform: scale(0.85); opacity: 0.6; }
    100% { transform: scale(1.22); opacity: 1; filter: blur(35px); }
}

@keyframes energyRingExpand {
    0% { transform: scale(0.75); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

@keyframes fireflyFloat1 {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.4; }
    50% { transform: translateY(-24px) translateX(16px) scale(1.4); opacity: 1; }
}
@keyframes fireflyFloat2 {
    0%, 100% { transform: translateY(0) translateX(0) scale(1.2); opacity: 0.9; }
    50% { transform: translateY(22px) translateX(-20px) scale(0.7); opacity: 0.3; }
}
@keyframes fireflyFloat3 {
    0%, 100% { transform: translateY(0) translateX(0) scale(0.8); opacity: 0.5; }
    50% { transform: translateY(-30px) translateX(-14px) scale(1.5); opacity: 1; }
}

/* CYBER SECURITY SHIELD BADGE FOR MODAL */
.cyber-shield-badge {
    position: relative;
    width: 74px;
    height: 74px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cyber-shield-ring-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(77, 235, 255, 0.7);
    animation: rotateYantra 10s linear infinite;
}
.cyber-shield-ring-inner {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 229, 255, 0.65);
    animation: rotateYantraRev 7s linear infinite;
}
.cyber-shield-core {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, #082d36 0%, #061b22 100%);
    border: 2px solid #00E5FF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 28px rgba(0, 229, 255, 0.8), inset 0 0 10px rgba(0, 229, 255, 0.4);
}

/* LIQUID GLASS MODAL */
.modal-glass-card {
    background: rgba(8, 45, 54, 0.96);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border: 1px solid rgba(77, 235, 255, 0.35);
    border-radius: 30px;
    box-shadow: 
        0 30px 70px rgba(2, 12, 16, 0.95),
        0 0 50px var(--soft-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* HIGH TECH INPUT */
.cyber-input-field {
    width: 100%;
    background: rgba(6, 32, 40, 0.92);
    border: 1.5px solid rgba(77, 235, 255, 0.35);
    border-radius: 18px;
    padding: 15px 18px;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.1em;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}
.cyber-input-field:focus {
    border-color: #00E5FF;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4), inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* FLOATING DOCK */
.bottom-nav-bar {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 450px;
    height: 70px;
    background: rgba(8, 45, 54, 0.88);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(77, 235, 255, 0.3);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 45;
    padding: 0 10px;
    box-shadow: 0 20px 50px rgba(2, 12, 16, 0.9), 0 0 35px var(--soft-glow);
}

.nav-item-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 14px;
    border-radius: 16px;
}
.nav-item-btn.active {
    color: #00E5FF;
    text-shadow: 0 0 12px var(--soft-glow);
    background: rgba(0, 229, 255, 0.14);
    border: 1px solid rgba(77, 235, 255, 0.35);
}
.nav-item-btn:hover {
    color: #fff;
}
.nav-item-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}
.nav-item-btn.active svg {
    transform: scale(1.18);
    filter: drop-shadow(0 0 8px #00E5FF);
}

/* BRAND LOGO RING */
.brand-logo-ring {
    border: 2px solid #00E5FF;
    box-shadow: 0 0 28px var(--soft-glow);
}

/* AUDIO WAVE ANIMATION */
.sound-wave {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 12px;
}
.sound-wave-bar {
    width: 2px;
    background-color: #00E5FF;
    border-radius: 2px;
    animation: soundWaveAnim 1.2s ease-in-out infinite alternate;
}
.sound-wave-bar:nth-child(1) { height: 4px; animation-delay: 0s; }
.sound-wave-bar:nth-child(2) { height: 10px; animation-delay: 0.2s; }
.sound-wave-bar:nth-child(3) { height: 7px; animation-delay: 0.4s; }
.sound-wave-bar:nth-child(4) { height: 12px; animation-delay: 0.1s; }
@keyframes soundWaveAnim {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* TOAST */
#toastContainer {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast-item {
    background: rgba(8, 45, 54, 0.95);
    border: 1.5px solid #00E5FF;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 9999px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 28px var(--soft-glow);
    opacity: 0;
    transform: translateY(-12px);
    transition: all 0.25s ease;
    pointer-events: auto;
}
.toast-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* ======== FLOATING HACK PANEL (post-verification) ======== */
#hackConsoleContainer.floating-mode-active {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(1) !important;
    width: 94% !important;
    max-width: 460px !important;
    height: 88vh !important;
    min-height: auto !important;
    background: rgba(4, 14, 22, 0.97) !important;
    backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(0, 240, 255, 0.45) !important;
    border-radius: 28px !important;
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.2), 0 0 120px rgba(0, 229, 255, 0.08) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 99995 !important;
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    opacity: 1 !important;
}

#hackConsoleContainer.floating-mode-active.hack-panel-hidden {
    transform: translate(-50%, 110%) scale(0.85) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#hackConsoleContainer.floating-mode-active nav.bottom-nav-bar {
    position: sticky;
    bottom: 0;
    width: 100%;
    border-radius: 0 0 24px 24px;
    background: rgba(4, 14, 22, 0.98);
}

.modal-glass-card {
    background: linear-gradient(165deg, rgba(6, 12, 20, 0.98) 0%, rgba(4, 8, 14, 0.96) 100%) !important;
    border: 1.5px solid rgba(0, 240, 255, 0.35) !important;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.95),
        0 0 45px rgba(0, 229, 255, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
}

/* ========================================================
   ⚡ AAA HACKER CYBER NEURAL SPECTRUM EQUALIZER & TELEMETRY
   ======================================================== */
.cyber-spectrum-container {
    position: relative;
    background: rgba(3, 7, 14, 0.75);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 18px;
    padding: 12px 14px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.6);
}

.cyber-spectrum-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 255, 0.08) 50%, transparent 100%);
    animation: laserScanAcross 3.5s linear infinite;
    pointer-events: none;
}

@keyframes laserScanAcross {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(50%); }
}

.cyber-eq-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3px;
    height: 38px;
    padding: 4px 2px 2px 2px;
}

.cyber-eq-bar {
    flex: 1;
    min-width: 4px;
    background: linear-gradient(to top, rgba(0, 240, 255, 0.2) 0%, #00f0ff 60%, #00ff88 100%);
    border-radius: 3px 3px 1px 1px;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
    animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.cyber-eq-bar:nth-child(2n) { animation-duration: 0.9s; animation-delay: 0.15s; background: linear-gradient(to top, rgba(0, 136, 255, 0.2) 0%, #38bdf8 60%, #00f0ff 100%); }
.cyber-eq-bar:nth-child(3n) { animation-duration: 1.4s; animation-delay: 0.3s; }
.cyber-eq-bar:nth-child(4n) { animation-duration: 0.75s; animation-delay: 0.45s; background: linear-gradient(to top, rgba(251, 191, 36, 0.2) 0%, #fbbf24 60%, #00f0ff 100%); }
.cyber-eq-bar:nth-child(5n) { animation-duration: 1.1s; animation-delay: 0.2s; }
.cyber-eq-bar:nth-child(7n) { animation-duration: 0.85s; animation-delay: 0.4s; }

@keyframes eqBounce {
    0% { height: 18%; opacity: 0.45; filter: drop-shadow(0 0 2px #00f0ff); }
    50% { height: 85%; opacity: 1; filter: drop-shadow(0 0 10px #00ff88); }
    100% { height: 35%; opacity: 0.75; filter: drop-shadow(0 0 6px #00f0ff); }
}

/* LIVE STREAMING TICKER */
.cyber-telemetry-ticker {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #4debff;
    white-space: nowrap;
    overflow: hidden;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========================================================
   🔒 HOLOGRAPHIC QUANTUM BIOMETRIC LOCK CORE
   ======================================================== */
.quantum-holo-lock-core {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.holo-ring-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(0, 240, 255, 0.6);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.35), inset 0 0 15px rgba(0, 240, 255, 0.2);
    animation: rotateYantra 10s linear infinite;
}

.holo-ring-inner {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1.5px dotted rgba(0, 255, 136, 0.7);
    animation: rotateYantraRev 6s linear infinite;
}

.holo-laser-sweep {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 240, 255, 0.4) 50%, transparent 60%);
    animation: laserVerticalSweep 2.2s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes laserVerticalSweep {
    0% { transform: translateY(-35px) scaleY(0.5); opacity: 0.2; }
    50% { opacity: 1; filter: drop-shadow(0 0 8px #00f0ff); }
    100% { transform: translateY(35px) scaleY(0.5); opacity: 0.2; }
}

.holo-center-lock {
    position: relative;
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(6, 12, 22, 0.95);
    border: 1.5px solid #00f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.75), inset 0 0 12px rgba(0, 240, 255, 0.4);
    animation: lockCorePulse 2s ease-in-out infinite alternate;
}

@keyframes lockCorePulse {
    0% { transform: scale(0.96); box-shadow: 0 0 15px rgba(0, 240, 255, 0.5); border-color: #00f0ff; }
    100% { transform: scale(1.04); box-shadow: 0 0 30px rgba(0, 240, 255, 0.9), 0 0 45px rgba(0, 255, 136, 0.5); border-color: #4debff; }
}

/* ========================================================
   ⚡ NEXT LEVEL HACKER MATRIX DECODER TERMINAL LOADER
   ======================================================== */
.hacker-decoder-box {
    background: rgba(2, 6, 12, 0.92);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.hacker-decoder-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00f0ff, transparent);
    animation: laserLineScan 2s ease-in-out infinite;
}

@keyframes laserLineScan {
    0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* ========================================================
   ⚡ GLITCH REVEAL FLASH & ROLLING SCRAMBLE ANIMATIONS
   ======================================================== */
.glitch-reveal-flash {
    animation: cyberGlitchFlash 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes cyberGlitchFlash {
    0% { transform: scale(0.82); filter: brightness(2.8) contrast(1.8) drop-shadow(0 0 30px #00ff88); opacity: 0.4; }
    35% { transform: scale(1.12) rotate(1.5deg); filter: drop-shadow(0 0 25px #00f0ff); }
    70% { transform: scale(0.96) rotate(-1deg); filter: drop-shadow(0 0 18px #00ff88); }
    100% { transform: scale(1) rotate(0deg); filter: brightness(1) drop-shadow(0 0 16px rgba(0,240,255,0.85)); opacity: 1; }
}

.scramble-digit-active {
    animation: scramblePulse 0.12s ease-in-out infinite alternate;
    text-shadow: 0 0 14px #00f0ff, 0 0 25px #00ff88;
    color: #4debff !important;
}

@keyframes scramblePulse {
    0% { opacity: 0.65; transform: scale(0.92); }
    100% { opacity: 1; transform: scale(1.08); }
}

/* ========================================================
   🔥 ULTRA-FAST CHAKRA FIRE SPIN & PLASMA QUANTUM SURGE
   ======================================================== */
.chakra-fast-fire-spin {
    animation: fastChakraSpin 0.32s linear infinite !important;
    filter: drop-shadow(0 0 18px #00f0ff) drop-shadow(0 0 35px #ffb700) drop-shadow(0 0 50px #ff007f) brightness(2) !important;
}

.chakra-fire-glow-active {
    animation: firePlasmaPulse 0.24s ease-in-out infinite alternate !important;
    background: radial-gradient(circle, rgba(255, 230, 0, 0.75) 0%, rgba(255, 0, 100, 0.6) 45%, rgba(0, 240, 255, 0.5) 100%) !important;
    filter: blur(16px) !important;
}

@keyframes fastChakraSpin {
    0% { transform: rotate(0deg) scale(1.08); }
    50% { transform: rotate(180deg) scale(1.22); }
    100% { transform: rotate(360deg) scale(1.08); }
}

@keyframes firePlasmaPulse {
    0% { 
        box-shadow: 0 0 25px rgba(255, 230, 0, 0.9), 0 0 45px rgba(255, 23, 68, 0.8), inset 0 0 20px rgba(0, 240, 255, 0.6); 
        transform: scale(0.92); 
        opacity: 0.85;
    }
    100% { 
        box-shadow: 0 0 55px rgba(255, 230, 0, 1), 0 0 85px rgba(255, 23, 68, 0.95), 0 0 110px rgba(0, 240, 255, 0.9), inset 0 0 30px rgba(255, 200, 0, 0.9); 
        transform: scale(1.22); 
        opacity: 1;
    }
}

/* ========================================================
   🟡 BIG (YELLOW) & 🔴 SMALL (RED) THEME SPECIFIC CLASSES
   ======================================================== */
.text-size-big {
    color: #FFE600 !important;
    text-shadow: 0 0 16px rgba(255, 230, 0, 0.95), 0 0 35px rgba(255, 170, 0, 0.85), 0 0 55px rgba(255, 140, 0, 0.6) !important;
}

.text-size-small {
    color: #FF2A55 !important;
    text-shadow: 0 0 16px rgba(255, 42, 85, 0.95), 0 0 35px rgba(255, 23, 68, 0.85), 0 0 55px rgba(220, 0, 50, 0.6) !important;
}

.badge-size-big {
    background: rgba(255, 230, 0, 0.16) !important;
    border: 1px solid rgba(255, 230, 0, 0.65) !important;
    color: #FFE600 !important;
    box-shadow: 0 0 14px rgba(255, 230, 0, 0.45) !important;
}

.badge-size-small {
    background: rgba(255, 42, 85, 0.16) !important;
    border: 1px solid rgba(255, 42, 85, 0.65) !important;
    color: #FF6B8B !important;
    box-shadow: 0 0 14px rgba(255, 42, 85, 0.45) !important;
}

.chakra-aura-big {
    background: radial-gradient(circle, rgba(255, 230, 0, 0.55) 0%, rgba(255, 140, 0, 0.3) 45%, transparent 75%) !important;
    filter: blur(16px) !important;
    opacity: 0.9 !important;
}

.chakra-aura-small {
    background: radial-gradient(circle, rgba(255, 42, 85, 0.55) 0%, rgba(255, 0, 100, 0.3) 45%, transparent 75%) !important;
    filter: blur(16px) !important;
    opacity: 0.9 !important;
}

.chakra-svg-big {
    color: #FFE600 !important;
    filter: drop-shadow(0 0 15px rgba(255, 230, 0, 0.95)) drop-shadow(0 0 28px rgba(255, 140, 0, 0.75)) !important;
}

.chakra-svg-small {
    color: #FF2A55 !important;
    filter: drop-shadow(0 0 15px rgba(255, 42, 85, 0.95)) drop-shadow(0 0 28px rgba(255, 23, 68, 0.75)) !important;
}


