:root {
    /* ═══ SOVIA REFERENCE DARK GLASS DESIGN SYSTEM ═══ */
    --surface: #060913;
    --surface-lowest: #04060C;
    --surface-low: #0C1222;
    --surface-high: #151F38;
    
    --primary: #0083B0;
    --primary-container: #00B4DB;
    
    --on-surface: #FFFFFF;
    --on-surface-variant: #94A3B8;
    
    --ai-purple: #7C3AED;
    --cyan: #00F0FF;
    --cyan-glow: #38BDF8;
    --success: #10B981;
    --error: #EF4444;
    --gold: #FFD700;

    --card-bg: rgba(14, 20, 36, 0.65);
    --card-border: rgba(255, 255, 255, 0.12);
    --nav-bg: rgba(13, 18, 32, 0.8);
    --shadow: rgba(0, 0, 0, 0.4);

    /* ═══ PREMIUM GLASSMORPHISM TOKENS ═══ */
    --glass-bg: rgba(14, 20, 36, 0.65);
    --glass-bg-strong: rgba(16, 23, 40, 0.72);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-blur: 20px;
    --card-elevated: rgba(16, 24, 44, 0.78);

    /* Glow colors */
    --glow-cyan: rgba(56, 189, 248, 0.4);
    --glow-primary: rgba(0, 180, 255, 0.45);
    --glow-purple: rgba(168, 85, 247, 0.35);
    --glow-gold: rgba(255, 215, 0, 0.3);
    --glow-green: rgba(16, 185, 129, 0.3);

    /* Spring animation curves (Flutter-grade native feel) */
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --spring-soft: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    /* Consistent radius scale */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
}

/* Light Theme Removed to force Dark Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

input, textarea {
    user-select: auto;
}

html {
    background-color: #060913 !important;
    height: 100%;
    height: 100dvh;
    overflow: hidden;
}

body {
    background-color: #060913 !important;
    color: var(--on-surface);
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

/* ═══ 3D ABSTRACT TRANSLUCENT GLASS BACKGROUND (REFERENCE WALLPAPER) ═══ */
.sovia-bg-art {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 100%;
    height: 100dvh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: #060913 url('assets/bg-3d-mesh.png') no-repeat center center;
    background-size: cover;
    will-change: transform;
    animation: bgGentleBreathe 20s ease-in-out infinite alternate;
}

@keyframes bgGentleBreathe {
    0% {
        transform: translateX(-50%) scale(1);
    }
    100% {
        transform: translateX(-50%) scale(1.035);
    }
}

.app-container {
    padding: max(calc(var(--tg-content-safe-area-inset-top, 0px) + 20px), 65px) 20px 96px 20px; 
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    background-color: transparent !important;
    position: relative;
    z-index: 1;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- QUIZ DASHBOARD (MAIN VIEW) STYLES --- */
.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-area .icon {
    font-size: 24px;
    color: #FFD700;
}

.logo-area .title {
    font-size: 18px;
    font-weight: 800;
}

.user-profile {
    display: flex;
    align-items: center;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-container) 0%, var(--ai-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-weight: 700;
    font-size: 14px;
}

.progress-card {
    background: linear-gradient(135deg, #0062FF 0%, #6366F1 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 98, 255, 0.3);
    color: #FFF;
}

.progress-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-card-header .label {
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
}

.progress-card-header .goal {
    font-size: 12px;
    font-weight: 800;
    color: #FFD700;
}

.balance {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 12px;
}

.progress-container-small {
    height: 10px;
    background-color: rgba(0, 0, 0, 0.26);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
}

.progress-bar-small {
    height: 100%;
    background-color: #FFD700;
}

.claim-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.claim-btn.locked {
    background-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.54);
    cursor: not-allowed;
}

/* --- UPLOAD AI PAPER CARD --- */
.upload-card {
    background: linear-gradient(135deg, var(--surface-low) 0%, var(--surface-high) 100%);
    border: 1px solid var(--primary-container);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
    transition: transform 0.2s;
}

.upload-card:hover {
    transform: translateY(-2px);
}

.upload-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(96, 1, 209, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.upload-text {
    flex: 1;
}

.upload-text h3 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
    background: linear-gradient(90deg, var(--primary-container), var(--ai-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.upload-text p {
    font-size: 11px;
    color: var(--on-surface-variant);
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.upload-action .small-btn {
    background-color: var(--primary-container);
    color: #FFF;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.section-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--on-surface);
    margin-bottom: -12px;
    margin-top: 8px;
}

.niche-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.niche-scroll::-webkit-scrollbar { 
    display: none;
}

.chip {
    padding: 8px 16px;
    background-color: var(--surface-lowest);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--on-surface);
}

.chip.active {
    background-color: var(--primary-container);
    color: #fff;
    border-color: var(--primary-container);
}

.quiz-packs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pack-card {
    background-color: var(--surface-lowest);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px var(--shadow);
}

.pack-card:hover {
    background-color: var(--surface-low);
    border-color: var(--primary-container);
}

.pack-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 98, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-container);
    font-size: 16px;
}

.pack-info {
    flex: 1;
}

.pack-info h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--on-surface);
}

.pack-info p {
    font-size: 11px;
    color: var(--on-surface-variant);
    font-family: 'Inter', sans-serif;
}

.pack-arrow {
    font-size: 24px;
    color: var(--on-surface-variant);
}

/* --- BOTTOM NAV BAR --- */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 68px;
    background-color: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--on-surface-variant);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
    flex: 1;
}

.nav-item.active {
    color: #2563EB;
}

.nav-item .icon {
    font-size: 22px;
}

.nav-item .label {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

/* --- MOCKUP SPECIFIC CSS (CLAIM, STORE, REFER) --- */

.styled-input {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background-color: var(--surface-low);
    color: var(--on-surface);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.styled-input:focus {
    border-color: var(--primary-container);
}

.network-chip {
    padding: 16px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    color: var(--on-surface);
    background-color: var(--surface-low);
    cursor: pointer;
    transition: 0.2s;
}
.network-chip.active {
    background-color: #FFD700;
    color: #000;
    border-color: #FFD700;
}

.store-item-card {
    background-color: var(--surface-lowest);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.store-network {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    color: #FFF;
}
.store-network.mtn { background-color: #FFCC00; color: #000; }
.store-network.airtel { background-color: #FF0000; }
.store-network.glo { background-color: #009900; }

.store-details { flex: 1; }
.buy-btn {
    background-color: var(--surface-low);
    color: var(--primary-container);
    border: 1px solid var(--primary-container);
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 800;
    cursor: pointer;
}

/* --- PROFILE UI --- */
.profile-card {
    background-color: var(--surface-lowest);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px var(--shadow);
}

.profile-card .avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-container) 0%, var(--ai-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-weight: 800;
    font-size: 32px;
}

.profile-name {
    font-size: 20px;
    font-weight: 800;
}

.profile-stats {
    display: flex;
    gap: 24px;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--card-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: 11px;
    color: var(--on-surface-variant);
    font-family: 'Inter', sans-serif;
}

/* --- QUIZ UI STYLES --- */
.quiz-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    height: 100dvh;
    max-width: 500px;
    width: 100%;
    left: 50% !important;
    transform: translateX(-50%);
    background-color: var(--surface);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: 300;
}

.quiz-app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: var(--surface-lowest);
    border-bottom: 1px solid var(--card-border);
}

.quiz-title {
    font-size: 16px;
    font-weight: 700;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--on-surface);
    font-size: 20px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-container {
    height: 4px;
    background-color: var(--card-border);
    width: 100%;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-container);
    transition: width 0.3s ease;
}

.quiz-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.quiz-header-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-badge {
    padding: 6px 12px;
    background-color: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 20px;
    color: var(--primary-container);
    font-size: 12px;
    font-weight: 700;
}

.pass-mark {
    color: var(--on-surface-variant);
    font-size: 12px;
    font-family: 'Inter', sans-serif;
}

.question-card {
    background-color: var(--surface-lowest);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px var(--shadow);
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-card {
    background-color: var(--surface-lowest);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-card:hover {
    background-color: var(--surface-low);
}

.option-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--on-surface);
}

.option-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

/* Option States */
.option-card.correct {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: var(--success);
}
.option-card.correct .option-avatar {
    background-color: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.option-card.wrong {
    background-color: rgba(186, 26, 26, 0.1);
    border-color: var(--error);
}
.option-card.wrong .option-avatar {
    background-color: rgba(186, 26, 26, 0.2);
    color: var(--error);
}

.option-icon {
    font-size: 20px;
}
.hidden {
    display: none;
}

.quiz-footer {
    padding: 16px;
    background-color: var(--surface-lowest);
    border-top: 1px solid var(--card-border);
}

.primary-btn {
    width: 100%;
    height: 52px;
    background-color: var(--primary-container);
    color: #FFF;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.primary-btn:hover:not(:disabled) {
    background-color: var(--primary);
}

.primary-btn:disabled {
    background-color: var(--card-border);
    color: var(--on-surface-variant);
    cursor: not-allowed;
}

/* --- SPIN WHEEL UI --- */
.spin-wheel-section {
    background-color: var(--surface-lowest);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 24px 16px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px var(--shadow);
}

.wheel-container {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.wheel-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wheel-base {
    z-index: 1;
    width: 86%;
    height: 86%;
    left: 7%;
    top: 7%;
    transition: transform 3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wheel-ring {
    z-index: 2;
    pointer-events: none;
}

.wheel-center {
    z-index: 3;
    width: 30%;
    height: 30%;
    cursor: pointer;
    transition: transform 0.2s;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.wheel-center:hover {
    transform: scale(1.1);
}

/* --- ARENA UI (faithful to Flutter app) --- */
.arena-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px 8px;
}
.streak-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FF6B00, #EA580C);
    border: 1px solid rgba(255, 107, 0, 0.4);
    color: #FFF;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
    height: 36px;
    box-sizing: border-box;
    transition: transform 0.15s;
}
.streak-badge:active { transform: scale(0.92); }

.arena-balance-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    height: 36px;
    box-sizing: border-box;
    transition: transform 0.15s;
}
.arena-balance-chip:active { transform: scale(0.92); }
.arena-balance-chip.gems {
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.arena-balance-chip.data {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Tournament Banner */
.arena-tournament-card {
    margin: 6px 16px 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
    border: 1px solid rgba(129, 140, 248, 0.3);
    box-shadow: 0 4px 15px rgba(49, 46, 129, 0.3);
    cursor: pointer;
    transition: transform 0.15s;
}
.arena-tournament-card:active { transform: scale(0.98); }
.tournament-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tournament-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 900;
    color: #FFD700;
    letter-spacing: 0.5px;
}
.tournament-timer {
    font-size: 10px;
    font-weight: 800;
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.15);
    padding: 2px 8px;
    border-radius: 8px;
}
.tournament-join-btn {
    padding: 6px 14px;
    border-radius: 10px;
    background: #FFD700;
    color: #000;
    font-size: 11px;
    font-weight: 900;
    border: none;
    cursor: pointer;
}

/* Category Chips — End-to-End Full-Bleed Scrolling */
.arena-chips-row,
#arcade-categories-list {
    display: flex !important;
    gap: 8px !important;
    padding: 2px 20px 8px 20px !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.arena-chips-row::-webkit-scrollbar,
#arcade-categories-list::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.arena-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    background: var(--surface-low);
    color: var(--on-surface-variant);
    border: 1px solid var(--card-border);
    cursor: pointer;
    transition: all 0.2s;
}
.arena-chip.active {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Weekly Legends Row */
.arena-legends-row {
    display: flex !important;
    gap: 16px !important;
    padding: 8px 20px 14px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
}
.arena-legends-row::-webkit-scrollbar { display: none; }
.legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 64px;
    flex-shrink: 0 !important;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.legend-item:active { transform: scale(0.92); }
.legend-avatar {
    position: relative !important;
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    min-height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
    aspect-ratio: 1 / 1 !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    border: 2.5px solid;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.85) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    overflow: visible !important;
}
.legend-avatar img {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
}
.legend-badge {
    position: absolute !important;
    top: -3px !important;
    right: -3px !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    font-size: 9.5px !important;
    font-weight: 900 !important;
    color: #FFF !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    z-index: 3 !important;
    line-height: 1 !important;
}
.legend-name {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    color: #F1F5F9 !important;
    white-space: nowrap !important;
    margin-top: 2px !important;
    letter-spacing: 0.2px !important;
}

/* Radar Map Centerpiece */
.arena-map {
    position: relative !important;
    width: 100% !important;
    height: 385px !important;
    min-height: 385px !important;
    flex-shrink: 0 !important;
    margin: 8px auto !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
    border-radius: 24px !important;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.2) 70%, transparent 100%) !important;
    border: 1px solid rgba(99, 102, 241, 0.12) !important;
}
.map-grid-cross {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.map-grid-cross::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(99, 102, 241, 0.1);
}
.map-grid-cross::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(99, 102, 241, 0.1);
}
.map-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(99, 102, 241, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.map-ring.ring-outer {
    width: 90%;
    height: 88%;
    border-color: rgba(56, 189, 248, 0.26);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.08);
}
.map-ring.ring-mid {
    width: 62%;
    height: 60%;
    border-color: rgba(99, 102, 241, 0.32);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}
.map-ring.ring-inner {
    width: 34%;
    height: 34%;
    border-color: rgba(99, 102, 241, 0.42);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.15);
}

.radar-laser-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

.map-sweep-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45%;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.95), transparent);
    transform-origin: 0 0;
    animation: radar-sweep-spin 3.5s linear infinite;
    pointer-events: none;
    z-index: 2;
}
@keyframes radar-sweep-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Center "YOU" Node */
.map-you {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    cursor: pointer;
}
.map-you-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 3px solid #6366F1;
    background: rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 32px rgba(99, 102, 241, 0.65), inset 0 0 16px rgba(99, 102, 241, 0.45);
    animation: pulse-glow 2.5s infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 25px rgba(99, 102, 241, 0.55), inset 0 0 12px rgba(99, 102, 241, 0.35); }
    50% { box-shadow: 0 0 42px rgba(99, 102, 241, 0.9), inset 0 0 20px rgba(99, 102, 241, 0.55); }
}
.map-you-label {
    font-size: 12px;
    font-weight: 900;
    color: #FFF;
    margin-top: 4px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.map-you-sub {
    font-size: 9.5px;
    font-weight: 800;
    color: #818CF8;
    letter-spacing: 0.3px;
}

/* Floating Orbiting Player & Clan Nodes */
.map-player {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid;
    background: var(--surface-low);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    cursor: pointer;
    transition: transform 0.15s ease-out;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    will-change: transform, left, top;
}
.map-player:active { transform: scale(1.15) !important; }
.map-player-initial {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    color: #FFF;
}
.map-player-tag {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 7px;
    border-radius: 7px;
    font-size: 8px;
    font-weight: 900;
    color: #FFF;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Brain Fuel Card */
.arena-fuel-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(56,189,248,0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 16px;
    cursor: pointer;
    flex-shrink: 0 !important;
    transition: transform 0.15s;
}
.arena-fuel-card:active { transform: scale(0.98); }

/* Solo / Duel / Friends Buttons */
.arena-action-btns {
    display: flex;
    gap: 8px;
    padding: 0 0 16px;
    flex-shrink: 0 !important;
}
.arena-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 52px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 900;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    color: #FFF;
}
.arena-btn:active { transform: scale(0.95); opacity: 0.85; }
.arena-btn.solo {
    background: #6366F1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}
.arena-btn.duel {
    background: #F59E0B;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
.arena-btn.friends {
    background: #10B981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* ==================== ARENA MODAL SYSTEM ==================== */
.arena-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 500;
    align-items: flex-end;
    justify-content: center;
}
.arena-sheet-card {
    width: 100%;
    max-width: 500px;
    background: var(--surface);
    border-top: 1px solid var(--card-border);
    border-radius: 28px 28px 0 0;
    padding: 16px 20px 28px;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    animation: slide-up 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-height: 85vh;
    overflow-y: auto;
}
@keyframes slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.sheet-handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--card-border);
    margin: 0 auto 12px;
}
.sheet-avatar-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #6366F1;
    padding: 2px;
}
.sheet-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.sheet-badge-tag {
    position: absolute;
    bottom: -4px;
    right: -4px;
    padding: 1px 5px;
    border-radius: 6px;
    font-size: 8px;
    font-weight: 900;
    color: #FFF;
    background: #6366F1;
}
.combat-clan-pill {
    font-size: 10px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.2);
    color: #818CF8;
}

.combat-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}
.combat-stat-box {
    background: var(--surface-low);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
}
.stat-lbl {
    font-size: 9px;
    font-weight: 800;
    color: var(--on-surface-variant);
}
.stat-val {
    font-size: 15px;
    font-weight: 900;
    margin-top: 2px;
    color: var(--on-surface);
}

.sheet-btn {
    width: 100%;
    height: 46px;
    border-radius: 14px;
    border: none;
    font-size: 13px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    color: #FFF;
}
.duel-launch-btn {
    background: linear-gradient(135deg, #F59E0B, #EF4444);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}
.sheet-secondary-btn {
    width: 100%;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--on-surface-variant);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
}

/* Badges Grid */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.trophy-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 6px;
    border-radius: 12px;
    background: var(--surface-low);
    border: 1px solid var(--card-border);
    text-align: center;
}
.trophy-badge.unlocked span.material-symbols-rounded { color: #FFD700; font-size: 24px; }
.trophy-badge.locked span.material-symbols-rounded { color: var(--on-surface-variant); opacity: 0.4; font-size: 24px; }
.b-name { font-size: 9px; font-weight: 700; color: var(--on-surface-variant); }

/* Streak Ladder */
.streak-ladder {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.streak-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--surface-low);
    border: 1px solid var(--card-border);
    font-size: 12px;
}
.streak-step.reached {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10B981;
}
.streak-step.active-now {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #F59E0B;
}
.s-day { flex: 1; font-weight: 800; }
.s-rwd { font-weight: 900; }

/* Gem Packs */
.gem-pack-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.gem-pack-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--surface-low);
    border: 1px solid var(--card-border);
    cursor: pointer;
    transition: transform 0.15s;
}
.gem-pack-item:active { transform: scale(0.98); }
.gem-pack-item.popular {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.08);
}
.hot-tag {
    font-size: 8px;
    font-weight: 900;
    background: #F59E0B;
    color: #000;
    padding: 1px 5px;
    border-radius: 6px;
}
.gem-buy-btn {
    padding: 6px 14px;
    border-radius: 10px;
    background: var(--primary-container);
    color: #FFF;
    border: none;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

/* 3Dot Menu */
.arena-menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.arena-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 14px;
    background: var(--surface-low);
    cursor: pointer;
    transition: transform 0.15s;
}
.arena-menu-item:active { transform: scale(0.98); }
.m-title { font-size: 13px; font-weight: 800; color: var(--on-surface); }
.m-sub { font-size: 10px; color: var(--on-surface-variant); margin-top: 1px; }

/* Econ Boxes */
.econ-box {
    padding: 12px;
    border-radius: 12px;
    font-size: 11px;
}
.econ-box.winner { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); }
.econ-box.winner .econ-t { color: #10B981; font-weight: 900; }
.econ-box.loser { background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.3); }
.econ-box.loser .econ-t { color: #38BDF8; font-weight: 900; }
.econ-box.house { background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.3); }
.econ-box.house .econ-t { color: #F59E0B; font-weight: 900; }
.econ-d { color: var(--on-surface-variant); margin-top: 2px; }

/* Clan Clash Tiles */
.clan-rank-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.clan-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--surface-low);
    border: 1px solid var(--card-border);
}
.clan-tile.top-1 { border-color: rgba(255, 215, 0, 0.4); background: rgba(255, 215, 0, 0.05); }
.clan-pos { font-size: 16px; font-weight: 900; width: 24px; }
.clan-tile.top-1 .clan-pos { color: #FFD700; }

/* Breathing Circle */
.breathing-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #EC4899;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.4);
    animation: breath-pulse 4s ease-in-out infinite;
}
@keyframes breath-pulse {
    0%, 100% { transform: scale(0.9); box-shadow: 0 0 15px rgba(236, 72, 153, 0.2); }
    50% { transform: scale(1.15); box-shadow: 0 0 40px rgba(236, 72, 153, 0.6); }
}

/* VS Match Screen */
.vs-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
}
.vs-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.vs-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: #FFF;
}
.vs-avatar.me {
    background: #6366F1;
    border: 3px solid #818CF8;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}
.vs-avatar.opponent {
    background: #EF4444;
    border: 3px solid #F87171;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}
.vs-name { font-size: 13px; font-weight: 900; }
.vs-clan { font-size: 10px; color: var(--on-surface-variant); }
.vs-badge {
    font-size: 20px;
    font-weight: 900;
    color: #F59E0B;
    background: rgba(245, 158, 11, 0.15);
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.4);
    animation: pulse 1.2s infinite;
}
.vs-countdown-box {
    margin-top: 10px;
}

/* 1v1 Duel Battle HUD & Options */
.duel-top-hud {
    user-select: none;
}
.option-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--surface-low);
    border: 1.5px solid var(--card-border);
    border-radius: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.15s ease-out;
}
.option-card:active {
    transform: scale(0.98);
}
.option-card.selected {
    border-color: #38BDF8;
    background: rgba(56, 189, 248, 0.12);
}
.option-card.correct {
    border-color: #10B981 !important;
    background: rgba(16, 185, 129, 0.2) !important;
}
.option-card.wrong {
    border-color: #EF4444 !important;
    background: rgba(239, 68, 68, 0.2) !important;
}
.option-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: var(--on-surface);
}
.option-card.correct .option-avatar {
    background: #10B981;
    color: #FFF;
}
.option-card.wrong .option-avatar {
    background: #EF4444;
    color: #FFF;
}
.option-text {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--on-surface);
    flex: 1;
}

/* ==============================================================================
   SOVIA ARENA • 10 MEGA GAMES ARCADE CSS SYSTEM
   - Cyberpunk Neon Glassmorphism Cards
   - Category Filter Pills
   - Interactive HTML5 Canvas Game Frame
   ============================================================================== */

.arcade-hero-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #312E81 100%) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    border-radius: 18px !important;
    padding: 16px 16px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    color: #FFFFFF !important;
    flex-shrink: 0 !important;
    min-height: 84px !important;
    box-sizing: border-box !important;
}

.arcade-hero-card .hero-title {
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #FFFFFF !important;
    margin: 2px 0 2px !important;
}

.arcade-hero-card .hero-sub {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.arcade-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 0 0 40px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.arcade-game-card {
    background: var(--arcade-card-bg, #131B2E) !important;
    border: 1px solid var(--arcade-card-border, rgba(255, 255, 255, 0.12)) !important;
    border-radius: 18px !important;
    padding: 14px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    user-select: none !important;
}

.arcade-game-card:active {
    transform: scale(0.96) !important;
}

/* Card: Full Studio Artwork Card (Edge-to-Edge Poster) */
.arcade-game-card.studio-card {
    padding: 0 !important;
    background: #0B132B !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32) !important;
    border-radius: 18px !important;
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 16 / 10.5 !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    user-select: none !important;
}

.arcade-game-card.studio-card:active {
    transform: scale(0.96) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
}

.arcade-artwork-wrap {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 17px !important;
    background: #0B132B !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
}

.arcade-artwork-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: inherit !important;
    transition: transform 0.35s ease !important;
}

.arcade-game-card:hover .arcade-artwork-img {
    transform: scale(1.05) !important;
}

.arcade-artwork-glow {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(11, 19, 43, 0.72) 0%, rgba(11, 19, 43, 0.05) 35%, transparent 65%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.arcade-card-meta {
    position: relative !important;
    z-index: 4 !important;
    padding: 0 0 8px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    pointer-events: none !important;
}

.arcade-icon-wrap {
    width: 52px !important;
    height: 52px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 26px !important;
    margin-bottom: 8px !important;
    position: relative !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.arcade-game-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: var(--arcade-text-main, #FFFFFF) !important;
    margin-bottom: 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    letter-spacing: 0.2px !important;
}

body.light-theme .arcade-game-title {
    color: #0F172A !important;
}

body.light-theme .arcade-game-card.studio-card .arcade-game-title {
    color: #FFFFFF !important;
}

.arcade-reward-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    background: rgba(16, 185, 129, 0.14) !important;
    color: #10B981 !important;
    border: 1px solid rgba(16, 185, 129, 0.28) !important;
}

.arcade-reward-badge.gold {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #F59E0B !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
}

.arcade-badge-tag {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: linear-gradient(135deg, #10B981, #059669) !important;
    color: #FFFFFF !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35) !important;
}

/* ==================== HTML5 INTERACTIVE GAME CANVAS OVERLAY ==================== */
#modal-arcade-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: #0B1326;
    z-index: 500;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.game-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(19, 27, 46, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.game-canvas-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #060E20;
    overflow: hidden;
}

#arcade-canvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
}

.game-overlay-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(19, 27, 46, 0.96);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 24px 20px;
    width: 88%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(14px);
    z-index: 520;
}

/* ==================== PENALTY CLASH AAA PRO STYLING ==================== */

.penalty-screen-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #0B132B;
    font-family: 'Poppins', sans-serif;
    z-index: 505;
}

/* 1. MAIN MENU SCREEN */
#penalty-screen-menu {
    background: #0B132B url('assets/games/penalty/stadium_night_bg.jpg') center top / cover no-repeat;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 16px 24px;
    z-index: 510;
}

.penalty-menu-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 19, 43, 0.6) 0%, rgba(11, 19, 43, 0.2) 40%, rgba(11, 19, 43, 0.85) 75%, rgba(11, 19, 43, 0.98) 100%);
    pointer-events: none;
}

.penalty-top-nav {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.penalty-user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(19, 27, 46, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 10px 4px 4px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.penalty-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38BDF8, #6366F1);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.penalty-currency-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.penalty-currency-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(19, 27, 46, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.penalty-menu-hero {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 10px;
}

.penalty-title-3d {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 52px;
    line-height: 0.95;
    letter-spacing: 2px;
    font-style: italic;
    margin: 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.penalty-title-pen {
    color: #FFFFFF;
    display: block;
}

.penalty-title-clash {
    color: #00FF7F;
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.6);
    display: block;
}

.penalty-kicker-frame {
    position: relative;
    width: 190px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.penalty-kicker-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.4));
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.penalty-menu-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.penalty-stat-box {
    flex: 1;
    background: rgba(19, 27, 46, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 8px 10px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.penalty-stat-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--on-surface-variant);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.penalty-stat-val {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: #FFD700;
    letter-spacing: 1px;
}

.penalty-menu-ctas {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.penalty-btn-play {
    background: linear-gradient(135deg, #FFD700 0%, #FF9800 100%);
    color: #000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 1.5px;
    height: 52px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.1s ease;
}

.penalty-btn-play:active {
    transform: scale(0.97);
}

.penalty-btn-challenge {
    background: linear-gradient(135deg, #A255FF 0%, #7C3AED 100%);
    color: #FFF;
    font-size: 13px;
    font-weight: 800;
    height: 44px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(162, 85, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* 2. GAMEPLAY SCREEN HUD */
.penalty-gameplay-hud {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 14px 6px;
    background: linear-gradient(to bottom, rgba(11, 19, 43, 0.95) 0%, rgba(11, 19, 43, 0.4) 80%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 515;
    pointer-events: none;
}

.penalty-hud-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
}

.penalty-score-chip {
    background: rgba(19, 27, 46, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 4px 10px;
    text-align: left;
}

.penalty-score-label {
    font-size: 9px;
    font-weight: 800;
    color: var(--on-surface-variant);
}

.penalty-score-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: #FFF;
    line-height: 1;
}

.penalty-combo-badge {
    background: rgba(255, 215, 0, 0.15);
    border: 1.5px solid rgba(255, 215, 0, 0.4);
    border-radius: 14px;
    padding: 4px 14px;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.penalty-combo-label {
    font-size: 9px;
    font-weight: 900;
    color: #FFD700;
    letter-spacing: 0.5px;
}

.penalty-combo-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    color: #FFD700;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.penalty-round-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(19, 27, 46, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 4px 10px;
}

.penalty-round-label {
    font-size: 9px;
    font-weight: 800;
    color: var(--on-surface-variant);
}

.penalty-round-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: #FFF;
    line-height: 1;
}

.penalty-balls-row {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.penalty-ball-dot {
    font-size: 14px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.penalty-ball-dot.active {
    opacity: 1;
    transform: scale(1.25);
    filter: drop-shadow(0 0 6px #00E5FF);
}

.penalty-ball-dot.scored {
    opacity: 1;
    filter: drop-shadow(0 0 6px #00FF7F);
}

.penalty-ball-dot.missed {
    opacity: 0.5;
    color: #FF4D4D;
}

/* BOTTOM CONTROLS DOCK */
.penalty-controls-dock {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px 20px;
    background: linear-gradient(to top, rgba(11, 19, 43, 0.98) 0%, rgba(11, 19, 43, 0.6) 80%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 515;
}

.penalty-styles-group {
    display: flex;
    gap: 6px;
    background: rgba(19, 27, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 4px;
    backdrop-filter: blur(8px);
}

.penalty-style-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--on-surface-variant);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.penalty-style-btn.active {
    background: rgba(0, 229, 255, 0.18);
    border-color: rgba(0, 229, 255, 0.5);
    color: #00E5FF;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}

.penalty-wind-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(19, 27, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 800;
    color: #94A3B8;
    backdrop-filter: blur(8px);
}

/* OVERLAY SHEETS: GOAL & MISS & GAME OVER */
.penalty-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 19, 43, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 530;
}

.penalty-sheet-card {
    background: rgba(26, 34, 56, 0.98);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 24px 20px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
    animation: popSpring 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popSpring {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.penalty-sheet-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    line-height: 1;
    letter-spacing: 2px;
    margin: 0 0 6px;
}

.penalty-sheet-title.goal {
    color: #00FF7F;
    text-shadow: 0 0 25px rgba(0, 255, 127, 0.6);
}

.penalty-sheet-title.miss {
    color: #FF4D4D;
    text-shadow: 0 0 25px rgba(255, 77, 77, 0.6);
}

.penalty-sheet-sub {
    font-size: 12px;
    font-weight: 700;
    color: var(--on-surface-variant);
    margin: 0 0 16px;
}

.penalty-sheet-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 10px;
    margin-bottom: 16px;
}

.penalty-btn-success {
    background: linear-gradient(135deg, #00FF7F 0%, #00C853 100%);
    color: #064E3B;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 15px;
    height: 48px;
    border-radius: 14px;
    border: none;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 255, 127, 0.4);
}

.penalty-btn-retry {
    background: linear-gradient(135deg, #FF4D4D 0%, #DC2626 100%);
    color: #FFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 15px;
    height: 48px;
    border-radius: 14px;
    border: none;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 77, 77, 0.4);
}

.penalty-btn-home {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38BDF8;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 13px;
    height: 42px;
    border-radius: 12px;
    width: 100%;
    cursor: pointer;
    margin-top: 8px;
}

/* REWARD SCREEN (SCREEN 6) */
.penalty-chest-vault {
    width: 130px;
    height: 130px;
    margin: 0 auto 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.penalty-chest-rays {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotateRays 12s linear infinite;
}

@keyframes rotateRays {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.penalty-chest-icon {
    font-size: 84px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}




/* --- Extracted from HTML --- */

        /* --- Anti-Font-Leak & Icon Sizing --- */
        .material-symbols-rounded {
            font-family: 'Material Symbols Rounded', sans-serif !important;
            font-size: 20px !important;
            line-height: 1 !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 22px !important;
            height: 22px !important;
            overflow: hidden !important;
            text-align: center !important;
            vertical-align: middle !important;
            font-feature-settings: 'liga' !important;
            -webkit-font-feature-settings: 'liga' !important;
        }

        /* --- Theme Colors --- */
        :root {
            --arcade-card-bg: #131B2E;
            --arcade-card-border: rgba(255, 255, 255, 0.12);
            --arcade-text-main: #FFFFFF;
            --arcade-text-sub: rgba(255, 255, 255, 0.65);
        }

        body.light-theme, :root.light-theme, html.light-theme {
            --arcade-card-bg: #FFFFFF;
            --arcade-card-border: rgba(0, 0, 0, 0.09);
            --arcade-text-main: #0F172A;
            --arcade-text-sub: #64748B;
        }

        /* --- Games View Container (Smooth Mobile Scrolling) --- */
        #games-view {
            overflow-y: auto !important;
            -webkit-overflow-scrolling: touch !important;
            gap: 12px !important;
            padding: max(calc(var(--tg-content-safe-area-inset-top, 0px) + 20px), 65px) 14px 120px !important;
            height: 100% !important;
            box-sizing: border-box !important;
        }

        .arena-header {
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            width: 100% !important;
            padding: 0 0 2px 0 !important;
            flex-shrink: 0 !important;
        }

        /* --- Hero Banner (High Contrast in Both Themes) --- */
        .arcade-hero-card {
            background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #312E81 100%) !important;
            border: 1px solid rgba(245, 158, 11, 0.35) !important;
            border-radius: 18px !important;
            padding: 16px 16px !important;
            margin: 0 !important;
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
            color: #FFFFFF !important;
            flex-shrink: 0 !important;
            min-height: 84px !important;
            box-sizing: border-box !important;
        }

        .arcade-hero-card .hero-title {
            font-size: 15px !important;
            font-weight: 900 !important;
            color: #FFFFFF !important;
            margin: 2px 0 2px !important;
        }

        .arcade-hero-card .hero-sub {
            font-size: 11px !important;
            color: rgba(255, 255, 255, 0.8) !important;
        }

        /* --- Category Pills — End-to-End Full-Bleed Scrolling --- */
        .arena-chips-row,
        #arcade-categories-list {
            display: flex !important;
            gap: 8px !important;
            padding: 2px 20px 8px 20px !important;
            margin-left: -20px !important;
            margin-right: -20px !important;
            overflow-x: auto !important;
            scrollbar-width: none !important;
            -webkit-overflow-scrolling: touch !important;
            flex-shrink: 0 !important;
            box-shadow: none !important;
            background: transparent !important;
        }

        .arena-chip {
            flex-shrink: 0 !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 5px !important;
            padding: 7px 14px !important;
            border-radius: 20px !important;
            font-size: 12px !important;
            font-weight: 800 !important;
            cursor: pointer !important;
            background: rgba(255, 255, 255, 0.08) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            color: var(--on-surface-variant) !important;
        }

        body.light-theme .arena-chip {
            background: #FFFFFF !important;
            border-color: rgba(0, 0, 0, 0.08) !important;
            color: #475569 !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        }

        .arena-chip.active {
            background: #2563EB !important;
            color: #FFFFFF !important;
            border-color: transparent !important;
            box-shadow: none !important;
            text-shadow: none !important;
            filter: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        /* --- 2-Column Arcade Grid (Strict Mobile Constraints) --- */
        .arcade-grid {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 12px !important;
            padding: 0 0 40px !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            flex-shrink: 0 !important;
        }

        .arcade-game-card {
            background: var(--arcade-card-bg) !important;
            border: 1px solid var(--arcade-card-border) !important;
            border-radius: 18px !important;
            padding: 14px 10px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            position: relative !important;
            cursor: pointer !important;
            transition: transform 0.15s ease, box-shadow 0.15s ease !important;
            overflow: hidden !important;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
            user-select: none !important;
        }
        .arcade-game-card:active {
            transform: scale(0.96) !important;
        }

        /* Studio Card: Full Bleed Poster Artwork */
        .arcade-game-card.studio-card {
            padding: 0 !important;
            aspect-ratio: 16 / 10.5 !important;
            height: auto !important;
            min-height: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: flex-end !important;
            align-items: center !important;
            position: relative !important;
            overflow: hidden !important;
            border-radius: 18px !important;
            border: 1px solid rgba(255, 255, 255, 0.16) !important;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32) !important;
        }

        .arcade-artwork-wrap {
            position: absolute !important;
            inset: 0 !important;
            width: 100% !important;
            height: 100% !important;
            overflow: hidden !important;
            border-radius: 17px !important;
            background: #0B132B !important;
            margin: 0 !important;
            padding: 0 !important;
            z-index: 1 !important;
        }

        .arcade-artwork-img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            object-position: center !important;
            display: block !important;
            border-radius: inherit !important;
            transition: transform 0.35s ease !important;
        }

        .arcade-artwork-glow {
            position: absolute !important;
            inset: 0 !important;
            background: linear-gradient(to top, rgba(11, 19, 43, 0.72) 0%, rgba(11, 19, 43, 0.05) 35%, transparent 65%) !important;
            pointer-events: none !important;
            z-index: 2 !important;
        }

        .arcade-card-meta {
            position: relative !important;
            z-index: 4 !important;
            padding: 0 0 8px 0 !important;
            margin: 0 !important;
            width: 100% !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            pointer-events: none !important;
        }

        /* Icon Badge for Games 2 - 10 */
        .arcade-icon-wrap {
            width: 52px !important;
            height: 52px !important;
            border-radius: 16px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-size: 26px !important;
            margin-bottom: 8px !important;
            position: relative !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
        }

        .arcade-game-title {
            font-size: 13px !important;
            font-weight: 800 !important;
            color: var(--arcade-text-main) !important;
            margin-bottom: 6px !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            max-width: 100% !important;
            letter-spacing: 0.2px !important;
        }

        .arcade-reward-badge {
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            font-size: 10.5px !important;
            font-weight: 800 !important;
            padding: 3px 10px !important;
            border-radius: 20px !important;
            background: rgba(16, 185, 129, 0.14) !important;
            color: #10B981 !important;
            border: 1px solid rgba(16, 185, 129, 0.28) !important;
        }

        .arcade-reward-badge.gold {
            background: rgba(245, 158, 11, 0.15) !important;
            color: #F59E0B !important;
            border-color: rgba(245, 158, 11, 0.35) !important;
        }

        /* Status Badge (Ready / Hot) */
        .arcade-badge-tag {
            position: absolute !important;
            top: 8px !important;
            right: 8px !important;
            background: linear-gradient(135deg, #10B981, #059669) !important;
            color: #FFFFFF !important;
            font-size: 8px !important;
            font-weight: 900 !important;
            padding: 2px 6px !important;
            border-radius: 6px !important;
            letter-spacing: 0.5px !important;
            text-transform: uppercase !important;
            box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35) !important;
        }

        /* --- Bottom Nav Bar Responsive Fixes --- */
        .bottom-nav {
            background: var(--nav-bg) !important;
            border-top: 1px solid var(--card-border) !important;
            height: 64px !important;
            padding-bottom: env(safe-area-inset-bottom, 8px) !important;
        }

        body.light-theme .bottom-nav {
            background: rgba(255, 255, 255, 0.96) !important;
            border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
            box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04) !important;
        }

        .nav-item {
            text-decoration: none !important;
            color: var(--on-surface-variant) !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 1 !important;
        }

        body.light-theme .nav-item {
            color: #64748B !important;
        }

        /* Category Pills Track */
        .arena-chips-row {
            display: flex !important;
            gap: 8px !important;
            padding: 2px 20px 8px 20px !important;
            margin-left: -20px !important;
            margin-right: -20px !important;
            overflow-x: auto !important;
            scrollbar-width: none !important;
            -webkit-overflow-scrolling: touch !important;
            flex-shrink: 0 !important;
            box-shadow: none !important;
            background: transparent !important;
        }

        .arena-chip {
            flex-shrink: 0 !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 5px !important;
            padding: 7px 14px !important;
            border-radius: 20px !important;
            font-size: 12px !important;
            font-weight: 800 !important;
            cursor: pointer !important;
            background: rgba(255, 255, 255, 0.08) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            color: var(--on-surface-variant) !important;
        }

        body.light-theme .arena-chip {
            background: #FFFFFF !important;
            border-color: rgba(0, 0, 0, 0.08) !important;
            color: #475569 !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        }

        .arena-chip.active {
            background: #2563EB !important;
            color: #FFFFFF !important;
            border-color: transparent !important;
            box-shadow: none !important;
            text-shadow: none !important;
            filter: none !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        /* --- 2-Column Arcade Grid (Strict Mobile Constraints) --- */
        .arcade-grid {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 12px !important;
            padding: 0 0 40px !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            flex-shrink: 0 !important;
        }

        .arcade-game-card {
            background: var(--arcade-card-bg) !important;
            border: 1px solid var(--arcade-card-border) !important;
            border-radius: 18px !important;
            padding: 14px 10px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            position: relative !important;
            cursor: pointer !important;
            transition: transform 0.15s ease, box-shadow 0.15s ease !important;
            overflow: hidden !important;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
            user-select: none !important;
        }

        .arcade-game-card:active {
            transform: scale(0.96) !important;
        }

        /* Studio Card: Full Bleed Poster Artwork */
        .arcade-game-card.studio-card {
            padding: 0 !important;
            aspect-ratio: 16 / 10.5 !important;
            height: auto !important;
            min-height: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: flex-end !important;
            align-items: center !important;
            position: relative !important;
            overflow: hidden !important;
            border-radius: 18px !important;
            border: 1px solid rgba(255, 255, 255, 0.16) !important;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32) !important;
        }

        .arcade-artwork-wrap {
            position: absolute !important;
            inset: 0 !important;
            width: 100% !important;
            height: 100% !important;
            overflow: hidden !important;
            border-radius: 17px !important;
            background: #0B132B !important;
            margin: 0 !important;
            padding: 0 !important;
            z-index: 1 !important;
        }

        .arcade-artwork-img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            object-position: center !important;
            display: block !important;
            border-radius: inherit !important;
            transition: transform 0.35s ease !important;
        }

        .arcade-artwork-glow {
            position: absolute !important;
            inset: 0 !important;
            background: linear-gradient(to top, rgba(11, 19, 43, 0.72) 0%, rgba(11, 19, 43, 0.05) 35%, transparent 65%) !important;
            pointer-events: none !important;
            z-index: 2 !important;
        }

        .arcade-card-meta {
            position: relative !important;
            z-index: 4 !important;
            padding: 0 0 8px 0 !important;
            margin: 0 !important;
            width: 100% !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            pointer-events: none !important;
        }

        /* Icon Badge for Games 2 - 10 */
        .arcade-icon-wrap {
            width: 52px !important;
            height: 52px !important;
            border-radius: 16px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-size: 26px !important;
            margin-bottom: 8px !important;
            position: relative !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
        }

        .arcade-game-title {
            font-size: 13px !important;
            font-weight: 800 !important;
            color: var(--arcade-text-main) !important;
            margin-bottom: 6px !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            max-width: 100% !important;
            letter-spacing: 0.2px !important;
        }

        .arcade-reward-badge {
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
            font-size: 10.5px !important;
            font-weight: 800 !important;
            padding: 3px 10px !important;
            border-radius: 20px !important;
            background: rgba(16, 185, 129, 0.14) !important;
            color: #10B981 !important;
            border: 1px solid rgba(16, 185, 129, 0.28) !important;
        }

        .arcade-reward-badge.gold {
            background: rgba(245, 158, 11, 0.15) !important;
            color: #F59E0B !important;
            border-color: rgba(245, 158, 11, 0.35) !important;
        }

        /* Status Badge (Ready / Hot) */
        .arcade-badge-tag {
            position: absolute !important;
            top: 8px !important;
            right: 8px !important;
            background: linear-gradient(135deg, #10B981, #059669) !important;
            color: #FFFFFF !important;
            font-size: 8px !important;
            font-weight: 900 !important;
            padding: 2px 6px !important;
            border-radius: 6px !important;
            letter-spacing: 0.5px !important;
            text-transform: uppercase !important;
            box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35) !important;
        }

        /* --- Bottom Nav Bar Responsive Fixes --- */
        .bottom-nav {
            background: var(--nav-bg) !important;
            border-top: 1px solid var(--card-border) !important;
            height: 64px !important;
            padding-bottom: env(safe-area-inset-bottom, 8px) !important;
        }

        body.light-theme .bottom-nav {
            background: rgba(255, 255, 255, 0.96) !important;
            border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
            box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04) !important;
        }

        .nav-item {
            text-decoration: none !important;
            color: var(--on-surface-variant) !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            flex: 1 !important;
        }

        body.light-theme .nav-item {
            color: #64748B !important;
        }

        /* FORCE ACTIVE TAB INDICATOR (Bypass Cache) */
        .bottom-nav .nav-item.active,
        .bottom-nav .nav-item.active .icon,
        .bottom-nav .nav-item.active .label {
            color: #2563EB !important;
        }
    

/* --- VIEW ANIMATIONS (ENHANCED) --- */
.tab-view { animation: fadeInTab 0.35s var(--ease-out-expo) forwards; }
@keyframes fadeInTab { 
    0% { opacity: 0; transform: scale(0.97) translateY(14px); } 
    100% { opacity: 1; transform: scale(1) translateY(0); } 
}

.map-player { left: 0; top: 0; }

/* ══════════════════════════════════════════════════════════════════════════════
   PREMIUM NATIVE UI OVERHAUL — GLASSMORPHISM + SPRING ANIMATIONS + GLOW
   ══════════════════════════════════════════════════════════════════════════════ */

/* ═══ ANIMATED MESH GRADIENT BACKGROUND DISABLED (Replaced by 3D SVG Art) ═══ */
body::before {
    display: none !important;
}

/* ═══ FLOATING BOTTOM NAV — PERFECTLY CENTERED GLASS PILL CONTAINER ═══ */
.bottom-nav {
    position: fixed !important;
    bottom: 14px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 440px !important;
    margin: 0 !important;
    height: 64px !important;
    background: rgba(13, 18, 32, 0.85) !important;
    backdrop-filter: blur(28px) saturate(1.8) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 36px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 8px !important;
    box-sizing: border-box !important;
    z-index: 100 !important;
}

.nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: #64748B !important;
    cursor: pointer !important;
    position: relative !important;
    padding: 6px 0 !important;
    flex: 1 !important;
    transition: all 0.25s var(--spring) !important;
}

.nav-item .icon {
    font-size: 22px !important;
    color: #64748B !important;
    transition: transform 0.25s var(--spring), color 0.2s ease, filter 0.2s ease !important;
}

.nav-item.active .icon {
    color: #2563EB !important;
    transform: scale(1.12) translateY(-1px) !important;
    filter: none !important;
}

/* Remove small indicator bar below active tab name for clean native look */
.nav-item.active::after {
    display: none !important;
    content: none !important;
}

.nav-item .label {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #64748B !important;
    transition: color 0.2s ease !important;
}

.nav-item.active .label {
    color: #2563EB !important;
    font-weight: 800 !important;
}

/* ═══ HERO PROGRESS CARD — EXACT REFERENCE GLASS MIRROR + DUAL-TONE NEON GLOW ═══ */
.progress-card {
    background: 
        linear-gradient(135deg, rgba(14, 22, 42, 0.72) 0%, rgba(8, 14, 28, 0.76) 100%) padding-box,
        linear-gradient(135deg, #00F0FF 0%, #00D2FF 30%, #3B82F6 55%, #A855F7 85%, #C084FC 100%) border-box !important;
    border: 1.5px solid transparent !important;
    backdrop-filter: blur(28px) saturate(1.6) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.6) !important;
    border-radius: 28px !important;
    padding: 24px 22px !important;
    box-shadow: 
        -6px -6px 26px rgba(0, 240, 255, 0.38),
        8px -6px 30px rgba(168, 85, 247, 0.38),
        0 18px 44px rgba(0, 0, 0, 0.65),
        inset 0 1.5px 2px rgba(255, 255, 255, 0.45) !important;
    position: relative !important;
    overflow: hidden !important;
    color: #FFFFFF !important;
}

/* Glass Mirror Specular Highlight Line along the top */
.progress-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 6% !important;
    right: 6% !important;
    height: 1.5px !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), rgba(0, 240, 255, 0.85), rgba(168, 85, 247, 0.85), transparent) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

/* Pristine static glass mirror sheen layer (keeps text crisp without sweeping across the card) */
.progress-card::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 30%, transparent 60%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.progress-card-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 6px !important;
    position: relative !important;
    z-index: 2 !important;
}

.progress-card-header .label {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.6px !important;
    color: #94A3B8 !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

.progress-card-header .goal {
    display: none !important; /* matches reference image without goal pill clutter */
}

.balance {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    text-align: center !important;
    margin: 4px 0 18px !important;
    letter-spacing: -0.5px !important;
    position: relative !important;
    z-index: 2 !important;
}

/* ═══ PROGRESS BAR TRACK — SLIM CAPSULE MATCHING EXACT REFERENCE IMAGE ═══ */
.progress-container-small {
    height: 12px !important;
    background: #0B1124 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 9999px !important;
    margin-bottom: 20px !important;
    overflow: visible !important;
    padding: 2px !important;
    position: relative !important;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6) !important;
    z-index: 2 !important;
}

/* Secondary blue-to-violet tier pill in background (from reference crop extending to ~70%) */
.progress-container-small::before {
    content: '' !important;
    position: absolute !important;
    top: 2px !important;
    bottom: 2px !important;
    left: 2px !important;
    width: 70% !important;
    border-radius: 9999px !important;
    background: linear-gradient(90deg, #1D4ED8 0%, #2563EB 25%, #3B82F6 45%, #6366F1 75%, #7C3AED 100%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Slim active cyan-to-white fill with smooth glowing energy flow & breathing pulse animation */
.progress-bar-small {
    height: 100% !important;
    border-radius: 9999px !important;
    position: relative !important;
    z-index: 2 !important;
    background: linear-gradient(90deg, #00C8FF 0%, #00F0FF 45%, #80E9FF 75%, #FFFFFF 100%) !important;
    background-size: 200% 100% !important;
    animation: 
        cyanEnergyFlow 2.8s ease-in-out infinite alternate,
        cyanGlowPulse 1.8s ease-in-out infinite alternate !important;
    overflow: hidden !important;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Fluid light shimmer wave gliding continuously through the progress line */
.progress-bar-small::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -100% !important;
    width: 100% !important;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 30%, 
        rgba(255, 255, 255, 0.75) 60%, 
        rgba(0, 240, 255, 0.9) 75%,
        transparent 100%
    ) !important;
    animation: barShimmerSweep 2s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
    pointer-events: none !important;
}

.progress-bar-small::after {
    display: none !important;
}

/* Light shimmer wave animation across the line */
@keyframes barShimmerSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Gentle energy gradient shift inside the bar */
@keyframes cyanEnergyFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Breathing neon glow aura around the progress line */
@keyframes cyanGlowPulse {
    0% {
        box-shadow: 
            0 0 8px 1px rgba(0, 240, 255, 0.6), 
            0 0 16px 2px rgba(0, 240, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 0 14px 3px rgba(0, 240, 255, 0.95), 
            0 0 24px 5px rgba(0, 240, 255, 0.55),
            0 0 4px #FFFFFF;
    }
}

/* ═══ CLAIM BUTTON — PRESERVED BUTTON WITH UPGRADED FROSTED FINISH ═══ */
.claim-btn {
    width: 100% !important;
    height: 48px !important;
    border-radius: 16px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s var(--spring) !important;
    position: relative !important;
    z-index: 2 !important;
}

.claim-btn.locked {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #94A3B8 !important;
    cursor: default !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
}

/* Subtle lock icon prefix for locked state (matching reference image) */
.claim-btn.locked::before {
    content: 'lock' !important;
    font-family: 'Material Symbols Rounded' !important;
    font-size: 16px !important;
    color: #94A3B8 !important;
    margin-right: 4px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.claim-btn:not(.locked) {
    background: linear-gradient(135deg, #00B4DB, #0083B0) !important;
    border: 1px solid rgba(56, 189, 248, 0.5) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 20px rgba(0, 180, 255, 0.4), 0 0 12px rgba(56, 189, 248, 0.3) !important;
}

.claim-btn:active:not(.locked) {
    transform: scale(0.97) !important;
}

/* ═══ UPLOAD CARD — REFERENCE TRANSLUCENT GLASS + SHIMMER REFLECTION ═══ */
.upload-card {
    background: linear-gradient(115deg, rgba(16, 22, 38, 0.7) 0%, rgba(26, 34, 58, 0.75) 45%, rgba(139, 92, 246, 0.18) 75%, rgba(16, 22, 38, 0.7) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 16px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    cursor: pointer !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.2s var(--spring) !important;
}

.upload-card:active {
    transform: scale(0.98) !important;
}

.upload-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.35), rgba(79, 70, 229, 0.35)) !important;
    border: 1px solid rgba(168, 85, 247, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #C084FC !important;
    font-size: 22px !important;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.25) !important;
}

.upload-text h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 3px !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: initial !important;
    background: none !important;
}

.upload-text p {
    font-size: 12px !important;
    color: #94A3B8 !important;
    line-height: 1.4 !important;
}

.upload-action .small-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    backdrop-filter: blur(8px) !important;
    transition: all 0.15s var(--spring) !important;
}

.upload-action .small-btn:active {
    transform: scale(0.94) !important;
}

/* ═══ CHIPS — END-TO-END FULL BLEED SCROLLING & NO SHADOWS ═══ */
.niche-scroll {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-shadow: none !important;
}

.niche-scroll::-webkit-scrollbar {
    display: none !important;
}

.chip {
    padding: 8px 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 9999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #CBD5E1 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s var(--spring) !important;
}

.chip .material-symbols-rounded {
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.chip.active {
    background: linear-gradient(135deg, #00B4DB, #0083B0) !important;
    border: 1px solid rgba(56, 189, 248, 0.6) !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

.chip:active {
    transform: scale(0.95) !important;
}

/* ═══ PACK CARDS — EXACT REFERENCE CLOSE-UP STYLE ═══ */
.pack-card {
    background: rgba(22, 30, 52, 0.58) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 26px !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    cursor: pointer !important;
    backdrop-filter: blur(28px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.5) !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.18) !important;
    transition: all 0.2s var(--spring) !important;
    position: relative !important;
    overflow: hidden !important;
}

.pack-card:active {
    transform: scale(0.98) !important;
}

.pack-card.hidden {
    display: none !important;
}

/* Subtle top edge glow */
.pack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    pointer-events: none;
}

.pack-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid rgba(147, 197, 253, 0.38) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 16px rgba(99, 102, 241, 0.16) !important;
    transition: transform 0.2s var(--spring) !important;
    flex-shrink: 0 !important;
}

.pack-icon .material-symbols-rounded {
    font-size: 24px !important;
    color: #E2E8F0 !important;
    font-variation-settings: 'FILL' 1, 'wght' 600, 'GRAD' 0, 'opsz' 24 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0 !important;
}

.pack-icon.jamb {
    background: rgba(56, 189, 248, 0.14) !important;
    border-color: rgba(56, 189, 248, 0.45) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 14px rgba(56, 189, 248, 0.25) !important;
}
.pack-icon.jamb .material-symbols-rounded {
    color: #38BDF8 !important;
}

.pack-icon.tech {
    background: rgba(168, 85, 247, 0.14) !important;
    border-color: rgba(168, 85, 247, 0.45) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 14px rgba(168, 85, 247, 0.25) !important;
}
.pack-icon.tech .material-symbols-rounded {
    color: #C084FC !important;
}

.pack-icon.naija {
    background: rgba(16, 185, 129, 0.14) !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 14px rgba(16, 185, 129, 0.25) !important;
}
.pack-icon.naija .material-symbols-rounded {
    color: #34D399 !important;
}

.pack-icon.football {
    background: rgba(249, 115, 22, 0.14) !important;
    border-color: rgba(249, 115, 22, 0.45) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 14px rgba(249, 115, 22, 0.25) !important;
}
.pack-icon.football .material-symbols-rounded {
    color: #FB923C !important;
}

.pack-icon.money {
    background: rgba(234, 179, 8, 0.14) !important;
    border-color: rgba(234, 179, 8, 0.45) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 0 14px rgba(234, 179, 8, 0.25) !important;
}
.pack-icon.money .material-symbols-rounded {
    color: #FACC15 !important;
}

.pack-info {
    flex: 1 !important;
    min-width: 0 !important; /* Allows child text to truncate and stay on one line */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 3px !important;
    overflow: hidden !important;
}

.pack-info h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.2px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-family: 'Inter', 'Manrope', sans-serif !important;
}

.pack-info p {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #38BDF8 !important;
    letter-spacing: 0.1px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-family: 'Inter', 'Manrope', sans-serif !important;
}

.pack-arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94A3B8 !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
}

.pack-arrow .material-symbols-rounded {
    font-size: 24px !important;
    color: #94A3B8 !important;
}

/* ═══ HEADER & AVATAR GLOWING RING ═══ */
.logo-area .title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    letter-spacing: -0.3px !important;
}

.avatar {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #1E293B, #0F172A) !important;
    border: 2px solid #6366F1 !important;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.6), 0 0 4px rgba(56, 189, 248, 0.4) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ═══ ALL BUTTONS — SPRING PRESS + RIPPLE ═══ */
.primary-btn {
    border-radius: var(--radius-md) !important;
    transition: all 0.15s var(--spring) !important;
    position: relative;
    overflow: hidden;
}

.primary-btn:active:not(:disabled) {
    transform: scale(0.96) !important;
}

/* Subtle shimmer on primary buttons */
.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: btnShimmer 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnShimmer {
    0% { left: -100%; }
    30%, 100% { left: 150%; }
}

.claim-btn {
    border-radius: var(--radius-md) !important;
    transition: all 0.2s var(--spring) !important;
}

.claim-btn:active:not(.locked) {
    transform: scale(0.96) !important;
}

.small-btn {
    transition: all 0.15s var(--spring) !important;
}

.small-btn:active {
    transform: scale(0.92) !important;
}

/* ═══ PROFILE CARD — GLASS DEPTH ═══ */
.profile-card {
    background: var(--glass-bg-strong) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    border-radius: var(--radius-xl) !important;
}

/* ═══ ARENA BALANCE CHIPS — GLOW BORDERS ═══ */
.arena-balance-chip {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.15s var(--spring) !important;
}

.arena-balance-chip:active {
    transform: scale(0.92) !important;
}

.arena-balance-chip.gems {
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.15) !important;
}

.arena-balance-chip.data {
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.15) !important;
}

/* ═══ TOURNAMENT BANNER — PROMINENT HERO CARD ═══ */
.arena-tournament-card {
    margin: 4px 0 16px !important;
    padding: 20px 20px !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.88) 0%, rgba(49, 46, 129, 0.85) 50%, rgba(67, 56, 202, 0.8) 100%) !important;
    border: 1.5px solid rgba(165, 180, 252, 0.35) !important;
    box-shadow: 
        0 14px 40px rgba(49, 46, 129, 0.45),
        0 0 24px rgba(79, 70, 229, 0.25),
        inset 0 1.5px 2px rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(24px) saturate(1.6) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.6) !important;
    transition: all 0.2s var(--spring) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.arena-tournament-card:active {
    transform: scale(0.98) !important;
}

.tournament-badge-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

.tournament-tag {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12.5px !important;
    font-weight: 900 !important;
    color: #FFD700 !important;
    letter-spacing: 0.8px !important;
}

.tournament-tag .material-symbols-rounded {
    font-size: 16px !important;
}

.tournament-timer {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #38BDF8 !important;
    background: rgba(56, 189, 248, 0.16) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    padding: 4px 10px !important;
    border-radius: 10px !important;
    letter-spacing: 0.2px !important;
}

.tournament-join-btn {
    padding: 10px 22px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #FFD700, #F59E0B) !important;
    color: #000000 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45) !important;
    transition: transform 0.15s var(--spring) !important;
    letter-spacing: 0.5px !important;
}

.tournament-join-btn:active {
    transform: scale(0.94) !important;
}

/* ═══ COMMUNITY DIVIDEND POOL — HERO GLOW CARD ═══ */
.arena-dividend-card {
    margin: 4px 0 16px !important;
    padding: 18px 18px 14px !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, rgba(26, 21, 55, 0.92) 0%, rgba(38, 30, 78, 0.9) 50%, rgba(55, 38, 98, 0.88) 100%) !important;
    border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
    box-shadow: 
        0 14px 40px rgba(15, 11, 35, 0.6),
        0 0 26px rgba(245, 158, 11, 0.22),
        inset 0 1.5px 2px rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(24px) saturate(1.6) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.6) !important;
    transition: all 0.2s var(--spring) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    cursor: pointer;
}

.arena-dividend-card:active {
    transform: scale(0.98) !important;
}

.dividend-badge-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: nowrap !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}

.dividend-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
    color: #F59E0B !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.dividend-timer {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    color: #FBBF24 !important;
    background: rgba(245, 158, 11, 0.15) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    padding: 3px 8px !important;
    border-radius: 8px !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.dividend-main-stat {
    text-align: center !important;
    margin: 4px 0 14px !important;
}

.dividend-label {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase;
    margin-bottom: 2px !important;
}

.dividend-amount {
    font-size: 34px !important;
    font-weight: 950 !important;
    color: #FFF !important;
    letter-spacing: -0.5px !important;
    text-shadow: 0 0 24px rgba(245, 158, 11, 0.65), 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    line-height: 1.1 !important;
}

.dividend-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 8px 4px !important;
    align-items: center !important;
}

.dividend-stat-cell {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px 4px !important;
}

.dividend-sub-label {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
}

.dividend-sub-val {
    font-size: 14px !important;
    font-weight: 900 !important;
    color: #FFF !important;
}

.dividend-sub-val.highlight {
    color: #38BDF8 !important;
}

.dividend-sub-val.gold {
    color: #F59E0B !important;
}

/* ═══ ARENA CHIPS — ENHANCED ═══ */
.arena-chip {
    transition: all 0.2s var(--spring) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.arena-chip:active {
    transform: scale(0.93) !important;
}

.arena-chip.active {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* ═══ RADAR MAP — ENHANCED GLOW ═══ */
.map-you-circle {
    box-shadow: 
        0 0 30px rgba(99, 102, 241, 0.6), 
        0 0 60px rgba(99, 102, 241, 0.2),
        inset 0 0 15px rgba(99, 102, 241, 0.4) !important;
}

.map-ring {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.06) !important;
}

.map-sweep-line {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.9), rgba(99, 102, 241, 0.3), transparent) !important;
    filter: blur(0.5px);
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.map-player {
    left: 0;
    top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(99, 102, 241, 0.15) !important;
    transition: transform 0.2s var(--spring) !important;
}

/* ═══ BRAIN FUEL CARD — GLASS UPGRADE ═══ */
.arena-fuel-card {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.15s var(--spring) !important;
}

/* ═══ ACTION BUTTONS — GLOW SHADOWS ═══ */
.arena-btn {
    transition: all 0.15s var(--spring) !important;
    border-radius: var(--radius-md) !important;
}

.arena-btn.solo {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35) !important;
}

.arena-btn.duel {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35) !important;
}

.arena-btn.friends {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35) !important;
}

.arena-btn:active {
    transform: scale(0.93) !important;
}

/* ═══ BOTTOM SHEET MODALS — PREMIUM SPRING ═══ */
.arena-sheet-card {
    background: rgba(11, 19, 38, 0.97) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(24px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.5) !important;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
    box-shadow: 0 -16px 60px rgba(0, 0, 0, 0.6) !important;
    animation: sheetSlideUp 0.35s var(--spring) forwards !important;
}

@keyframes sheetSlideUp {
    from { transform: translateY(100%); opacity: 0.5; }
    to { transform: translateY(0); opacity: 1; }
}

.sheet-handle {
    background: rgba(255, 255, 255, 0.15) !important;
    width: 40px !important;
    height: 5px !important;
    border-radius: 3px !important;
}

/* ═══ MODAL OVERLAY — PREMIUM SCRIM ═══ */
.arena-modal-overlay {
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* ═══ COMBAT STAT BOXES — GLASS ═══ */
.combat-stat-box {
    background: var(--glass-bg-strong) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-md) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* ═══ SHEET BUTTONS — SPRING ═══ */
.sheet-btn {
    transition: all 0.15s var(--spring) !important;
    border-radius: var(--radius-md) !important;
}

.sheet-btn:active {
    transform: scale(0.96) !important;
}

.duel-launch-btn {
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.35) !important;
}

/* ═══ GEM PACK ITEMS — GLASS + SPRING ═══ */
.gem-pack-item {
    background: var(--glass-bg-strong) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.15s var(--spring) !important;
}

.gem-pack-item:active {
    transform: scale(0.97) !important;
}

.gem-pack-item.popular {
    border-color: rgba(245, 158, 11, 0.4) !important;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.12) !important;
}

/* ═══ STREAK STEPS — GLASS ═══ */
.streak-step {
    background: var(--glass-bg-strong) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: var(--radius-md) !important;
}

/* ═══ TROPHY BADGES — SUBTLE GLOW ═══ */
.trophy-badge {
    background: var(--glass-bg-strong) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.15s var(--spring) !important;
}

.trophy-badge.unlocked {
    border-color: rgba(255, 215, 0, 0.2) !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.08) !important;
}

/* ═══ ARCADE GAME CARDS — PREMIUM GLASS + GLOW ═══ */
.arcade-game-card {
    background: var(--glass-bg-strong) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    transition: all 0.2s var(--spring) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.arcade-game-card:active {
    transform: scale(0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Colored inner glow matching game theme */
.arcade-game-card.studio-card {
    border-color: rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.1), 0 0 0 1px rgba(56, 189, 248, 0.05) inset !important;
}

.arcade-icon-wrap {
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.arcade-reward-badge {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* ═══ ARCADE HERO — PREMIUM GLOW BORDER ═══ */
.arcade-hero-card {
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(245, 158, 11, 0.15) inset !important;
}

.arcade-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.06), transparent);
    animation: heroShimmer 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroShimmer {
    0% { left: -100%; }
    40%, 100% { left: 150%; }
}

/* ═══ QUIZ CONTAINER — GLASS DEPTH ═══ */
.quiz-container {
    background: rgba(11, 19, 38, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

.quiz-app-bar {
    background: rgba(6, 14, 32, 0.9) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.question-card {
    background: var(--glass-bg-strong) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(var(--glass-blur)) !important;
    -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.option-card {
    background: var(--glass-bg-strong) !important;
    border: 1.5px solid var(--glass-border) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.15s var(--spring) !important;
}

.option-card:active {
    transform: scale(0.97) !important;
}

/* Wrong answer shake */
@keyframes shakeWrong {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.option-card.wrong {
    animation: shakeWrong 0.4s ease-out !important;
}

/* Correct answer pop */
@keyframes popCorrect {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.option-card.correct {
    animation: popCorrect 0.3s var(--spring) !important;
}

/* ═══ VS MATCH SCREEN — ENHANCED ═══ */
.vs-badge {
    animation: vsPulse 1s ease-in-out infinite !important;
}

@keyframes vsPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 12px rgba(245, 158, 11, 0.3); }
    50% { transform: scale(1.1); box-shadow: 0 0 24px rgba(245, 158, 11, 0.6); }
}

/* ═══ DUEL RESULT OVERLAY — PREMIUM ═══ */
#duel-result-card {
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

/* ═══ SECTION TITLES — TRACKING ═══ */
.section-title {
    letter-spacing: 0.8px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
}

/* ═══ STAGGERED ENTRANCE ANIMATIONS ═══ */
.content > *:nth-child(1) { animation-delay: 0s; }
.content > *:nth-child(2) { animation-delay: 0.04s; }
.content > *:nth-child(3) { animation-delay: 0.08s; }
.content > *:nth-child(4) { animation-delay: 0.12s; }
.content > *:nth-child(5) { animation-delay: 0.16s; }
.content > *:nth-child(6) { animation-delay: 0.20s; }

.content > * {
    animation: cardEnter 0.4s var(--ease-out-expo) backwards;
}

@keyframes cardEnter {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Stagger game grid cards */
.arcade-grid > *:nth-child(1) { animation-delay: 0s; }
.arcade-grid > *:nth-child(2) { animation-delay: 0.03s; }
.arcade-grid > *:nth-child(3) { animation-delay: 0.06s; }
.arcade-grid > *:nth-child(4) { animation-delay: 0.09s; }
.arcade-grid > *:nth-child(5) { animation-delay: 0.12s; }
.arcade-grid > *:nth-child(6) { animation-delay: 0.15s; }
.arcade-grid > *:nth-child(7) { animation-delay: 0.18s; }
.arcade-grid > *:nth-child(8) { animation-delay: 0.21s; }
.arcade-grid > *:nth-child(9) { animation-delay: 0.24s; }
.arcade-grid > *:nth-child(10) { animation-delay: 0.27s; }

.arcade-grid > * {
    animation: cardEnter 0.4s var(--ease-out-expo) backwards;
}

/* ═══ BREATHING CIRCLE — ENHANCED ═══ */
.breathing-circle {
    box-shadow: 
        0 0 30px rgba(236, 72, 153, 0.4),
        0 0 60px rgba(236, 72, 153, 0.15) !important;
}

/* ═══ REFERRAL INPUT — GLASS ═══ */
.styled-input {
    background: var(--glass-bg-strong) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-md) !important;
    transition: border-color 0.2s ease !important;
}

.styled-input:focus {
    border-color: var(--primary-container) !important;
    box-shadow: 0 0 12px var(--glow-primary) !important;
}

/* ═══ SPLASH / LOADING SCREEN ═══ */
#sovia-splash-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #0B1326;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#sovia-splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(0, 128, 255, 0.65)) drop-shadow(0 0 8px rgba(56, 189, 248, 0.85));
    animation: splashPulse 1.6s ease-in-out infinite;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes splashPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(0, 128, 255, 0.55)) drop-shadow(0 0 6px rgba(56, 189, 248, 0.75));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 36px rgba(0, 128, 255, 0.85)) drop-shadow(0 0 14px rgba(56, 189, 248, 0.95));
    }
}

.splash-title {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #FFF;
    letter-spacing: 1px;
}

.splash-dots {
    display: flex;
    gap: 8px;
}

.splash-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563EB;
    animation: dotBounce 1.2s ease-in-out infinite;
}

.splash-dot:nth-child(2) { animation-delay: 0.15s; }
.splash-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* ═══ CLAN TILES — GLASS ═══ */
.clan-tile {
    background: var(--glass-bg-strong) !important;
    border: 1px solid var(--glass-border) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: var(--radius-md) !important;
}

/* ═══ MENU ITEMS — GLASS + SPRING ═══ */
.arena-menu-item {
    background: var(--glass-bg-strong) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: var(--radius-md) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: all 0.15s var(--spring) !important;
}

.arena-menu-item:active {
    transform: scale(0.97) !important;
}

/* ═══ ECON BOXES — GLASS ═══ */
.econ-box {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: var(--radius-md) !important;
}
