/* ==========================================================================
   SELER MMO DESIGN SYSTEM & STYLE ARCHITECTURE
   ========================================================================== */

/* 🌌 CORE VARIABLE TOKENS */
:root {
    /* Color Palette */
    --neon-cyan: #38bdf8;
    --neon-pink: #a78bfa;
    --neon-green: #34d399;
    --luxury-gold: #fbbf24;
    --dark-bg: #0f172a;
    --panel-bg: rgba(30, 41, 59, 0.85);
    --border-color: rgba(148, 163, 184, 0.15);
    --border-color-glow: rgba(56, 189, 248, 0.4);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-neon: #7dd3fc;
    
    /* Fonts */
    --font-primary: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 🌀 STYLE RESET & BASE SETUP */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(4, 5, 8, 0.8);
}
::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 3px;
    box-shadow: 0 0 5px var(--neon-cyan);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
    box-shadow: 0 0 8px var(--neon-pink);
}

/* 🌌 AMBIENT SPACE GLOW */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
    animation: drift 20s infinite alternate ease-in-out;
}
.ambient-glow.cyan {
    background: var(--neon-cyan);
    top: -200px;
    left: -200px;
}
.ambient-glow.pink {
    background: var(--neon-pink);
    bottom: -200px;
    right: -200px;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* 📦 GLASSMORPHISM BOILERPLATE */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}
.glass-panel:hover {
    border-color: var(--border-color-glow);
}

/* 🧱 CONTAINER SYSTEM */
.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: entrance 0.6s var(--transition-bounce) forwards;
}

@keyframes entrance {
    to { opacity: 1; transform: translateY(0); }
}

/* ⚙️ UNIVERSAL MONOSPACE VALUES */
.mono-text {
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

/* 📜 LANGUAGE SELECTION & INTRO OVERLAY */
.intro-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 17, 26, 0.98) 0%, rgba(4, 5, 8, 1) 100%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

/* Canvas for fireworks background */
#intro-fireworks-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.intro-box {
    width: 100%;
    max-width: 620px;
    padding: 40px 30px;
    text-align: center;
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.1);
    position: relative;
    z-index: 3;
}

/* 🌄 INTRO BACKGROUND SLIDESHOW */
.intro-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}
.intro-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(4, 5, 8, 0.2) 0%, rgba(4, 5, 8, 0.7) 100%);
    z-index: 2;
}
.intro-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
}
.intro-slideshow .slide.active {
    opacity: 0.45;
    animation: zoomSlide 10s linear infinite;
}
@keyframes zoomSlide {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.1); }
}

/* 🚀 SELER INTRO LETTERS FLY-IN */
.seler-assembly-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    min-height: 120px;
}
.seler-assembly-container span {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: inline-block;
    color: #fff;
    text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--luxury-gold);
    opacity: 0;
    /* Large initial fly-in transition */
    transition: transform 2.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 2s ease-out;
}
@media (max-width: 600px) {
    .seler-assembly-container span {
        font-size: 3.2rem;
        gap: 8px;
    }
}

/* Language Selection Wrapper */
.intro-lang-selection {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity 1.2s ease-in-out, transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.intro-lang-selection.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.logo-text {
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--luxury-gold), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(69, 243, 255, 0.2);
}
.lang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 30px;
    width: 100%;
}
.btn-lang {
    background: rgba(22, 27, 38, 0.6);
    color: var(--text-primary);
    border: 1px solid rgba(69, 243, 255, 0.2);
    padding: 12px 10px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-lang:hover {
    background: linear-gradient(135deg, rgba(69, 243, 255, 0.2), rgba(255, 0, 127, 0.2));
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(69, 243, 255, 0.3);
    transform: translateY(-2px);
}

/* 🧭 ONBOARDING / GUIDE BAR */
.onboarding-guide {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: linear-gradient(90deg, rgba(255, 0, 127, 0.15) 0%, rgba(123, 0, 255, 0.15) 100%);
    border-color: rgba(255, 0, 127, 0.3);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.1);
}
.onboarding-badge {
    background: linear-gradient(135deg, var(--neon-pink), #7b00ff);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}
.onboarding-text {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-neon);
    line-height: 1.4;
}

/* 🪙 HUD: CENTRAL VAULT SYSTEM */
.hud-vault {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 15px 25px;
    position: relative;
    overflow: hidden;
}
@media (max-width: 900px) {
    .hud-vault { gap: 10px; padding: 15px; }
}

.hud-item-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    min-width: 160px;
    max-width: 250px;
}
.hud-item {
    background: rgba(15, 23, 42, 0.5); /* Slate 900 */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}
.hud-item b {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}
.hud-item span {
    font-size: 1.5rem;
    font-weight: 800;
}
.hud-glow {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    transition: var(--transition-smooth);
}
.gold-glow { background: var(--luxury-gold); top: -20px; left: -20px; }
.xp-glow { background: var(--neon-cyan); bottom: -20px; right: -20px; }
.lvl-glow { background: var(--neon-cyan); top: -20px; right: -20px; }
.joker-glow { background: var(--neon-pink); bottom: -20px; left: -20px; }
.signal-glow { background: var(--neon-green); top: -20px; left: -20px; }

/* Glowing highlights */
.gold-text { color: var(--luxury-gold); text-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
.text-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(69, 243, 255, 0.3); }
.text-pink { color: var(--neon-pink); text-shadow: 0 0 10px rgba(255, 0, 127, 0.3); }
.text-green { color: var(--neon-green); text-shadow: 0 0 10px rgba(57, 255, 20, 0.3); }

/* XP Fill Progress */
.xp-progression-bar {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    height: 4px;
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}
.xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    box-shadow: 0 0 8px var(--neon-cyan);
    transition: width 0.4s ease-out;
}

/* 📑 NAVIGATION & TABS SECTION */
.navigation-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    gap: 15px;
}
@media (max-width: 768px) {
    .navigation-bar { flex-direction: column; align-items: stretch; }
}

.tab-navigation {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}
.btn-tab {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid transparent;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    white-space: nowrap;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-tab.active {
    background: rgba(69, 243, 255, 0.08);
    color: var(--neon-cyan);
    border-color: rgba(69, 243, 255, 0.25);
    box-shadow: inset 0 0 8px rgba(69, 243, 255, 0.1);
}
.btn-tab:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.nav-controls {
    display: flex;
    gap: 8px;
}
.btn-nav-action {
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}
.wheel-btn {
    background: rgba(255, 0, 127, 0.1);
    color: var(--neon-pink);
    border: 1px solid rgba(255, 0, 127, 0.25);
    padding: 10px 16px;
}
.wheel-btn:hover {
    background: rgba(255, 0, 127, 0.2);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.3);
    transform: scale(1.03);
}
.pulse-icon {
    animation: icon-pulse 1.5s infinite alternate ease-in-out;
}
@keyframes icon-pulse {
    to { transform: scale(1.2) rotate(15deg); }
}

.profile-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 42px;
    height: 42px;
    justify-content: center;
}
.profile-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neon-cyan);
    transform: rotate(45deg);
}

/* 📑 TAB PANELS ENGINE */
/* Sürüklenebilir Pano Izgara Düzeni (Dashboard Sortable) */
#dashboard-sortable {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}
#dashboard-sortable .dashboard-item {
    margin: 0 !important; /* Override inline margins */
    flex: 1 1 100%; /* Default to full width */
    box-sizing: border-box;
}
/* Side-by-side modules for compact panels */
@media(min-width: 768px) {
    #dashboard-sortable .slim-farm-widget,
    #dashboard-sortable .social-card {
        flex: 1 1 calc(50% - 5px); /* Half width minus half gap */
    }
}
/* Search terminal stays sticky inside flex */
#cyber-search-terminal {
    position: sticky;
    top: 10px;
    z-index: 100;
}

/* Kriyojenik Kasa Kompaktlaştırma */
.slim-farm-widget {
    padding: 10px;
}
.slim-farm-widget > div {
    padding: 10px !important;
}
.farm-status-box {
    padding: 5px 10px !important;
    margin-bottom: 10px !important;
}
.farm-btn {
    padding: 8px !important;
    font-size: 0.9rem !important;
}

/* Davet Ağı Kompaktlaştırma */
.social-card {
    padding: 10px;
}
.social-card h3 {
    font-size: 0.9rem !important;
}
.social-card .btn-glow-cyan {
    padding: 4px 6px !important;
    font-size: 0.65rem !important;
}

.tab-panel {
    display: none;
    width: 100%;
}
.tab-panel.active {
    display: block;
    animation: tab-fade 0.4s ease-out forwards;
}
@keyframes tab-fade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 🧠 PANEL 1: QUIZ MATRIX & DUEL ARENA */
.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    .dashboard-grid { grid-template-columns: 1fr; }
}

.arena-card {
    min-height: 480px;
    padding: 24px;
    display: flex;
    justify-content: center;
}
.flex-column {
    flex-direction: column;
}

/* Arena Start Dashboard screen */
.arena-start-screen {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 100%;
    width: 100%;
}
.matrix-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(69, 243, 255, 0.05);
    border: 2px solid var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    box-shadow: 0 0 20px rgba(69, 243, 255, 0.2);
    margin-bottom: 10px;
}
.cyber-scan {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--neon-cyan);
    left: 0;
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: scanning 2s infinite ease-in-out;
}
@keyframes scanning {
    0% { top: 10%; }
    50% { top: 90%; }
    100% { top: 10%; }
}
.subtext {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 450px;
    margin: 0 auto;
}

/* 🎯 QUIZ DIFFICULTY BAR SELECTOR */
.difficulty-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 5px 0 10px;
    width: 100%;
    max-width: 650px;
}
.btn-diff {
    flex: 1;
    background: rgba(22, 27, 38, 0.5);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-diff:hover:not(.active) {
    border-color: rgba(69, 243, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
}
.btn-diff.active {
    color: var(--text-primary);
    border-color: var(--neon-cyan);
    background: rgba(69, 243, 255, 0.08);
    box-shadow: 0 0 12px rgba(69, 243, 255, 0.15);
}

/* Mode Selection List */
.quiz-modes-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 650px;
    margin: 10px 0;
}
@media (max-width: 600px) {
    .quiz-modes-list { grid-template-columns: 1fr; }
}
.btn-mode {
    background: rgba(22, 27, 38, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    transition: var(--transition-smooth);
}
.mode-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}
.mode-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mode-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}
.mode-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.btn-mode:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(69, 243, 255, 0.2);
}
.btn-mode.active {
    background: rgba(69, 243, 255, 0.08);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(69, 243, 255, 0.15);
}
.btn-mode.active .mode-icon {
    filter: drop-shadow(0 0 8px var(--neon-cyan));
}

/* Buttons Glow classes */
.btn-glow-green {
    background: linear-gradient(135deg, var(--neon-green), #00aa00);
    color: #000;
    font-family: var(--font-primary);
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
    transition: var(--transition-smooth);
}
.btn-glow-green:hover:not(:disabled) {
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.7);
    transform: translateY(-2px);
}
.btn-glow-green:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-glow-pink {
    background: linear-gradient(135deg, var(--neon-pink), #a3004f);
    color: #fff;
    font-family: var(--font-primary);
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
    transition: var(--transition-smooth);
}
.btn-glow-pink:hover {
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.7);
    transform: translateY(-2px);
}

.btn-neon-pink {
    background: transparent;
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-neon-pink:hover {
    background: var(--neon-pink);
    color: #fff;
    box-shadow: 0 0 15px var(--neon-pink);
}

.btn-secondary {
    background: rgba(22, 27, 38, 0.8);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.start-game-btn {
    font-size: 1.3rem;
    padding: 14px 45px;
    margin-top: 15px;
}

/* Matchmaking radar screen styles */
.arena-radar-screen {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    gap: 15px;
}
.radar-box {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid rgba(69, 243, 255, 0.3);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle, rgba(69, 243, 255, 0.05) 0%, transparent 80%);
}
.radar-sweep {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, var(--neon-cyan) 0deg, transparent 90deg);
    top: 0;
    left: 0;
    border-radius: 50%;
    transform-origin: center;
    animation: sweeping 4s infinite linear;
}
@keyframes sweeping {
    100% { transform: rotate(360deg); }
}
.radar-ping {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink);
    opacity: 0;
}
.radar-ping.p1 { top: 30%; left: 70%; animation: pinging 2s infinite ease-out; }
.radar-ping.p2 { bottom: 25%; left: 20%; animation: pinging 2s infinite 1s ease-out; }
@keyframes pinging {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 5px var(--neon-pink));
}
.radar-player-card {
    background: rgba(22, 27, 38, 0.6);
    border: 1px solid rgba(69, 243, 255, 0.15);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
    max-width: 320px;
    text-align: left;
}
.profile-avatar {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(69, 243, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-username {
    font-weight: bold;
    font-size: 1rem;
}
.profile-status {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Active Game Screen inside Arena */
.arena-active-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}
.arena-game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.badge-pink {
    background: rgba(255, 0, 127, 0.15);
    color: var(--neon-pink);
    border: 1px solid rgba(255, 0, 127, 0.3);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
    letter-spacing: 0.5px;
}
.badge-green {
    background: rgba(57, 255, 20, 0.15);
    color: var(--neon-green);
    border: 1px solid rgba(57, 255, 20, 0.3);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 5px;
    letter-spacing: 0.5px;
}

.hud-joker-triggers {
    display: flex;
    gap: 8px;
}
.btn-joker-use {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-joker-use:hover:not(:disabled) {
    border-color: var(--neon-cyan);
    background: rgba(69, 243, 255, 0.05);
}
.btn-joker-use:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Timer indicators */
.timer-wrapper {
    position: relative;
    background: rgba(0,0,0,0.5);
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.timer-bar {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--neon-green) 0%, var(--neon-pink) 100%);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
    transition: width 0.1s linear;
}
.timer-num {
    position: absolute;
    right: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.question-box {
    background: rgba(4, 5, 8, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.options-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.btn-option {
    background: rgba(22, 27, 38, 0.6);
    color: var(--text-primary);
    border: 1px solid rgba(69, 243, 255, 0.2);
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    width: 100%;
    transition: var(--transition-fast);
}
.btn-option:hover:not(:disabled) {
    background: rgba(69, 243, 255, 0.08);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(69, 243, 255, 0.15);
    transform: translateX(4px);
}
.btn-option:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Feedback banner rules */
.feedback-banner {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    min-height: 25px;
    transition: var(--transition-smooth);
}

/* 🔒 OFFLINE PASSIVE CRYOPOD FARM */
.offline-farm-card {
    padding: 24px;
    justify-content: space-between;
    min-height: 480px;
}
.farm-status-box {
    background: rgba(22, 27, 38, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.vault-animation {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: rgba(57, 255, 20, 0.05);
    border: 2px solid var(--neon-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.15);
}
.vault-pulses {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--neon-green);
    animation: ripple 2s infinite linear;
}
@keyframes ripple {
    to { transform: scale(1.5); opacity: 0; }
}

.farm-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.farm-meta span {
    font-size: 1.25rem;
    font-weight: bold;
}

.farm-btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
}

/* Farming active interface */
.farm-progress-container {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.farm-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0,0,0,0.5);
    border-radius: 3px;
    overflow: hidden;
}
.farm-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
}
.farm-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: bold;
}

/* Duel Intercept Challenge */
.farm-challenge-box {
    background: rgba(255, 0, 127, 0.05);
    border: 1px solid rgba(255, 0, 127, 0.25);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}
.challenge-alert {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}
.alert-icon {
    font-size: 1.5rem;
}
.challenge-alert h4 {
    color: var(--neon-pink);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.challenge-alert p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.3;
}
.challenge-actions {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 8px;
}
.challenge-actions button {
    padding: 10px;
    font-size: 0.85rem;
}

/* 🏆 SCOREBOARD MATRIX OVERLAY */
.scoreboard-matrix {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 480px;
    padding: 30px;
    z-index: 11000;
    text-align: center;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-bounce), opacity var(--transition-fast);
}
.scoreboard-matrix.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.scoreboard-scores {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(22, 27, 38, 0.5);
    border-radius: 12px;
    padding: 15px 25px;
    border: 1px solid rgba(255,255,255,0.03);
}
.score-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.score-card.player { color: var(--neon-cyan); }
.score-card.opponent { color: var(--neon-pink); }
.score-card span { font-weight: bold; font-size: 0.9rem; }
.score-val { font-size: 2.2rem !important; font-family: var(--font-mono); }
.score-versus {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-muted);
}
.result-message {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.result-rewards {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-weight: bold;
    font-size: 1rem;
}
.result-rewards span:nth-child(1) { color: var(--luxury-gold); }
.result-rewards span:nth-child(2) { color: var(--neon-cyan); }

/* 🛒 PANEL 2: ATLAS MARKET (STORE) */
.market-card {
    padding: 20px;
}
.market-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}
.market-sub-navigation {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
    overflow-x: auto;
}
.btn-sub-tab {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 8px 16px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 6px;
    white-space: nowrap;
    transition: var(--transition-fast);
}
.btn-sub-tab.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}
.highlight-gold.active {
    background: rgba(212, 175, 55, 0.1) !important;
    color: var(--luxury-gold) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

/* Sports sub-category filters */
.sports-sub-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 6px;
}
.btn-sport-pill {
    background: rgba(22, 27, 38, 0.5);
    color: var(--luxury-gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-sport-pill.active {
    background: var(--luxury-gold);
    color: #000;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.market-filters {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
@media (max-width: 600px) {
    .market-filters { flex-direction: column; }
}

.search-box {
    flex-grow: 1;
}
.cyber-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(69, 243, 255, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}
.cyber-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(69, 243, 255, 0.25);
}

.sorting-actions {
    display: flex;
    gap: 6px;
}
.btn-sort {
    background: rgba(22, 27, 38, 0.6);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 14px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-sort:hover {
    border-color: var(--neon-cyan);
    background: rgba(69, 243, 255, 0.05);
}

/* 💳 CARD GRID & CARD ANATOMY */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 15px;
    max-height: 480px;
    overflow-y: auto;
    background: rgba(4, 5, 8, 0.5);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.micro-box {
    background: rgba(15, 17, 26, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    height: 190px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.micro-box:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(69, 243, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 10px rgba(69, 243, 255, 0.1);
}

.card-artwork {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    transition: filter 0.4s ease-out;
}
.card-artwork svg {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    transition: filter var(--transition-smooth);
}

/* Evolution lock badge */
.card-lock-badge {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(4, 5, 8, 0.85);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.card-info-area {
    background: rgba(30, 41, 59, 0.95);
    width: 100%;
    padding: 8px 10px;
    text-align: center;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: var(--transition-smooth);
}
.box-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.box-income {
    font-size: 0.72rem;
    font-weight: bold;
    color: var(--neon-green);
    font-family: var(--font-mono);
}
.box-upgrade-cost {
    font-size: 0.68rem;
    font-weight: bold;
    color: var(--luxury-gold);
    font-family: var(--font-mono);
}

.card-info-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(4, 5, 8, 0.8);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}
.card-info-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 8px var(--neon-cyan);
    transform: scale(1.1);
}

/* Card States styles based on Level */
/* Level > 0 (Unlocked/Decrypting) */
.micro-box.decrypting {
    border-color: rgba(255, 0, 127, 0.2);
}
.micro-box.decrypting .card-artwork svg {
    filter: drop-shadow(0 0 8px rgba(255, 0, 127, 0.3));
}
.micro-box.decrypting .box-title {
    color: var(--text-secondary);
}

/* Level >= 11 (Reconciled) */
.micro-box.reconciled {
    border-color: rgba(69, 243, 255, 0.25);
}
.micro-box.reconciled .card-artwork svg {
    filter: drop-shadow(0 0 10px rgba(69, 243, 255, 0.4));
}

/* Level >= 51 (Fully Optimized / Golden Glow) */
.micro-box.optimized {
    border-color: var(--luxury-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.micro-box.optimized::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border: 2px solid var(--luxury-gold);
    border-radius: 12px;
    pointer-events: none;
    animation: gold-border-pulse 2s infinite alternate ease-in-out;
}
@keyframes gold-border-pulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}
.micro-box.optimized .card-artwork svg {
    filter: drop-shadow(0 0 12px var(--luxury-gold));
}

.market-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* 👥 PANEL 3: SOCIAL, CLANS & REGIONAL INDEX */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 900px) {
    .social-grid { grid-template-columns: 1fr; }
}

.social-card {
    padding: 20px;
    min-height: 480px;
}
.social-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    margin: 15px 0;
    background: rgba(4, 5, 8, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}
.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.leaderboard-table th {
    background: rgba(22, 27, 38, 0.8);
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 12px 15px;
    text-align: left;
    color: var(--text-secondary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.leaderboard-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-weight: 500;
}
.leaderboard-table tr:hover {
    background: rgba(255, 255, 255, 0.01);
}
.leaderboard-table tr.highlight {
    background: rgba(69, 243, 255, 0.08);
    color: var(--neon-cyan);
    font-weight: bold;
}
.leaderboard-table tr.highlight td {
    border-bottom: 1px solid rgba(69, 243, 255, 0.2);
}

.geo-tabs {
    display: flex;
    gap: 6px;
    margin: 15px 0 5px;
}
.btn-geo-tab {
    background: rgba(22, 27, 38, 0.6);
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-geo-tab.active {
    background: rgba(255, 0, 127, 0.1);
    color: var(--neon-pink);
    border-color: rgba(255, 0, 127, 0.3);
}

.duel-trigger-btn {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
}

/* 🎡 LUCKY WHEEL MODAL SHELL */
.wheel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 8, 0.92);
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.wheel-container {
    width: 100%;
    max-width: 500px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.wheel-box-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}
.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--neon-pink);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 6px var(--neon-pink));
}
.wheel-box {
    width: 100%;
    height: 100%;
}
#wheelCanvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid var(--neon-cyan);
    box-shadow: 0 0 40px rgba(69, 243, 255, 0.5), inset 0 0 25px rgba(69, 243, 255, 0.3);
    transition: transform 5s cubic-bezier(0.1, 0.8, 0.1, 1);
}
.wheel-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}
.wheel-actions button {
    flex: 1;
    padding: 12px;
}

.btn-debug-reset {
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 0.72rem;
    cursor: pointer;
    font-weight: bold;
}
.btn-debug-reset:hover {
    color: var(--neon-pink);
}

/* 📺 SPONSORED ADS SYSTEM OVERLAYS */
.ad-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 13000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ad-container {
    width: 100%;
    max-width: 480px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ad-tag {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 4px;
    align-self: center;
    letter-spacing: 1px;
}
.ad-screen {
    background: rgba(22, 27, 38, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.04);
    height: 200px;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ad-visual-waves {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ad-visual-waves div {
    width: 6px;
    height: 50px;
    background: var(--neon-pink);
    border-radius: 3px;
    animation: bounce-wave 1.2s infinite ease-in-out;
}
.ad-visual-waves div:nth-child(2) { animation-delay: 0.2s; }
.ad-visual-waves div:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce-wave {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1.2); }
}

.ad-timer-visual {
    position: absolute;
    font-size: 4.5rem;
    color: var(--text-primary);
    font-weight: 800;
    font-family: var(--font-mono);
    text-shadow: 0 0 20px var(--neon-pink);
}
.ad-actions {
    display: flex;
    justify-content: center;
}

/* 🔒 CYBER PROFILE SECURITY MODAL */
.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 8, 0.92);
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.settings-container {
    width: 100%;
    max-width: 460px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.privacy-options {
    display: flex;
    gap: 10px;
}
.privacy-pill {
    flex: 1;
    position: relative;
    cursor: pointer;
}
.privacy-pill input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.pill-text {
    display: block;
    background: rgba(22, 27, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: bold;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}
.privacy-pill input:checked + .pill-text {
    background: rgba(69, 243, 255, 0.08);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(69, 243, 255, 0.15);
}

.security-card {
    background: rgba(4, 5, 8, 0.8);
    border: 1px solid rgba(255, 0, 127, 0.15);
    border-radius: 10px;
    padding: 12px 15px;
    margin-top: 10px;
}
.security-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-weight: bold;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
}
.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
}
.status-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.status-indicator.online::before {
    background: var(--neon-green);
    box-shadow: 0 0 6px var(--neon-green);
}
.checksum-value {
    color: var(--neon-pink);
    font-size: 0.8rem;
    word-break: break-all;
}

.settings-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}
.settings-actions button {
    flex: 1;
    padding: 12px;
}

/* Suspended Session Alert Styles */
.suspended-alert-box {
    background: rgba(255, 0, 127, 0.05) !important;
    border: 1px dashed var(--neon-pink) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.1) !important;
    animation: alertPulse 2s infinite ease-in-out !important;
}

@keyframes alertPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 0, 127, 0.1); border-color: rgba(255, 0, 127, 0.4); }
    50% { box-shadow: 0 0 20px rgba(255, 0, 127, 0.25); border-color: var(--neon-pink); }
}

.btn-suspend-exit {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: var(--text-primary) !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    transition: var(--transition-fast) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.btn-suspend-exit:hover {
    background: rgba(255, 0, 127, 0.1) !important;
    border-color: var(--neon-pink) !important;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.2) !important;
}

/* 📍 Regional Sync Widget Style */
.regional-sync-widget {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 17, 26, 0.85);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 5px;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.04);
}

@keyframes beaconPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.25); }
}

/* Form Styles for Login / Register panels inside Intro Box */
.cyber-input {
    width: 100%;
    background: rgba(4, 5, 8, 0.8) !important;
    border: 1px solid rgba(69, 243, 255, 0.2) !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    color: #fff !important;
    font-family: var(--font-primary) !important;
    font-size: 0.95rem !important;
    outline: none !important;
    transition: var(--transition-fast) !important;
}
.cyber-input:focus {
    border-color: var(--neon-cyan) !important;
    box-shadow: 0 0 10px rgba(69, 243, 255, 0.2) !important;
}

#intro-login-panel a:hover, #intro-register-panel a:hover {
    text-shadow: 0 0 8px currentColor;
    text-decoration: underline !important;
}

/* 👤 PROFILE WIDGET STYLES */
.profile-widget {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background: rgba(15, 17, 26, 0.85);
    border: 1px solid rgba(69, 243, 255, 0.2);
    border-radius: 12px;
    padding: 15px 25px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(69, 243, 255, 0.05);
}

.profile-avatar-container {
    position: relative;
    width: 65px;
    height: 65px;
}

.profile-avatar-svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #000;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.profile-flag-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    padding: 2px;
    line-height: 1;
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
}

.profile-nick {
    font-size: 0.95rem;
    color: var(--neon-cyan);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.btn-profile-action {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-profile-action:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.btn-profile-action.btn-settings:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(69, 243, 255, 0.3);
}

.btn-profile-action.btn-logout:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

/* LUCKY WHEEL NEW STYLE */
.lucky-wheel-container {
    margin: 20px auto;
    text-align: center;
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid var(--neon-pink);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
}

.wheel-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 20px auto;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
    transition: transform 5s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: conic-gradient(
        #FFD700 0deg 45deg,      /* Yellow */
        #00BFFF 45deg 90deg,     /* Blue */
        #FF4500 90deg 135deg,    /* Red */
        #8A2BE2 135deg 180deg,   /* Purple */
        #FF69B4 180deg 225deg,   /* Pink */
        #32CD32 225deg 270deg,   /* Green */
        #FFFFFF 270deg 315deg,   /* White */
        #FF8C00 315deg 360deg    /* Orange */
    );
}

.wheel-text-container {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.wheel-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: 0 0;
    font-size: 1.1rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: #000;
    text-shadow: 1px 1px 0px #fff;
    white-space: nowrap;
}
.wheel-text.s1 { transform: rotate(22.5deg) translate(50px, -50%); }
.wheel-text.s2 { transform: rotate(67.5deg) translate(50px, -50%); }
.wheel-text.s3 { transform: rotate(112.5deg) translate(50px, -50%); color: #fff; text-shadow: 1px 1px 0px #000; }
.wheel-text.s4 { transform: rotate(157.5deg) translate(50px, -50%); color: #fff; text-shadow: 1px 1px 0px #000; }
.wheel-text.s5 { transform: rotate(202.5deg) translate(50px, -50%); }
.wheel-text.s6 { transform: rotate(247.5deg) translate(50px, -50%); }
.wheel-text.s7 { transform: rotate(292.5deg) translate(50px, -50%); }
.wheel-text.s8 { transform: rotate(337.5deg) translate(50px, -50%); }

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 35px solid var(--neon-cyan);
    z-index: 10;
    filter: drop-shadow(0 0 5px var(--neon-cyan));
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #1a1a2e;
    border: 3px solid var(--neon-pink);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 0 10px rgba(255,0,127,0.5);
}

.ad-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}
.ad-modal.active {
    opacity: 1;
    pointer-events: all;
}
.ad-modal-content {
    background: rgba(10, 15, 30, 0.95);
    border: 2px solid var(--luxury-gold);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}
.ad-progress-bar {
    width: 100%;
    height: 10px;
    background: #333;
    border-radius: 5px;
    overflow: hidden;
    margin: 20px 0;
}
.ad-progress-fill {
    width: 0%;
    height: 100%;
    background: var(--neon-green);
    transition: width 0.1s linear;
}

/* Portrait Box for People */
.micro-box-people {
    height: 320px !important;
}
.micro-box-people .card-artwork {
    height: 82% !important;
}
.micro-box-people .card-info-area {
    height: 18% !important;
    justify-content: center;
}

.highlight-purple {
    background: rgba(138, 43, 226, 0.15) !important;
    color: #b05bff !important;
    border-color: rgba(138, 43, 226, 0.4) !important;
}
.highlight-purple.active {
    background: rgba(138, 43, 226, 0.3) !important;
    color: #fff !important;
    border-color: #b05bff !important;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4) !important;
}

.highlight-emerald {
    background: rgba(0, 255, 136, 0.15) !important;
    color: #00ff88 !important;
    border-color: rgba(0, 255, 136, 0.4) !important;
}

.highlight-emerald.active {
    background: rgba(0, 255, 136, 0.3) !important;
    color: #fff !important;
    border-color: #00ff88 !important;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4) !important;
}
