/* ═══════════════════════════════════════════════════════════════════════
   SPINGOAL — PREMIUM VISUAL UPGRADE
   Design: Retro-Futurism × Cyberpunk × Dark Gaming
   Skill: ui-ux-pro-max | Style: Immersive Interactive Experience
   Colors: Deep Space + Neon Emerald + Electric Gold + Plasma Violet
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. FONT UPGRADE ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Chakra+Petch:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ── 2. DESIGN TOKENS OVERRIDE ───────────────────────────────────────── */
:root {
    /* Core palette — neon gaming */
    --neon-green:    #00e896;
    --neon-gold:     #fbbf24;
    --neon-violet:   #a855f7;
    --neon-cyan:     #06b6d4;
    --neon-rose:     #f43f5e;

    /* Glow effects */
    --glow-green:    0 0 12px rgba(0, 232, 150, 0.7), 0 0 40px rgba(0, 232, 150, 0.25);
    --glow-gold:     0 0 12px rgba(251, 191, 36, 0.7), 0 0 40px rgba(251, 191, 36, 0.25);
    --glow-violet:   0 0 12px rgba(168, 85, 247, 0.7), 0 0 40px rgba(168, 85, 247, 0.25);
    --glow-cyan:     0 0 12px rgba(6, 182, 212, 0.7),  0 0 40px rgba(6, 182, 212, 0.25);

    /* Glass surfaces */
    --glass-bg:      rgba(8, 12, 24, 0.7);
    --glass-border:  rgba(255, 255, 255, 0.08);
    --glass-border-glow: rgba(0, 232, 150, 0.2);

    /* Deep space background */
    --space-1: #020306;
    --space-2: #03050b;
    --space-3: #040814;

    /* Animation timing */
    --ease-spring:   cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── 3. BODY & BACKGROUND ─────────────────────────────────────────────── */
body {
    font-family: 'Chakra Petch', 'Plus Jakarta Sans', sans-serif !important;
    background: var(--space-1) !important;
    background-image: none !important;
    position: relative;
    overflow-x: hidden;
    overflow-y: visible !important;
    min-height: 100vh !important;
}

/* Aurora glow background — pure CSS, no images */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%,   rgba(0, 232, 150, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 90% 10%,  rgba(168, 85, 247, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(251, 191, 36, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 80%,  rgba(6, 182, 212, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, var(--space-1) 0%, var(--space-2) 40%, var(--space-3) 100%);
    pointer-events: none;
    animation: aurora-shift 18s ease-in-out infinite alternate;
}



/* Starfield dots */
.starfield {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

@keyframes aurora-shift {
    0%   { filter: hue-rotate(0deg) brightness(1); }
    50%  { filter: hue-rotate(15deg) brightness(1.05); }
    100% { filter: hue-rotate(-10deg) brightness(0.98); }
}

/* Ensure all main content sits above bg layers */
header {
    position: sticky !important;
    top: 0 !important;
    z-index: 250 !important;
}
main, footer {
    position: relative;
    z-index: 1;
}
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9998 !important;
    /* Prevent the overlay from creating black box artifacts on mobile */
    isolation: isolate !important;
}

/* ── 4. HEADER — GLASSMORPHISM ──────────────────────────────────────── */
header {
    position: sticky !important;
    top: 0 !important;
    z-index: 250 !important;
    background: rgba(4, 8, 18, 0.82) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(0, 232, 150, 0.15) !important;
    box-shadow:
        0 1px 0 rgba(0, 232, 150, 0.1),
        0 8px 40px rgba(0, 0, 0, 0.6) !important;
    padding: 1rem 2.5rem !important;
}

/* ── 5. LOGO — GLITCH EFFECT ─────────────────────────────────────────── */
.logo h1 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.9rem !important;
    letter-spacing: 4px !important;
    text-transform: uppercase;
    position: relative;
}

/* Logo tagline premium styling */
.logo-tagline {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.8rem !important;
    color: var(--neon-green) !important;
    font-weight: 600 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    margin-top: 3px !important;
    text-shadow: 0 0 12px rgba(0, 232, 150, 0.4) !important;
    white-space: nowrap !important;
    opacity: 0.92 !important;
}

/* Responsive logo — 768px */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 1.25rem !important;
    }
    .logo h1 {
        font-size: 1.3rem !important;
        letter-spacing: 2px !important;
    }
    .premium-logo {
        width: 34px !important;
        height: 34px !important;
    }
    .logo-tagline {
        font-size: 0.68rem !important;
        letter-spacing: 0.8px !important;
    }
}

/* Responsive logo — 480px */
@media (max-width: 480px) {
    header {
        padding: 0.6rem 0.85rem !important;
    }
    .logo h1 {
        font-size: 1.1rem !important;
        letter-spacing: 1.5px !important;
    }
    .premium-logo {
        width: 28px !important;
        height: 28px !important;
    }
    .logo-tagline {
        display: none !important;
    }
    /* Hide Sign In on very small screens, keep Sign Up */
    .btn-signin {
        display: none !important;
    }
    .btn-signup {
        padding: 7px 14px !important;
        font-size: 0.82rem !important;
    }
}

.logo h1:hover {
    animation: glitch-text 0.4s ease forwards;
}

@keyframes glitch-text {
    0%   { transform: translate(0); }
    20%  { transform: translate(-2px, 1px); filter: hue-rotate(90deg); }
    40%  { transform: translate(2px, -1px); filter: hue-rotate(180deg); }
    60%  { transform: translate(-1px, 2px); filter: hue-rotate(270deg); }
    80%  { transform: translate(1px, -2px); filter: hue-rotate(0deg); }
    100% { transform: translate(0); }
}

.gold-text {
    color: var(--neon-gold) !important;
    text-shadow: 0 0 6px rgba(251, 191, 36, 0.45), 0 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.green-text {
    color: var(--neon-green) !important;
    text-shadow: var(--glow-green) !important;
}

/* Live badge upgrade */
.live-badge {
    background: rgba(244, 63, 94, 0.12) !important;
    border: 1px solid rgba(244, 63, 94, 0.4) !important;
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.25), inset 0 0 8px rgba(244, 63, 94, 0.05) !important;
    backdrop-filter: blur(12px) !important;
    border-radius: 50px !important;
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 0.78rem !important;
    letter-spacing: 2px !important;
    animation: pulse-live 2s ease-in-out infinite !important;
}

@keyframes pulse-live {
    0%, 100% { box-shadow: 0 0 12px rgba(244, 63, 94, 0.25); }
    50%       { box-shadow: 0 0 20px rgba(244, 63, 94, 0.5), 0 0 40px rgba(244, 63, 94, 0.15); }
}

/* ── 6. CONTROL PANEL — DARK GLASS ────────────────────────────────── */
.control-panel, .panel {
    background: rgba(6, 10, 22, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-top: 1px solid rgba(0, 232, 150, 0.12) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 20px 60px rgba(0,0,0,0.5) !important;
    border-radius: 20px !important;
}

/* ── 7. BUTTONS — NEON GLOW ─────────────────────────────────────────── */
.btn {
    font-family: 'Chakra Petch', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    border-radius: 10px !important;
    transition: all 0.2s var(--ease-smooth) !important;
    cursor: pointer !important;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 232, 150, 0.2), rgba(0, 232, 150, 0.08)) !important;
    border: 1px solid rgba(0, 232, 150, 0.5) !important;
    color: var(--neon-green) !important;
    box-shadow: 0 0 0 0 rgba(0, 232, 150, 0) !important;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 232, 150, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    border-color: var(--neon-green) !important;
    box-shadow: var(--glow-green), inset 0 0 20px rgba(0, 232, 150, 0.08) !important;
    transform: translateY(-1px) !important;
}

.btn-primary:hover::before { opacity: 1; }

.btn-danger {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(244, 63, 94, 0.08)) !important;
    border: 1px solid rgba(244, 63, 94, 0.4) !important;
    color: #f87171 !important;
    transition: all 0.2s var(--ease-smooth) !important;
}

.btn-danger:hover {
    border-color: var(--neon-rose) !important;
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.5) !important;
    transform: translateY(-1px) !important;
}

/* Update button */
button[onclick*="updateWheel"], button[id*="update"] {
    font-family: 'Chakra Petch', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}

/* ── 8. SPIN BUTTON — DRAMATIC UPGRADE ───────────────────────────────── */
.spin-btn-container {
    width: 120px !important;
    height: 120px !important;
    background: radial-gradient(circle at 35% 30%, #2a1a00, #0a0e17) !important;
    border: 3px solid var(--neon-gold) !important;
    box-shadow:
        0 0 0 6px rgba(251, 191, 36, 0.08),
        0 0 30px rgba(251, 191, 36, 0.4),
        0 0 60px rgba(251, 191, 36, 0.15),
        0 12px 40px rgba(0, 0, 0, 0.9),
        inset 0 0 30px rgba(251, 191, 36, 0.15) !important;
    transition: all 0.2s var(--ease-spring) !important;
}

.spin-btn-container:hover {
    transform: translate(-50%, -50%) scale(1.08) !important;
    box-shadow:
        0 0 0 8px rgba(251, 191, 36, 0.12),
        0 0 40px rgba(251, 191, 36, 0.6),
        0 0 80px rgba(251, 191, 36, 0.2),
        0 16px 50px rgba(0, 0, 0, 0.9),
        inset 0 0 40px rgba(251, 191, 36, 0.2) !important;
}

.spin-btn-container:active {
    transform: translate(-50%, -50%) scale(0.95) !important;
    transition-duration: 0.08s !important;
}

.spin-btn-text {
    font-family: 'Russo One', sans-serif !important;
    font-size: 1.5rem !important;
    letter-spacing: 3px !important;
    color: var(--neon-gold) !important;
    text-shadow: var(--glow-gold) !important;
}

/* ── 9. TABS — NEON UNDERLINE ────────────────────────────────────────── */
.tab-btn {
    font-family: 'Chakra Petch', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    position: relative;
    transition: all 0.2s var(--ease-smooth) !important;
    border-radius: 8px 8px 0 0 !important;
}

.tab-btn.active {
    color: var(--neon-green) !important;
    background: rgba(0, 232, 150, 0.05) !important;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    box-shadow: 0 0 8px var(--neon-green);
    border-radius: 2px;
}

.tab-btn:not(.active):hover {
    color: rgba(255,255,255,0.7) !important;
    background: rgba(255,255,255,0.04) !important;
}

/* ── 10. HISTORY ITEMS — CARD UPGRADE ───────────────────────────────── */
.history-item {
    background: rgba(10, 16, 30, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: 3px solid var(--neon-green) !important;
    border-radius: 10px !important;
    transition: all 0.2s var(--ease-smooth) !important;
    backdrop-filter: blur(8px) !important;
}

.history-item:hover {
    background: rgba(0, 232, 150, 0.04) !important;
    border-color: rgba(0, 232, 150, 0.25) !important;
    border-left-color: var(--neon-green) !important;
    transform: translateX(2px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.history-action {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 0.7rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

/* ── 11. TEXTAREA — GAMING INPUT ─────────────────────────────────────── */
textarea, input[type="text"], input[type="number"] {
    font-family: 'Chakra Petch', monospace !important;
    background: rgba(4, 8, 18, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 12px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    caret-color: var(--neon-green) !important;
}

textarea:focus, input[type="text"]:focus, input[type="number"]:focus {
    border-color: rgba(0, 232, 150, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(0, 232, 150, 0.08), 0 0 20px rgba(0, 232, 150, 0.1) !important;
    outline: none !important;
}

/* ── 12. WINNER MODAL — EPIC REVEAL ─────────────────────────────────── */
.modal-overlay {
    /* Use a solid rgba background as primary — backdrop-filter is a bonus where supported */
    background: rgba(2, 4, 8, 0.88) !important;
    backdrop-filter: blur(12px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(120%) !important;
}
/* Mobile Safari can't reliably handle backdrop-filter on fixed+opacity=0 overlays.
   Remove it when pointer-events are off to avoid black-box flash. */
.modal-overlay:not(.active) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.modal-box, .modal-content {
    background: rgba(6, 10, 22, 0.95) !important;
    border: 1px solid rgba(0, 232, 150, 0.2) !important;
    box-shadow:
        0 0 0 1px rgba(0, 232, 150, 0.08),
        0 0 60px rgba(0, 232, 150, 0.1),
        0 30px 80px rgba(0, 0, 0, 0.8) !important;
    border-radius: 24px !important;
    backdrop-filter: blur(20px) !important;
    animation: modal-enter 0.35s var(--ease-spring) !important;
}

@keyframes modal-enter {
    from { transform: scale(0.88) translateY(20px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

/* Winner name neon glow */
#winner-name, .modal-winner-name {
    font-family: 'Russo One', sans-serif !important;
    color: var(--neon-green) !important;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
    animation: none !important;
    background: none !important;
    -webkit-text-fill-color: var(--neon-green) !important;
    letter-spacing: 2px !important;
}

/* ── 13. FOOTER — GLASSMORPHISM ─────────────────────────────────────── */
footer {
    background: rgba(4, 8, 18, 0.8) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(0, 232, 150, 0.1) !important;
    box-shadow: 0 -1px 0 rgba(0, 232, 150, 0.06), 0 -20px 60px rgba(0, 0, 0, 0.4) !important;
}

.footer-link {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s var(--ease-smooth) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
}

.footer-link:hover {
    background: rgba(0, 232, 150, 0.06) !important;
    color: var(--neon-green) !important;
    transform: translateX(3px) !important;
}

.footer-link svg {
    fill: currentColor !important;
    transition: transform 0.2s !important;
}

.footer-link:hover svg {
    transform: scale(1.15) !important;
}

/* ── 14. FAQ SECTION — PREMIUM ACCORDION ───────────────────────────── */
.faq-item {
    background: rgba(8, 12, 24, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
    backdrop-filter: blur(12px) !important;
}

.faq-item:hover {
    border-color: rgba(0, 232, 150, 0.15) !important;
}

.faq-item.active {
    border-color: rgba(0, 232, 150, 0.3) !important;
    box-shadow: 0 0 20px rgba(0, 232, 150, 0.08), 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

.faq-question {
    font-family: 'Chakra Petch', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.faq-item.active .faq-question {
    color: var(--neon-green) !important;
}

/* ── 15. PRO BADGES & CHIPS ─────────────────────────────────────────── */
.pro-badge {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 0.6rem !important;
    letter-spacing: 1.5px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.3) !important;
}

/* ── 16. DROPDOWN MENU — GLASSMORPHISM UPGRADE ──────────────────────── */
.dropdown-menu, #dropdown-menu {
    background: rgba(4, 8, 18, 0.92) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(0, 232, 150, 0.2) !important;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.5),
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(0, 232, 150, 0.04) !important;
    border-radius: 0 0 20px 20px !important;
}

.menu-item {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
    border-radius: 10px !important;
    transition: all 0.18s var(--ease-smooth) !important;
    margin: 2px 8px !important;
    width: calc(100% - 16px) !important;
}

.menu-item:hover {
    background: rgba(0, 232, 150, 0.07) !important;
    color: var(--neon-green) !important;
    padding-left: 20px !important;
}

.menu-divider {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent) !important;
    height: 1px !important;
    margin: 6px 12px !important;
}

/* ── 17. WHEEL WRAPPER — NEON RING ──────────────────────────────────── */
.wheel-wrapper {
    position: relative;
}

.wheel-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(0, 232, 150, 0.3),
        rgba(6, 182, 212, 0.3),
        rgba(168, 85, 247, 0.3),
        rgba(251, 191, 36, 0.3),
        rgba(0, 232, 150, 0.3)
    );
    z-index: 0;
    animation: wheel-ring-spin 8s linear infinite;
    filter: blur(2px);
    opacity: 0.6;
}

@keyframes wheel-ring-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── 18. SCROLL BAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 232, 150, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 232, 150, 0.5);
}

/* ── 19. SECTION HEADINGS — NEON ACCENT ─────────────────────────────── */
h2, h3, .section-title {
    font-family: 'Russo One', sans-serif !important;
    letter-spacing: 1px !important;
}

/* Pricing header — explicit visibility overrides */
.pricing-header {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
}

.pricing-header h2 {
    color: #ffffff !important;
    text-transform: none !important;
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
}

.pricing-header h2 span {
    color: #fbbf24 !important;
    text-shadow: 0 0 12px rgba(251,191,36,0.7), 0 0 40px rgba(251,191,36,0.25) !important;
}

.pricing-header p {
    color: rgba(255,255,255,0.6) !important;
    font-size: 1rem !important;
}

/* All sections must sit above background pseudo-elements */
section {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-family: 'Chakra Petch', sans-serif !important;
    letter-spacing: 0.5px !important;
}

/* ── 20. TOOLTIP / ALERT MODALS ──────────────────────────────────────── */
#alert-modal .modal-box,
#promo-modal .modal-content,
#legal-modal .modal-content {
    border: 1px solid rgba(0, 232, 150, 0.15) !important;
    box-shadow:
        0 0 0 1px rgba(0, 232, 150, 0.05),
        0 0 60px rgba(0, 0, 0, 0.7),
        0 30px 80px rgba(0, 0, 0, 0.5) !important;
}

/* Legal modal headings */
#legal-body-content h3 {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--neon-green) !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin-top: 28px !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(0, 232, 150, 0.12) !important;
}

#legal-body-content ul {
    padding-left: 20px !important;
}

#legal-body-content li {
    margin-bottom: 6px !important;
    line-height: 1.7 !important;
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 0.92rem !important;
}

/* ── 21. EMOTE BAR ───────────────────────────────────────────────────── */
.emote-bar {
    background: rgba(4, 8, 18, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(12px) !important;
}

.emote-btn {
    transition: transform 0.15s var(--ease-bounce) !important;
}
.emote-btn:hover {
    transform: scale(1.3) !important;
}

/* ── 22. PRICING SECTION — PREMIUM CARDS ────────────────────────────── */
.pricing-card {
    background: rgba(6, 10, 22, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(16px) !important;
    transition: all 0.3s var(--ease-spring) !important;
    position: relative;
    overflow: hidden;
}

/* Premium card must allow badge to overflow the top edge */
.pricing-card.premium {
    overflow: visible !important;
}

/* Re-clip the inner gradient so it respects border-radius */
.pricing-card.premium::before {
    border-radius: 20px;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 232, 150, 0.03), transparent 50%, rgba(168, 85, 247, 0.03));
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(0, 232, 150, 0.25) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 232, 150, 0.06) !important;
}

.pricing-card.featured {
    border-color: rgba(251, 191, 36, 0.35) !important;
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.08) !important;
}

/* Badge floats above the card — fully readable */
.pricing-badge {
    top: -14px !important;
    right: 16px !important;
    transform: none !important;
    border-radius: 100px !important;
    padding: 6px 16px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #fbbf24, #d97706) !important;
    color: #000 !important;
    box-shadow: 0 0 16px rgba(251,191,36,0.65), 0 2px 10px rgba(0,0,0,0.6) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    z-index: 3 !important;
}

/* ── 23. HAMBURGER BUTTON ────────────────────────────────────────────── */
.hamburger-btn {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    transition: all 0.2s !important;
}

.hamburger-btn:hover {
    border-color: rgba(0, 232, 150, 0.3) !important;
    background: rgba(0, 232, 150, 0.06) !important;
    box-shadow: 0 0 12px rgba(0, 232, 150, 0.15) !important;
}

/* ── 24. STATS BARS ──────────────────────────────────────────────────── */
.stat-bar-fill {
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan)) !important;
    box-shadow: 0 0 8px rgba(0, 232, 150, 0.4) !important;
    border-radius: 4px !important;
}

/* ── 25. CHARGE RING ─────────────────────────────────────────────────── */
#charge-ring-path {
    filter: drop-shadow(0 0 6px var(--neon-green)) !important;
}

/* ── 26. CURRENT SEGMENT DISPLAY ─────────────────────────────────────── */
.current-segment-display {
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: 2px !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65), 0 0 10px rgba(251, 191, 36, 0.4) !important;
    background: rgba(4, 8, 18, 0.85) !important;
    border-radius: 50px !important;
    padding: 8px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px) !important;
    height: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
}

/* ── 27. AD CONTAINER HIDE STYLING ──────────────────────────────────── */
.ad-container {
    background: rgba(255,255,255,0.02) !important;
    border: 1px dashed rgba(255,255,255,0.05) !important;
    border-radius: 12px !important;
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.2) !important;
}

/* ── 28. GLOBAL LINK STYLES ──────────────────────────────────────────── */
a {
    transition: all 0.2s var(--ease-smooth) !important;
}

a:hover {
    text-shadow: 0 0 8px currentColor !important;
}

/* ── 29. FEATURE CARDS / BENEFIT ITEMS ──────────────────────────────── */
.feature-card, .benefit-item, .feature-item {
    background: rgba(8, 12, 24, 0.7) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(12px) !important;
    transition: all 0.3s var(--ease-spring) !important;
    overflow: hidden;
    position: relative;
}

.feature-card::before, .feature-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover, .feature-item:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(0, 232, 150, 0.2) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(0, 232, 150, 0.05) !important;
}

.feature-card:hover::before, .feature-item:hover::before {
    opacity: 1;
}

/* ── 30. REDUCED MOTION SUPPORT ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    body::before,
    .wheel-wrapper::before,
    .live-badge,
    .add-entries-hint,
    .logo h1 {
        animation: none !important;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ── 30b. MAIN CARDS UNIFICATION ────────────────────────────────────── */
.wheel-container, .controls-container {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

/* ── 31. RESPONSIVE MOBILE ───────────────────────────────────────────── */
@media (max-width: 768px) {
    header {
        padding: 0.8rem 1rem !important;
    }

    .logo h1 {
        font-size: 1.4rem !important;
        letter-spacing: 2px !important;
    }

    .spin-btn-container {
        width: 100px !important;
        height: 100px !important;
    }

    .spin-btn-text {
        font-size: 1.25rem !important;
        letter-spacing: 2px !important;
    }
}

/* ── 31b. LIVE ROOM DELETE BUTTON ────────────────────────────────────── */
.lrb-delete-btn {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    color: #f87171 !important;
    border-radius: 8px !important;
    padding: 5px 12px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: all 0.2s !important;
    font-family: 'Outfit', sans-serif !important;
}
.lrb-delete-btn:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.15) !important;
}
.lrb-delete-btn svg {
    width: 14px !important;
    height: 14px !important;
}

/* ── 31c. MOBILE APP SECTION & MINI GRID ────────────────────────────── */
#mobile-apps {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 45px 30px !important;
    gap: 32px !important;
}

#mobile-apps h2 {
    justify-content: center !important;
    margin-bottom: 12px !important;
}

#mobile-apps h2 svg {
    fill: var(--neon-gold) !important;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.5)) !important;
}

#mobile-apps p.mobile-desc {
    max-width: 600px !important;
    margin: 0 auto !important;
    font-size: 1.1rem !important;
    line-height: 1.65 !important;
    color: #cbd5e1 !important;
}

.download-buttons-container {
    display: flex !important;
    gap: 16px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.mini-features-grid {
    display: flex !important;
    gap: 16px !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 700px !important;
    flex-wrap: wrap !important;
    margin-top: 10px !important;
}

.mini-feature-chip {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 16px !important;
    padding: 20px 16px !important;
    flex: 1 !important;
    min-width: 180px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.mini-feature-chip::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 60%) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important;
}

.mini-feature-chip:hover {
    transform: translateY(-5px) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(0, 232, 150, 0.25) !important;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 232, 150, 0.08) !important;
}

/* Specific theme color overlay on hover for third chip */
.mini-feature-chip:nth-child(3):hover {
    border-color: rgba(251, 191, 36, 0.25) !important;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(251, 191, 36, 0.08) !important;
}

.mini-feature-chip:hover::before {
    opacity: 1 !important;
}

.mini-feature-chip .chip-icon {
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.mini-feature-chip .chip-icon svg {
    width: 28px !important;
    height: 28px !important;
    stroke: currentColor !important;
}

.mini-feature-chip:hover .chip-icon {
    transform: scale(1.18) translateY(-2px) !important;
}

.mini-feature-chip .chip-icon.icon-green {
    color: var(--neon-green) !important;
    filter: drop-shadow(0 0 6px rgba(0, 232, 150, 0.4)) !important;
}

.mini-feature-chip .chip-icon.icon-gold {
    color: var(--neon-gold) !important;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4)) !important;
}

.mini-feature-chip:hover .chip-icon.icon-green {
    filter: drop-shadow(0 0 12px rgba(0, 232, 150, 0.75)) !important;
}

.mini-feature-chip:hover .chip-icon.icon-gold {
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.75)) !important;
}

.mini-feature-chip h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: 0.5px !important;
}

.mini-feature-chip p {
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1.45 !important;
}

/* ── 31d. PREMIUM FEATURES CARD ──────────────────────────────────────── */
.features-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 15px !important;
    width: 100% !important;
}

.feature-item-row {
    display: flex !important;
    gap: 16px !important;
    align-items: flex-start !important;
    padding: 16px !important;
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 16px !important;
    transition: all 0.3s var(--ease-smooth) !important;
}

.feature-item-row:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(0, 232, 150, 0.15) !important;
    transform: translateX(4px) !important;
}

.feature-item-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}

.feature-item-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
}

.feature-item-row:hover .feature-item-icon {
    transform: scale(1.1) !important;
}

.feature-item-icon.green-glow {
    color: var(--neon-green) !important;
    filter: drop-shadow(0 0 6px rgba(0, 232, 150, 0.25)) !important;
}
.feature-item-row:hover .feature-item-icon.green-glow {
    filter: drop-shadow(0 0 10px rgba(0, 232, 150, 0.5)) !important;
}

.feature-item-icon.violet-glow {
    color: var(--neon-violet) !important;
    filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.25)) !important;
}
.feature-item-row:hover .feature-item-icon.violet-glow {
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5)) !important;
}

.feature-item-icon.cyan-glow {
    color: var(--neon-cyan) !important;
    filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.25)) !important;
}
.feature-item-row:hover .feature-item-icon.cyan-glow {
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5)) !important;
}

.feature-item-body h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 4px 0 !important;
    letter-spacing: 0.5px !important;
}

.feature-item-body p {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1.45 !important;
}

/* ── 31e. WHY USE THE SPINNER CARD (2x2 Grid) ────────────────────────── */
.use-cases-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-top: 15px !important;
    width: 100% !important;
}

@media (max-width: 640px) {
    .use-cases-grid {
        grid-template-columns: 1fr !important;
    }
}

.use-case-item {
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    transition: all 0.3s var(--ease-smooth) !important;
    text-align: left !important;
}

.use-case-item:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(251, 191, 36, 0.15) !important;
    transform: translateY(-3px) !important;
}

.use-case-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

.use-case-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.use-case-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
}

.use-case-item:hover .use-case-icon {
    transform: scale(1.1) rotate(3deg) !important;
}

.use-case-icon.icon-gold {
    color: var(--neon-gold) !important;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.25)) !important;
}
.use-case-item:hover .use-case-icon.icon-gold {
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5)) !important;
}

.use-case-icon.icon-violet {
    color: var(--neon-violet) !important;
    filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.25)) !important;
}
.use-case-item:hover .use-case-icon.icon-violet {
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5)) !important;
}

.use-case-icon.icon-green {
    color: var(--neon-green) !important;
    filter: drop-shadow(0 0 6px rgba(0, 232, 150, 0.25)) !important;
}
.use-case-item:hover .use-case-icon.icon-green {
    filter: drop-shadow(0 0 10px rgba(0, 232, 150, 0.5)) !important;
}

.use-case-icon.icon-cyan {
    color: var(--neon-cyan) !important;
    filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.25)) !important;
}
.use-case-item:hover .use-case-icon.icon-cyan {
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5)) !important;
}

.use-case-header h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
}

.use-case-item p {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* ── 31f. TRUE RANDOMNESS CARD ───────────────────────────────────────── */
.info-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin-top: 15px !important;
    width: 100% !important;
}

.info-question-card {
    background: rgba(255, 255, 255, 0.01) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: 16px !important;
    padding: 18px !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: left !important;
}

.info-question-card::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 60px !important;
    height: 60px !important;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%) !important;
    pointer-events: none !important;
}

.question-badge {
    display: inline-block !important;
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    color: var(--neon-cyan) !important;
    background: rgba(6, 182, 212, 0.1) !important;
    border: 1px solid rgba(6, 182, 212, 0.2) !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
}

.info-question-card h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 8px 0 !important;
}

.info-question-card p {
    font-size: 0.82rem !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.info-alert-box {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    background: rgba(6, 182, 212, 0.03) !important;
    border: 1px solid rgba(6, 182, 212, 0.12) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    text-align: left !important;
}

.info-alert-box .alert-icon {
    font-size: 1.2rem !important;
    line-height: 1 !important;
    filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.3)) !important;
}

.info-alert-box .alert-text {
    font-size: 0.8rem !important;
    color: #94a3b8 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.info-alert-box .alert-text strong {
    color: var(--neon-cyan) !important;
}

/* ── 31g. LIVE GLOBAL ACTIVITY DASHBOARD ─────────────────────────────── */
.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin-top: 20px !important;
    width: 100% !important;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

.stat-box-container {
    background: rgba(8, 12, 24, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px !important;
    padding: 24px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 160px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    text-align: left !important;
}

.stat-box-container::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 4px !important;
    height: 100% !important;
    border-radius: 4px 0 0 4px !important;
    transition: all 0.3s ease !important;
}

.stat-box-container.spins-box::after {
    background: linear-gradient(180deg, var(--neon-green), transparent) !important;
}
.stat-box-container.hours-box::after {
    background: linear-gradient(180deg, var(--neon-gold), transparent) !important;
}
.stat-box-container.country-box::after {
    background: linear-gradient(180deg, var(--neon-cyan), transparent) !important;
}

.stat-box-container:hover {
    transform: translateY(-4px) !important;
    background: rgba(8, 12, 24, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.stat-box-container.spins-box:hover {
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 232, 150, 0.05) !important;
}

.stat-box-container.hours-box:hover {
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(251, 191, 36, 0.05) !important;
}

.stat-box-container.country-box:hover {
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(6, 182, 212, 0.05) !important;
}

/* Header Info */
.stat-box-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}

.stat-box-header .stat-label {
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}

/* Status Dot Pulse */
.stat-status-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    position: relative !important;
}

.stat-status-dot::after {
    content: '' !important;
    position: absolute !important;
    inset: -4px !important;
    border-radius: 50% !important;
    animation: stat-dot-pulse 2s infinite !important;
}

.stat-status-dot.pulse-green { background-color: var(--neon-green) !important; }
.stat-status-dot.pulse-green::after { border: 1.5px solid var(--neon-green) !important; }

.stat-status-dot.pulse-gold { background-color: var(--neon-gold) !important; }
.stat-status-dot.pulse-gold::after { border: 1.5px solid var(--neon-gold) !important; }

.stat-status-dot.pulse-cyan { background-color: var(--neon-cyan) !important; }
.stat-status-dot.pulse-cyan::after { border: 1.5px solid var(--neon-cyan) !important; }

@keyframes stat-dot-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Value Display */
.stat-value-display {
    display: flex !important;
    align-items: center !important;
    margin: 10px 0 !important;
}

.stat-box-container .stat-value {
    font-family: 'Russo One', sans-serif !important;
    font-size: 2.6rem !important;
    line-height: 1.1 !important;
    color: #fff !important;
    text-shadow: none !important;
    letter-spacing: -0.5px !important;
    transition: all 0.3s ease !important;
}

.stat-box-container.spins-box .stat-value {
    color: var(--neon-green) !important;
    text-shadow: 0 0 15px rgba(0, 232, 150, 0.2) !important;
}

.stat-box-container.hours-box .stat-value {
    color: var(--neon-gold) !important;
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.2) !important;
}

.stat-box-container.country-box .stat-value {
    font-size: 1.45rem !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: 0px !important;
    font-weight: 700 !important;
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.2) !important;
}

/* Bottom Trend Badge */
.stat-trend-indicator {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    width: fit-content !important;
    margin-top: auto !important;
}

.stat-trend-indicator.trend-green {
    background: rgba(0, 232, 150, 0.08) !important;
    border: 1px solid rgba(0, 232, 150, 0.15) !important;
    color: var(--neon-green) !important;
}

.stat-trend-indicator.trend-gold {
    background: rgba(251, 191, 36, 0.08) !important;
    border: 1px solid rgba(251, 191, 36, 0.15) !important;
    color: var(--neon-gold) !important;
}

.stat-trend-indicator.trend-cyan {
    background: rgba(6, 182, 212, 0.08) !important;
    border: 1px solid rgba(6, 182, 212, 0.15) !important;
    color: var(--neon-cyan) !important;
}

.stat-trend-indicator .trend-icon {
    font-size: 0.65rem !important;
}

.stat-trend-indicator.trend-cyan .trend-icon {
    display: inline-block !important;
    animation: ping-dot-blink 1.5s infinite alternate !important;
}

@keyframes ping-dot-blink {
    0% { opacity: 0.4; }
    100% { opacity: 1; filter: drop-shadow(0 0 4px currentColor); }
}

/* ── 32. SELECTION COLOR ─────────────────────────────────────────────── */
::selection {
    background: rgba(0, 232, 150, 0.25);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════
   MOBILE PERFORMANCE OVERRIDES
   aurora-shift uses filter:hue-rotate which forces full-page recomposite
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Stop aurora animation — filter:hue-rotate creates a compositing layer
       that must be re-merged with the page on every frame during wheel spin */
    body::before {
        animation: none !important;
        filter: none !important;
    }

    /* Disable header backdrop-filter override — already handled in style.css
       but we need !important here to override the premium header rule above */
    header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(4, 8, 18, 0.96) !important;
    }

    /* Disable expensive card backdrop blurs on mobile to stop shaking and frame drops */
    .wheel-container, .controls-container {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(15, 23, 42, 0.92) !important;
        transform: none !important;
        will-change: auto !important;
    }

    /* Remove backdrop-filter from hamburger menu drawer to solve blurry text bug */
    .dropdown-menu, #dropdown-menu {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(8, 12, 24, 0.98) !important;
        border-radius: 0 !important; /* Keep it a straight edge drawer on mobile */
    }

    /* Remove backdrop-filter on current segment display to avoid layout jitter */
    .current-segment-display {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(4, 8, 18, 0.95) !important;
        height: 52px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
    }
}

/* ── SPIN FREEZE — pause aurora during wheel animation ── */
body.spinning::before {
    animation-play-state: paused !important;
}

/* ── 19. PREMIUM EMOJI & SYMBOL PICKER POPUNDER ──────────────────────── */
.textarea-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.textarea-wrapper textarea {
    padding-right: 52px !important; /* Ensure text doesn't flow under the trigger button */
    min-height: 500px !important;
    flex: 1;
    height: 100%;
    resize: vertical;
}

.emoji-picker-trigger {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0;
    outline: none;
}

.emoji-picker-trigger:hover {
    background: rgba(0, 232, 150, 0.15);
    border-color: rgba(0, 232, 150, 0.4);
    color: var(--neon-green);
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(0, 232, 150, 0.25);
}

.emoji-picker-trigger:active {
    transform: scale(0.95);
}

.emoji-picker-trigger svg {
    transition: transform 0.25s ease;
}

.emoji-picker-trigger:hover svg {
    transform: rotate(15deg);
}

.emoji-picker-dropdown {
    position: absolute;
    top: 60px;
    right: 14px;
    z-index: 100;
    width: 290px;
    max-height: 400px;
    background: rgba(10, 15, 30, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 1px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top right;
    overflow: hidden;
}

.emoji-picker-dropdown.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.emoji-picker-dropdown-header {
    padding: 14px 16px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--neon-green);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.01);
}

.emoji-picker-groups-wrapper {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Custom Scrollbar for Emoji Picker */
.emoji-picker-groups-wrapper::-webkit-scrollbar {
    width: 6px;
}
.emoji-picker-groups-wrapper::-webkit-scrollbar-track {
    background: transparent;
}
.emoji-picker-groups-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}
.emoji-picker-groups-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.emoji-picker-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.emoji-picker-group-title {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 4px;
}

.emoji-picker-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.emoji-picker-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    font-size: 1.3rem !important;
    padding: 8px 0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #fff !important;
    width: 100% !important;
    aspect-ratio: 1 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    outline: none !important;
}

.emoji-picker-btn:hover {
    background: rgba(0, 232, 150, 0.15) !important;
    border-color: rgba(0, 232, 150, 0.4) !important;
    transform: scale(1.18) translateY(-2px) !important;
    box-shadow: 0 5px 12px rgba(0, 232, 150, 0.25) !important;
}

.emoji-picker-btn:active {
    transform: scale(0.92) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .textarea-wrapper textarea {
        min-height: 250px !important;
    }
    
    .emoji-picker-dropdown {
        width: calc(100% - 28px);
        right: 14px;
        top: 60px;
    }
}
