/* --- Core Variables --- */
:root {
    /* Color Palette */
    --bg-base: #03060d;
    --bg-surface: #0a0f1a;
    --bg-surface-light: rgba(20, 30, 48, 0.6);
    
    --accent-emerald: #00ff66;
    --accent-cyan: #00f0ff;
    --accent-blue: #1e40af;
    --accent-purple: #7000ff;
    --accent-red: #ff0055;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    
    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    /* Glassmorphism */
    --glass-bg: rgba(10, 15, 26, 0.45);
    --glass-border: rgba(0, 240, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Light Mode Overrides --- */
body.light-mode {
    --bg-base: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-surface-light: rgba(255, 255, 255, 0.85);
    
    /* Deepened accents for light contrast */
    --accent-emerald: #059669;
    --accent-cyan: #0284c7;
    --accent-blue: #2563eb;
    --accent-purple: #7c3aed;
    --accent-red: #e11d48;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(2, 132, 199, 0.15);
    --glass-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Base structural overrides for Light Mode */
body.light-mode .grid-overlay {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}
body.light-mode .navbar {
    background: rgba(241, 245, 249, 0.7);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body.light-mode .action-icon-btn { border-color: #cbd5e1; color: #475569; }
body.light-mode .action-icon-btn:hover { border-color: var(--accent-blue); color: var(--accent-blue); background: transparent; }
body.light-mode .action-outline-btn { border-color: var(--accent-blue); color: var(--accent-blue); }
body.light-mode .action-outline-btn:hover { background: rgba(37, 99, 235, 0.05); box-shadow: none; }
body.light-mode .action-text-btn { color: #0f172a; }
body.light-mode .action-text-btn:hover { color: var(--accent-blue); }
body.light-mode .theme-btn .sun-icon { transform: rotate(0) scale(1); opacity: 1; }
body.light-mode .theme-btn .moon-icon { transform: rotate(-90deg) scale(0); opacity: 0; }
body.light-mode .ticker-wrap { background: rgba(255, 255, 255, 0.8); border-top: 1px solid rgba(0, 0, 0, 0.05); border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
body.light-mode .terminal-container { background: #0b1121; border: 1px solid #1e293b; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
body.light-mode .terminal-header { background: #0f172a; border-bottom: 1px solid #1e293b; }
body.light-mode .terminal-title { color: #94a3b8; }
body.light-mode .premium-glass { background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%); border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05); }
body.light-mode .amount { background: linear-gradient(180deg, #0f172a, #475569); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
body.light-mode .cyber-form input, body.light-mode .cyber-form textarea { background: #f8fafc; border: 1px solid rgba(0, 0, 0, 0.1); color: var(--text-primary); }
body.light-mode .cyber-form input:focus, body.light-mode .cyber-form textarea:focus { background: #ffffff; border-color: var(--accent-cyan); }
body.light-mode .receipt-box { background: #f8fafc; border: 1px dashed rgba(0, 0, 0, 0.15); }
body.light-mode .receipt-row.total { color: var(--text-primary); }
body.light-mode .btn-primary { color: #ffffff; }
body.light-mode .btn-outline { border-color: var(--accent-cyan); }
body.light-mode .site-footer { background: #e2e8f0; border-top: 1px solid rgba(0, 0, 0, 0.05); }
body.light-mode .modal-backdrop, body.light-mode .admin-dashboard-wrap { background: rgba(255, 255, 255, 0.8); }
body.light-mode .radar-grid { background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px); }
body.light-mode .radar-sweep { background: conic-gradient(from 0deg, transparent 70%, rgba(124, 58, 237, 0.4) 100%); }

/* Admin Light Mode Overrides */
body.light-mode .admin-dash-header, body.light-mode .admin-dash-footer { background: rgba(255, 255, 255, 0.85); border-color: rgba(0, 0, 0, 0.05); }
body.light-mode .admin-sidebar { background: rgba(241, 245, 249, 0.7); border-color: rgba(0, 0, 0, 0.05); }
body.light-mode .admin-tab { color: var(--text-secondary); }
body.light-mode .admin-tab:hover { background: rgba(0, 0, 0, 0.03); color: var(--text-primary); }
body.light-mode .admin-tab.active { background: rgba(225, 29, 72, 0.05); color: var(--accent-red); }
body.light-mode .admin-content-area { background: #f8fafc; }
body.light-mode .admin-section-title { border-bottom-color: rgba(0,0,0,0.1); }
body.light-mode .admin-stat-card { background: rgba(255, 255, 255, 0.95); border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05); }
body.light-mode .admin-table-wrapper { background: rgba(255, 255, 255, 0.95); border-color: rgba(0, 0, 0, 0.08); box-shadow: 0 5px 20px -5px rgba(0, 0, 0, 0.05); }
body.light-mode .admin-data-table th { background: rgba(241, 245, 249, 0.9); border-bottom-color: rgba(0, 0, 0, 0.08); }
body.light-mode .admin-data-table td { border-bottom-color: rgba(0, 0, 0, 0.04); }
body.light-mode .admin-search-input { background: #fff; border-color: rgba(0,0,0,0.15); color: var(--text-primary); }
body.light-mode .admin-search-input:focus { border-color: var(--accent-red); box-shadow: 0 0 10px rgba(225, 29, 72, 0.1); }
body.light-mode .sidebar-divider { background: rgba(0,0,0,0.05); }

/* --- Resets --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-base); color: var(--text-primary); font-family: var(--font-display); line-height: 1.6; overflow-x: hidden; min-height: 100vh; transition: background-color var(--transition-smooth), color var(--transition-smooth); }
::selection { background: rgba(0, 240, 255, 0.3); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--bg-surface-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-cyan); }

/* --- Utilities --- */
.hidden-view { display: none !important; }
.text-cyan { color: var(--accent-cyan); }
.text-emerald { color: var(--accent-emerald); }
.text-purple { color: var(--accent-purple); }
.text-red { color: var(--accent-red) !important; }
.text-gradient { background: linear-gradient(90deg, var(--accent-cyan), var(--accent-emerald)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mono-text { font-family: var(--font-mono); }
.text-center { text-align: center; }

/* --- Ambient Background --- */
.ambient-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.grid-overlay { position: absolute; inset: -50%; width: 200%; height: 200%; background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px); background-size: 40px 40px; transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px); animation: gridMove 20s linear infinite; transition: background-image var(--transition-smooth); }
@keyframes gridMove { 0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); } 100% { transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px); } }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.15; animation: float 10s ease-in-out infinite alternate; }
.orb-1 { width: 600px; height: 600px; background: var(--accent-cyan); top: -200px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: var(--accent-purple); bottom: 10%; right: -100px; animation-delay: -3s; }
.orb-3 { width: 400px; height: 400px; background: var(--accent-emerald); top: 40%; left: 30%; animation-delay: -6s; opacity: 0.1;}
@keyframes float { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, 50px); } }

/* --- Navigation --- */
.navbar { position: fixed; top: 0; width: 100%; z-index: 100; background: rgba(3, 6, 13, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: background var(--transition-smooth), border-color var(--transition-smooth); }
.nav-container { max-width: 1400px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 0.5rem; font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 1px; transition: color var(--transition-fast); position: relative; }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active-nav { color: var(--accent-cyan); font-weight: bold; }
.nav-links a[href="#/jackpot"] { color: var(--text-secondary); text-shadow: none; }
.nav-links a[href="#/jackpot"]:hover { color: var(--text-primary); }
.nav-links a[href="#/jackpot"].active-nav { color: var(--accent-red) !important; text-shadow: 0 0 10px rgba(255,0,85,0.5) !important; }
.view-padding { padding-top: 6rem; }
.nav-actions { display: flex; gap: 1.5rem; align-items: center; }
.hover-underline::after { content: ''; position: absolute; width: 0; height: 1px; bottom: -4px; left: 0; background: var(--accent-cyan); transition: width var(--transition-fast); }
.hover-underline:hover::after { width: 100%; }

/* --- Action Buttons (Navbar) --- */
.action-icon-btn { width: 40px; height: 40px; padding: 0; box-sizing: border-box; display: flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--glass-border); border-radius: 6px; color: var(--text-secondary); cursor: pointer; transition: all var(--transition-fast); position: relative; flex-shrink: 0; }
.action-icon-btn svg { flex-shrink: 0; }
.action-icon-btn:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); background: rgba(0, 240, 255, 0.05); }
.theme-btn svg { position: absolute; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease; }
.theme-btn .sun-icon { transform: rotate(90deg) scale(0); opacity: 0; }
.theme-btn .moon-icon { transform: rotate(0) scale(1); opacity: 1; }
.action-outline-btn { padding: 0.5rem 1.25rem; background: transparent; border: 1px solid var(--accent-cyan); color: var(--accent-cyan); border-radius: 6px; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: all var(--transition-fast); }
.action-outline-btn:hover { background: rgba(0, 240, 255, 0.1); box-shadow: 0 0 10px rgba(0, 240, 255, 0.2); }
.action-outline-btn.subscribe-btn { padding: 0.5rem 1.5rem; }
.action-text-btn { background: transparent; border: none; color: var(--text-primary); font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: opacity var(--transition-fast), color var(--transition-fast); }
.action-text-btn:hover { opacity: 0.7; color: var(--accent-cyan); }

/* --- Settings Dropdown --- */
.settings-dropdown { position: relative; display: flex; align-items: center; }
.settings-menu { position: absolute; top: calc(100% + 10px); right: 0; background: rgba(3, 6, 13, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 8px; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; min-width: 160px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform-origin: top right; transition: all var(--transition-fast); z-index: 200; }
.settings-menu.hidden { opacity: 0; transform: scale(0.95); pointer-events: none; visibility: hidden; }
.settings-item { display: flex; justify-content: space-between; align-items: center; }
.settings-label { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }

body.light-mode .settings-menu { background: rgba(255, 255, 255, 0.95); border-color: rgba(0,0,0,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
body.light-mode .settings-label { color: var(--text-secondary); }

/* --- General Buttons --- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 2rem; font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; border: none; border-radius: 4px; cursor: pointer; overflow: hidden; transition: all var(--transition-fast); text-decoration: none; }
.btn-primary { background: transparent; color: var(--bg-base); }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, var(--accent-emerald), var(--accent-cyan)); z-index: -1; transition: opacity var(--transition-fast); }
.btn-primary:hover { box-shadow: 0 0 20px rgba(0, 240, 255, 0.4); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--accent-cyan); border: 1px solid var(--accent-cyan); }
.btn-outline:hover { background: rgba(0, 240, 255, 0.1); box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }
.btn-block { width: 100%; }
.pulse-glow { animation: btnPulse 2s infinite; }
@keyframes btnPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(0, 240, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); } }

/* --- Layout Sections --- */
.main-layout { padding-top: 80px; }
section { padding: 6rem 2rem; max-width: 1400px; margin: 0 auto; }
.section-heading { text-align: center; margin-bottom: 4rem; }
.section-heading h2 { font-size: 3rem; margin-bottom: 1rem; letter-spacing: -1px; }
.section-heading p { color: var(--text-secondary); font-family: var(--font-mono); font-size: 1rem; }

/* --- Hero Section --- */
.hero { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; padding-top: 4rem; padding-bottom: 2rem; }
.hero-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%; }
.badge-wrapper { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem; background: rgba(0, 255, 102, 0.1); border: 1px solid rgba(0, 255, 102, 0.3); border-radius: 20px; margin-bottom: 1.5rem; }
.system-status { width: 8px; height: 8px; background: var(--accent-emerald); border-radius: 50%; box-shadow: 0 0 10px var(--accent-emerald); animation: blink 2s infinite; }
.badge-text { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent-emerald); letter-spacing: 1px; }
.hero-text-content h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -2px; }
.hero-subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 2.5rem; max-width: 90%; white-space: pre-wrap; }

.terminal-container { background: var(--bg-surface); border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05); position: relative; transition: background var(--transition-smooth), box-shadow var(--transition-smooth); }
.terminal-header { background: rgba(0, 0, 0, 0.5); padding: 0.75rem 1rem; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); transition: background var(--transition-smooth); }
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span { width: 12px; height: 12px; border-radius: 50%; background: #475569; }
.terminal-dots span:nth-child(1) { background: #ef4444; }
.terminal-dots span:nth-child(2) { background: #eab308; }
.terminal-dots span:nth-child(3) { background: #22c55e; }
.terminal-title { margin: 0 auto; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-secondary); }
.live-indicator { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.75rem; color: #ef4444; font-weight: 700; }
.pulse-dot { width: 6px; height: 6px; background: #ef4444; border-radius: 50%; animation: blink 1s infinite; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.scanline { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0, 240, 255, 0.05) 51%, transparent 51%); background-size: 100% 4px; pointer-events: none; z-index: 10; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* --- Ticker Tape --- */
.ticker-wrap { width: 100%; overflow: hidden; background: rgba(0,0,0,0.8); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0.5rem 0; transition: background var(--transition-smooth), border-color var(--transition-smooth); }
.ticker-move { display: flex; white-space: nowrap; animation: ticker 25s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 1rem; padding: 0 2rem; font-family: var(--font-mono); font-size: 0.9rem; }
.ticker-symbol { color: var(--text-secondary); }
.ticker-price { color: var(--text-primary); font-weight: 700; }
.ticker-up { color: var(--accent-emerald); }
.ticker-down { color: #ef4444; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* --- Grid Systems (Bento & Split) --- */
.bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.engine-grid { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.glass-panel { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 16px; position: relative; overflow: hidden; box-shadow: var(--glass-shadow); transition: background var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth); }
.bento-card { padding: 2.5rem; transition: transform var(--transition-smooth), border-color var(--transition-fast); }
.bento-card:hover { transform: translateY(-5px); border-color: rgba(0, 240, 255, 0.3); }
.card-glow { position: absolute; top: -50px; right: -50px; width: 150px; height: 150px; background: var(--accent-cyan); filter: blur(80px); opacity: 0; transition: opacity var(--transition-smooth); border-radius: 50%; }
.purple-glow { background: var(--accent-purple); }
.emerald-glow { background: var(--accent-emerald); }
.red-glow { background: var(--accent-red); }
.bento-card:hover .card-glow { opacity: 0.25; }

.border-red-hover:hover { border-color: rgba(255, 0, 85, 0.4); box-shadow: 0 10px 40px rgba(255, 0, 85, 0.1); }
.border-red-btn { border-color: var(--accent-red) !important; color: var(--accent-red) !important; }
.border-red-btn:hover { background: rgba(255, 0, 85, 0.1) !important; box-shadow: 0 0 15px rgba(255, 0, 85, 0.3) !important; }
.icon-box { font-size: 2.5rem; margin-bottom: 1.5rem; display: inline-block; background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.holograpic-icon { filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5)); }
.bento-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.bento-card p { color: var(--text-secondary); font-size: 0.95rem; }

.split-layout { display: flex; flex-direction: column; gap: 6rem; }
.split-row { display: flex; align-items: center; gap: 4rem; }
.split-row.reverse { flex-direction: row-reverse; }
.text-content { flex: 1; }
.text-content .badge-wrapper { margin-bottom: 1rem; background: transparent; border: 1px solid var(--glass-border); }
.text-content h3 { font-size: 2.5rem; margin-bottom: 1.5rem; line-height: 1.2; }
.text-content p { font-size: 1.1rem; color: var(--text-secondary); }
.visual-content { flex: 1; display: flex; justify-content: center; }
.visual-box { width: 100%; max-width: 450px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 24px; background: rgba(10, 15, 26, 0.6); }
.visual-glow { position: absolute; width: 200px; height: 200px; filter: blur(100px); opacity: 0.2; }
.cyan-glow { background: var(--accent-cyan); }

/* Data Stream Anim */
.data-stream-anim { position: absolute; inset: 0; overflow: hidden; opacity: 0.3; }
.stream-line { position: absolute; top: -100px; width: 2px; height: 100px; background: linear-gradient(to bottom, transparent, var(--accent-cyan)); animation: matrixDrop 2s linear infinite; }
.stream-line:nth-child(1) { left: 20%; animation-duration: 1.5s; }
.stream-line:nth-child(2) { left: 40%; animation-duration: 2.2s; animation-delay: 0.5s; }
.stream-line:nth-child(3) { left: 60%; animation-duration: 1.8s; animation-delay: 1.2s; }
.stream-line:nth-child(4) { left: 80%; animation-duration: 2.5s; animation-delay: 0.2s; }
@keyframes matrixDrop { 0% { transform: translateY(-100px); opacity: 1; } 100% { transform: translateY(500px); opacity: 0; } }
.hologram-circle { width: 150px; height: 150px; border-radius: 50%; border: 2px dashed var(--accent-cyan); animation: spin 10s linear infinite; position: relative; box-shadow: 0 0 30px rgba(0, 240, 255, 0.2); }
.inner-ring { position: absolute; inset: 15px; border-radius: 50%; border: 1px solid var(--accent-emerald); animation: spin 6s linear infinite reverse; }

/* Radar Anim */
.radar-anim { width: 200px; height: 200px; border-radius: 50%; border: 1px solid var(--accent-purple); position: relative; overflow: hidden; box-shadow: 0 0 40px rgba(112, 0, 255, 0.2); }
.radar-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 20px 20px; border-radius: 50%; }
.radar-sweep { position: absolute; inset: 0; background: conic-gradient(from 0deg, transparent 70%, rgba(112, 0, 255, 0.5) 100%); border-radius: 50%; animation: spin 3s linear infinite; }
.radar-dot { position: absolute; width: 6px; height: 6px; background: var(--accent-cyan); border-radius: 50%; box-shadow: 0 0 10px var(--accent-cyan); opacity: 0; }
.dot-1 { top: 30%; left: 60%; animation: ping 3s infinite 0.5s; }
.dot-2 { top: 70%; left: 40%; animation: ping 3s infinite 1.5s; }
.dot-3 { top: 40%; left: 20%; animation: ping 3s infinite 2.2s; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes ping { 0% { opacity: 0; transform: scale(0.5); } 10% { opacity: 1; transform: scale(1.2); } 30% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }

/* --- UI Mockups --- */
.mockup-header { padding: 1rem; border-bottom: 1px solid var(--glass-border); background: rgba(0, 0, 0, 0.3); display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 0.85rem; font-weight: bold; }
.mockup-title { color: var(--text-primary); letter-spacing: 1px; }
.mockup-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; width: 100%; box-sizing: border-box; }

.mockup-social { flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; display: flex; }
.social-card-mockup { background: rgba(10, 15, 26, 0.6); border: 1px solid var(--glass-border); border-left: 4px solid var(--accent-cyan); border-radius: 8px; padding: 1rem; text-align: left; }
.sc-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
.sc-ticker { font-weight: bold; color: var(--text-primary); font-family: var(--font-mono); }
.sc-time { font-size: 0.75rem; color: var(--text-muted); }
.sc-stats { display: flex; gap: 1rem; font-size: 0.85rem; margin-bottom: 0.5rem; font-family: var(--font-mono); }
.sc-verdict { font-size: 0.8rem; font-weight: bold; font-family: var(--font-mono); padding-top: 0.5rem; border-top: 1px dashed rgba(255,255,255,0.1); }

.mockup-events-container { margin-bottom: 3rem; border-radius: 16px; overflow: hidden; }
.mockup-event-item { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); text-align: left; }
.mockup-event-item:last-child { border-bottom: none; }
.me-top { display: flex; justify-content: space-between; margin-bottom: 0.8rem; align-items: center; }
.me-time { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }
.me-badges { display: flex; gap: 10px; align-items: center; }
.me-badge { padding: 3px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; color: #fff; }
.bg-purple { background: rgba(112, 0, 255, 0.3); border: 1px solid var(--accent-purple); color: #d8b4fe; }
.bg-cyan { background: rgba(0, 240, 255, 0.2); border: 1px solid var(--accent-cyan); color: var(--accent-cyan); }
.me-imp { font-family: var(--font-mono); font-size: 0.8rem; font-weight: bold; color: var(--accent-red); }
.me-title { font-size: 1.1rem; font-weight: bold; margin-bottom: 0.5rem; color: var(--text-primary); }
.me-effect { background: rgba(0, 255, 102, 0.1); border-left: 3px solid var(--accent-emerald); padding: 10px; font-size: 0.9rem; color: var(--text-secondary); }

.mockup-lesson-container { border-radius: 16px; overflow: hidden; }
.border-bottom-emerald { border-bottom: 1px solid rgba(0, 255, 102, 0.3); }
.lesson-body-mockup { padding: 1.5rem; text-align: left; }
.lesson-card-mockup { background: rgba(0,0,0,0.4); border-left: 4px solid var(--accent-red); padding: 1.2rem; border-radius: 8px; border-top: 1px solid rgba(255,255,255,0.05); border-right: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.lc-header { display: flex; justify-content: space-between; margin-bottom: 0.8rem; font-family: var(--font-mono); font-weight: bold; }
.lc-ticker { color: var(--text-primary); font-size: 1.1rem; }
.lc-pnl { font-size: 0.9rem; background: rgba(255, 0, 85, 0.1); padding: 2px 8px; border-radius: 4px; }
.lc-content { font-size: 0.9rem; line-height: 1.5; color: var(--text-secondary); }
.lc-row { display: flex; gap: 8px; align-items: flex-start; }
.lc-label { font-weight: bold; font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-muted); }
.lc-label.text-emerald { color: var(--accent-emerald); }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }

.mockup-perf-dashboard { border-radius: 16px; overflow: hidden; max-width: 600px; margin: 0 auto 3rem auto; }
.border-bottom-cyan { border-bottom: 1px solid rgba(0, 240, 255, 0.3); }
.perf-body { padding: 1.5rem; text-align: left; }
.perf-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 1.5rem; }
.perf-stat-box { background: rgba(0,0,0,0.3); padding: 1rem; border-radius: 8px; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.ps-label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.5rem; letter-spacing: 1px; }
.ps-value { font-family: var(--font-mono); font-size: 1.5rem; font-weight: bold; }
.imp-stats-mockup { display: flex; flex-direction: column; gap: 10px; }
.imp-row { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.8rem; }
.imp-label { width: 60px; font-weight: bold; }
.imp-bar-bg { flex: 1; height: 8px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; }
.imp-bar-fill { height: 100%; border-radius: 4px; }
.bg-red { background: var(--accent-red); }
.imp-val { width: 60px; text-align: right; color: var(--text-secondary); }

.mockup-investor-dashboard { margin-bottom: 3rem; border-radius: 16px; overflow: hidden; }
.border-bottom-red { border-bottom-color: rgba(255, 0, 85, 0.3); }

.mockup-telegram { width: 100%; max-width: 350px; border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; background: rgba(10, 15, 26, 0.8); }
.tg-header { display: flex; align-items: center; gap: 10px; padding: 1rem; background: rgba(0, 0, 0, 0.5); border-bottom: 1px solid rgba(255,255,255,0.05); }
.tg-avatar { width: 40px; height: 40px; background: var(--accent-cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.tg-name { font-weight: bold; color: var(--text-primary); }
.tg-status { font-size: 0.75rem; color: var(--text-muted); }
.tg-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; background: rgba(0,0,0,0.2); }
.tg-msg { background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 12px; border-bottom-left-radius: 2px; font-size: 0.9rem; line-height: 1.5; color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.02); }
.tg-msg b { color: var(--text-primary); }

.mockup-allocation { width: 100%; max-width: 400px; padding: 2rem; border-radius: 16px; background: rgba(10, 15, 26, 0.8); }
.font-bold { font-weight: bold; }

.border-cyan-hover:hover { border-color: rgba(0, 240, 255, 0.4) !important; box-shadow: 0 10px 40px rgba(0, 240, 255, 0.1) !important; }
.mockup-urgent { width: 100%; max-width: 450px; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: rgba(10, 15, 26, 0.9); }
.bg-white { background: #fff; }
.hostile-vignette-mockup { position: absolute; inset: 0; background: radial-gradient(circle, transparent 30%, rgba(255, 0, 85, 0.3) 100%); animation: pulse-vignette-mock 3s infinite; z-index: 1; pointer-events: none; }
@keyframes pulse-vignette-mock { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }
.mockup-terminal { width: 100%; max-width: 500px; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: rgba(10, 15, 26, 0.9); }

.mid-body { padding: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; text-align: left; }
@media (max-width: 768px) { .mid-body { grid-template-columns: 1fr; } }
.mid-section h4 { margin-bottom: 1rem; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.5rem; }
.mid-card { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); padding: 1.2rem; border-radius: 8px; }
.border-left-emerald { border-left: 4px solid var(--accent-emerald); }
.border-left-red { border-left: 4px solid var(--accent-red); }
.mid-c-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.mid-ticker { font-weight: bold; font-size: 1.1rem; font-family: var(--font-mono); color: var(--text-primary); }
.mid-badge { padding: 3px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; color: #000; }
.bg-emerald { background: var(--accent-emerald); }
.bg-red { background: var(--accent-red); color: #fff; }
.mid-c-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

.mb-4 { margin-bottom: 2.5rem; }

/* --- Track Record & Mockup UI --- */
.stats-container { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.stat-box { flex: 1; min-width: 250px; padding: 3rem 2rem; text-align: center; border-radius: 20px; transition: transform var(--transition-smooth), box-shadow var(--transition-smooth); }
.stat-box:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1); }
.stat-value { font-size: 3.5rem; font-weight: 700; font-family: var(--font-mono); line-height: 1.2; margin-bottom: 0.5rem; }
.stat-label { color: var(--text-secondary); font-size: 1.1rem; letter-spacing: 1px; }

.mockup-chat { width: 100%; max-width: 450px; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; background: rgba(10, 15, 26, 0.8); }
.chat-header { padding: 1rem; border-bottom: 1px solid var(--glass-border); background: rgba(0, 0, 0, 0.3); }
.chat-tabs { display: flex; gap: 0.5rem; background: rgba(0,0,0,0.5); padding: 0.3rem; border-radius: 8px; }
.chat-tab { flex: 1; text-align: center; padding: 0.5rem; font-size: 0.85rem; color: var(--text-muted); cursor: pointer; border-radius: 4px; transition: all var(--transition-fast); }
.chat-tab.active { background: rgba(0, 240, 255, 0.1); color: var(--accent-cyan); font-weight: bold; }
.chat-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.chat-msg { max-width: 85%; font-size: 0.9rem; line-height: 1.4; padding: 0.8rem 1rem; border-radius: 8px; }
.ai-msg { align-self: flex-start; background: rgba(0, 240, 255, 0.05); border: 1px solid rgba(0, 240, 255, 0.2); color: var(--text-primary); border-bottom-left-radius: 2px; }
.user-msg { align-self: flex-end; background: var(--accent-cyan); color: #000; border-bottom-right-radius: 2px; }

/* --- Pricing Section --- */
.pricing-container { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.premium-glass { background: linear-gradient(180deg, rgba(10, 15, 26, 0.8) 0%, rgba(5, 8, 15, 0.9) 100%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; position: relative; transition: background var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth); }
.pricing-card { width: 100%; flex: 1; min-width: 320px; max-width: 420px; padding: 2.5rem; display: flex; flex-direction: column; align-items: center; box-shadow: 0 0 40px rgba(0, 240, 255, 0.05); transition: transform var(--transition-smooth), box-shadow var(--transition-smooth); }
.highlight-card { box-shadow: 0 0 40px rgba(0, 240, 255, 0.15); transform: translateY(-10px); }
.pricing-card:hover { transform: translateY(-15px) scale(1.02); }
.disabled { color: var(--text-muted) !important; }
.cross { color: var(--accent-red); font-family: var(--font-mono); font-weight: bold; }
.card-border-anim.gold-anim { background: linear-gradient(45deg, transparent, var(--accent-purple), #ff0055, transparent); }
.elite-card { box-shadow: 0 0 40px rgba(112, 0, 255, 0.15); }
.elite-card:hover { box-shadow: 0 0 60px rgba(112, 0, 255, 0.3); }
.card-border-anim { position: absolute; inset: 0; border-radius: 20px; padding: 2px; background: linear-gradient(45deg, transparent, var(--accent-cyan), var(--accent-emerald), transparent); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.5; pointer-events: none; }
.tier-label { background: rgba(0, 240, 255, 0.1); color: var(--accent-cyan); padding: 0.5rem 1.5rem; border-radius: 20px; font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 2rem; border: 1px solid rgba(0, 240, 255, 0.2); }
.price-display { display: flex; align-items: baseline; margin-bottom: 2rem; }
.currency { font-size: 2rem; color: var(--text-secondary); font-family: var(--font-mono); transform: translateY(-15px); }
.amount { font-size: 4rem; font-weight: 700; line-height: 1; background: linear-gradient(180deg, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; transition: background var(--transition-smooth); }
.period { color: var(--text-secondary); font-family: var(--font-mono); margin-left: 0.5rem; }
.divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent); margin-bottom: 2rem; }
.benefit-list { list-style: none; width: 100%; margin-bottom: 3rem; }
.benefit-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; color: var(--text-primary); font-size: 1.05rem; }
.check { color: var(--accent-emerald); font-family: var(--font-mono); font-weight: bold; }

/* --- Footer --- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.05); background: var(--bg-surface); padding: 3rem 2rem; text-align: center; transition: background var(--transition-smooth), border-color var(--transition-smooth); }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-content p { color: var(--text-secondary); font-size: 0.9rem; font-family: var(--font-mono); }
.footer-links { display: flex; gap: 1.5rem; margin-top: 1rem; align-items: center;}
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color var(--transition-fast), opacity var(--transition-fast); }
.footer-links a:hover { color: var(--accent-cyan); }
.admin-access-link { opacity: 0.2; font-family: var(--font-mono); text-transform: uppercase; }
.admin-access-link:hover { opacity: 1; color: var(--accent-red) !important; text-shadow: 0 0 8px rgba(255,0,85,0.4); }

/* --- Whitepaper Modal --- */
.wp-backdrop { background: rgba(3, 6, 13, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.wp-container { 
    width: 100%; 
    max-width: 900px; 
    height: 90vh; 
    background: var(--bg-surface); 
    position: relative; 
    border-radius: 12px; 
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.1); 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    transform: translateY(0); 
    transition: transform var(--transition-smooth); 
    border: 1px solid var(--glass-border);
}
.modal.hidden .wp-container { transform: translateY(50px); }
.wp-close { top: 1.5rem; right: 2rem; font-size: 2rem; position: absolute; z-index: 10; background: rgba(0,0,0,0.5); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;}
.wp-content-area { 
    padding: 4rem 3rem; 
    overflow-y: auto; 
    scroll-behavior: smooth; 
}
.wp-section { display: none; color: var(--text-primary); animation: slideUp 0.3s ease-out; }
.wp-section.active { display: block; }
.wp-section h2 { font-size: 2.2rem; color: var(--accent-cyan); margin-bottom: 1.5rem; line-height: 1.2; letter-spacing: -0.5px;}
.wp-section h3 { font-size: 1.4rem; color: var(--text-primary); margin-top: 2rem; margin-bottom: 1rem; border-left: 3px solid var(--accent-emerald); padding-left: 10px;}
.wp-section p { font-size: 1.05rem; line-height: 1.8; color: var(--text-secondary); margin-bottom: 1.5rem; }
.wp-section ul { margin-bottom: 1.5rem; padding-left: 1.5rem; color: var(--text-secondary); line-height: 1.8;}
.wp-section li { margin-bottom: 0.5rem; }
.wp-section strong { color: var(--text-primary); }
.wp-section .wp-quote { font-family: var(--font-mono); font-size: 1.1rem; color: var(--accent-purple); border-left: 2px dashed var(--accent-purple); padding-left: 1rem; margin: 2rem 0; font-style: italic; }

/* Legal Modal Styles */
.legal-content-area h3 { color: var(--text-primary); font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: 0.5rem; border-left: 3px solid var(--accent-emerald); padding-left: 10px; }
.legal-content-area p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; }
.legal-content-area strong { color: var(--accent-red); }

@media (max-width: 768px) {
    .wp-content-area { padding: 3rem 1.5rem; }
    .wp-section h2 { font-size: 1.8rem; }
}

/* --- Cyber Forms & Modals --- */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; justify-content: center; align-items: center; padding: 1rem; transition: opacity var(--transition-smooth), visibility var(--transition-smooth); }
.modal.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background var(--transition-smooth); }
.modal-container { width: 100%; max-width: 480px; padding: 2.5rem; position: relative; transform: translateY(0) scale(1); transition: transform var(--transition-smooth), background var(--transition-smooth); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1), 0 0 0 1px rgba(0, 240, 255, 0.2); }
.modal.hidden .modal-container { transform: translateY(20px) scale(0.95); }
.modal-glow { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(0, 240, 255, 0.05) 0%, transparent 50%); pointer-events: none; z-index: -1; }
.btn-close { position: absolute; top: 1.5rem; right: 1.5rem; background: transparent; border: none; color: var(--text-secondary); font-size: 1.5rem; cursor: pointer; transition: color var(--transition-fast); }
.btn-close:hover { color: var(--accent-cyan); }
.modal-header { margin-bottom: 2rem; }
.modal-header h2 { font-size: 1.8rem; margin-bottom: 0.2rem; }
.sub-text { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); }

.cyber-form .input-group { margin-bottom: 1.5rem; }
.cyber-form .input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cyber-form label { display: block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.input-wrapper { position: relative; }
.cyber-form input, .cyber-form textarea { width: 100%; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; font-family: var(--font-mono); font-size: 1rem; padding: 0.8rem 1rem; border-radius: 4px; outline: none; transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast); resize: vertical; }
.cyber-form input:focus, .cyber-form textarea:focus { border-color: var(--accent-cyan); background: rgba(0, 240, 255, 0.02); }
.input-border { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent-cyan); transition: width var(--transition-fast); }
.cyber-form input:focus ~ .input-border, .cyber-form textarea:focus ~ .input-border { width: 100%; }

.receipt-box { background: rgba(0, 0, 0, 0.3); border: 1px dashed rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 1.5rem; margin: 2rem 0; transition: background var(--transition-smooth), border-color var(--transition-smooth); }
.receipt-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-secondary); }
.receipt-divider { height: 1px; background: dashed rgba(255, 255, 255, 0.1); margin: 1rem 0; transition: background var(--transition-smooth); }
.receipt-row.total { margin-bottom: 0; color: #fff; font-size: 1.1rem; font-weight: 700; }

.toast { margin-top: 1.5rem; padding: 1rem; background: rgba(0, 255, 102, 0.1); border: 1px solid var(--accent-emerald); border-radius: 4px; display: flex; align-items: center; gap: 1rem; animation: slideUp 0.3s ease-out; }
.toast.hidden { display: none; }
.toast-icon { background: var(--accent-emerald); color: #000; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.toast-text { color: var(--accent-emerald); font-family: var(--font-mono); font-size: 0.85rem; }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- User Auth Modal Specifics --- */
.auth-glass {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1), 0 0 0 1px rgba(0, 240, 255, 0.15);
}
.auth-icon-wrap {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.auth-tabs-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.auth-tabs {
    display: flex;
    position: relative;
}
.auth-tab {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 6px;
    transition: all var(--transition-fast);
}
.auth-tab:hover {
    color: var(--text-primary);
}
.auth-tab.active {
    background: rgba(0, 240, 255, 0.15);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}
body.light-mode .auth-tabs-container {
    background: rgba(241, 245, 249, 0.8);
    border-color: rgba(0, 0, 0, 0.05);
}
body.light-mode .auth-tab.active {
    background: #ffffff;
    color: var(--accent-cyan);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* --- Profile Modal & Neural UI (My Page) --- */
.profile-glass {
    border-color: rgba(112, 0, 255, 0.3) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1), 0 0 0 1px rgba(112, 0, 255, 0.15) !important;
}
.profile-icon-wrap {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.prof-balance-box {
    margin-bottom: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(112, 0, 255, 0.2) !important;
    background: linear-gradient(180deg, rgba(112, 0, 255, 0.05) 0%, rgba(10, 15, 26, 0.6) 100%) !important;
    border-radius: 12px;
    box-shadow: inset 0 0 20px rgba(112, 0, 255, 0.05);
}
.prof-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}
.prof-balance {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-mono);
    line-height: 1;
    text-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}
.currency-symbol {
    font-size: 1.5rem;
    color: var(--text-muted);
    vertical-align: super;
    margin-right: 8px;
}
.ref-form-group {
    margin-bottom: 1.5rem;
}
.copy-input-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
}
.flex-1 {
    flex: 1;
}
.copy-input-wrap input {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    color: var(--accent-purple) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    font-family: var(--font-mono) !important;
}
.copy-input-wrap input:focus {
    background: rgba(112, 0, 255, 0.05) !important;
}
.copy-btn {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0 1.5rem;
    height: auto;
}
.copy-btn:hover {
    background: rgba(112, 0, 255, 0.15) !important;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.3) !important;
    color: var(--accent-purple) !important;
    border-color: var(--accent-purple) !important;
}
.prof-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.purple-outline {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    flex: 1;
}
.purple-outline:hover {
    background: rgba(112, 0, 255, 0.1);
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.2);
}
.red-outline {
    border-color: var(--accent-red);
    color: var(--accent-red);
    flex: 1;
}
.red-outline:hover {
    background: rgba(255, 0, 85, 0.1);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.2);
}
.withdraw-form {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    animation: slideDown 0.3s ease-out forwards;
}
.withdraw-form.hidden {
    display: none;
}
.pulse-glow-purple {
    background: transparent;
    color: #fff;
}
.pulse-glow-purple::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--accent-purple), #ff00aa);
    z-index: -1;
}
.pulse-glow-purple:hover {
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
    transform: translateY(-2px);
}
.purple-border {
    background: var(--accent-purple) !important;
}
.cyber-form input:focus ~ .purple-border {
    width: 100%;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Admin UI Elements --- */
.admin-glass { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1), 0 0 0 1px rgba(255, 0, 85, 0.2); }
.admin-glass .btn-close:hover { color: var(--accent-red); }
.red-glow { background: radial-gradient(circle at center, rgba(255, 0, 85, 0.1) 0%, transparent 50%); }
.text-red-muted { color: rgba(255, 0, 85, 0.7); }
.admin-form .red-border { background: var(--accent-red); }
.admin-form input:focus, .admin-form textarea:focus { border-color: var(--accent-red); background: rgba(255, 0, 85, 0.02); }
.admin-submit-btn::before { background: linear-gradient(45deg, #cc0044, var(--accent-red)); }
.admin-submit-btn:hover { box-shadow: 0 0 20px rgba(255, 0, 85, 0.4); }
.pulse-glow-red { animation: btnPulseRed 2s infinite; }
@keyframes btnPulseRed { 0% { box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(255, 0, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 0, 85, 0); } }
.admin-toast { background: rgba(255, 0, 85, 0.1); border-color: var(--accent-red); }
.admin-toast .toast-icon { background: var(--accent-red); color: #fff; }
.admin-toast .toast-text { color: var(--accent-red); }

/* Admin Dashboard Layout */
.admin-dashboard-wrap { position: fixed; inset: 0; z-index: 2000; display: flex; justify-content: center; align-items: center; background: rgba(0,0,0,0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: opacity var(--transition-smooth), visibility var(--transition-smooth); }
.admin-dashboard-wrap.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.admin-dash-container { width: 100vw; height: 100vh; max-width: 100vw; display: flex; flex-direction: column; background: var(--bg-base); border: none; border-radius: 0; overflow: hidden; box-shadow: none; transform: translateY(0) scale(1); transition: transform var(--transition-smooth); }
.admin-dashboard-wrap.hidden .admin-dash-container { transform: translateY(20px) scale(0.98); }

.admin-dash-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; background: rgba(0,0,0,0.5); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.admin-brand { font-family: var(--font-mono); font-size: 1.2rem; font-weight: bold; letter-spacing: 2px; color: var(--text-primary); }
.admin-header-actions { display: flex; align-items: center; gap: 2rem; }
.admin-status { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-secondary); }
.admin-top-btn { border-color: rgba(255,255,255,0.2); color: var(--text-secondary); }
.admin-top-btn.action-outline-btn { padding: 0.3rem 0.8rem; font-size: 0.75rem; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.admin-top-btn.action-icon-btn { width: 36px; height: 36px; flex-shrink: 0; }
.admin-top-btn:hover { border-color: var(--accent-red); color: var(--accent-red); background: rgba(255,0,85,0.05); box-shadow: none; }
body.light-mode .admin-top-btn { border-color: rgba(0,0,0,0.2); color: var(--text-secondary); }
body.light-mode .admin-top-btn:hover { border-color: var(--accent-red); color: var(--accent-red); background: rgba(255,0,85,0.05); }
.btn-close-dash { background: transparent; border: none; color: var(--text-secondary); font-size: 2rem; cursor: pointer; transition: color var(--transition-fast); line-height: 1; }
.btn-close-dash:hover { color: var(--accent-red); }

.admin-dash-body { display: flex; flex: 1; overflow: hidden; }
.admin-sidebar { width: 250px; background: rgba(0,0,0,0.3); border-right: 1px solid rgba(255,255,255,0.05); padding: 2rem 0; display: flex; flex-direction: column; gap: 0.5rem; overflow-y: auto; }
.admin-tab { background: transparent; border: none; padding: 1rem 2rem; text-align: left; color: var(--text-secondary); font-family: var(--font-mono); font-size: 0.9rem; cursor: pointer; border-left: 3px solid transparent; transition: all var(--transition-fast); flex-shrink: 0; }
.admin-tab:hover { background: rgba(255,255,255,0.02); color: var(--text-primary); }
.admin-tab.active { background: rgba(255, 0, 85, 0.05); color: var(--accent-red); border-left-color: var(--accent-red); font-weight: bold; }

.sidebar-category { margin: 0.5rem 0; display: flex; flex-direction: column; gap: 0.2rem; flex-shrink: 0; }
.category-title { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; padding: 0.5rem 2rem; letter-spacing: 1px; font-weight: bold; }
.sub-tab { padding-left: 3rem !important; font-size: 0.85rem !important; }

.admin-content-area { flex: 1; padding: 3rem; overflow-y: auto; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.2)); }
.admin-section { display: none; max-width: 1000px; margin: 0 auto; animation: slideUp 0.3s ease-out; }
.admin-section.active { display: block; }
.admin-section-title { font-size: 1.5rem; margin-bottom: 2rem; color: var(--text-primary); border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 1rem; }

.admin-dash-footer { padding: 1.5rem 2rem; background: rgba(0,0,0,0.5); border-top: 1px solid rgba(255, 255, 255, 0.05); display: flex; justify-content: flex-end; align-items: center; }

/* --- Admin Dashboard Overrides & New UI --- */
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(10, 15, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.admin-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 85, 0.3);
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.1);
}

.stat-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    transition: opacity var(--transition-smooth);
}

.admin-stat-card:hover .stat-glow {
    opacity: 0.3;
}

.stat-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2rem;
    text-shadow: 0 0 20px currentColor;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tables */
.admin-table-wrapper {
    border-radius: 12px;
    overflow-x: auto;
    background: rgba(5, 8, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    margin-bottom: 2rem;
}

.admin-data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-family: var(--font-display);
}

.admin-data-table th {
    padding: 1.2rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0,0,0,0.3);
    white-space: nowrap;
}

.admin-data-table td {
    padding: 1.2rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    transition: background var(--transition-fast);
}

.admin-data-table tbody tr {
    transition: background var(--transition-fast);
}

.admin-data-table tbody tr:hover {
    background: rgba(255, 0, 85, 0.05);
}

.admin-data-table tbody tr:hover td {
    color: #fff;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
}

.badge-active { color: var(--accent-emerald); background: rgba(0, 255, 102, 0.1); border: 1px solid rgba(0, 255, 102, 0.3); }
.badge-canceled { color: var(--text-secondary); background: rgba(148, 163, 184, 0.1); border: 1px solid rgba(148, 163, 184, 0.3); }
.badge-sent { color: var(--accent-cyan); background: rgba(0, 240, 255, 0.1); border: 1px solid rgba(0, 240, 255, 0.3); }
.badge-failed { color: var(--accent-red); background: rgba(255, 0, 85, 0.1); border: 1px solid rgba(255, 0, 85, 0.3); }
.badge-pro { color: var(--accent-cyan); background: rgba(0, 240, 255, 0.05); border: 1px solid rgba(0, 240, 255, 0.2); }
.badge-jackpot { color: var(--accent-purple); background: rgba(112, 0, 255, 0.1); border: 1px solid rgba(112, 0, 255, 0.3); }
.badge-observer { color: var(--text-secondary); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); }
.badge-free { color: var(--text-secondary); background: transparent; border: 1px dashed rgba(255, 255, 255, 0.2); }

/* Search Input Admin */
.admin-search-wrap {
    position: relative;
}
.admin-search-input {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    outline: none;
    width: 250px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.admin-search-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(225,0,85,0.2);
}

.sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 1rem 2rem;
    flex-shrink: 0;
}

.clickable-row {
    cursor: pointer;
}
.clickable-row:hover td {
    background: rgba(0, 240, 255, 0.1) !important;
    color: #fff !important;
}
.admin-detail-body::-webkit-scrollbar {
    width: 6px;
}
.admin-pagination-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .hero-wrapper { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .split-row, .split-row.reverse { flex-direction: column; text-align: center; gap: 3rem; }
    .nav-container { flex-wrap: wrap; gap: 1rem; }
    .brand { flex: 1; }
    .nav-actions { flex: 1; justify-content: flex-end; }
    .nav-links { display: flex; order: 3; width: 100%; justify-content: center; gap: 1.5rem; margin-top: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem; white-space: nowrap; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) {
    .nav-links { justify-content: flex-start; }
    .action-text-btn { display: none; }
}
@media (max-width: 768px) {
    .hero-text-content h1 { font-size: 3rem; }
    .stat-value { font-size: 2.8rem; }
    .pricing-card { padding: 2rem; }
    .amount { font-size: 4rem; }
    
    .admin-dash-header { padding: 1rem 1.5rem; }
    .admin-brand { font-size: 1rem; }
    .admin-header-actions { gap: 1rem; }
    .admin-status [data-i18n="admin-status-conn"] { display: none; }
    
    .admin-dash-body { flex-direction: column; }
    .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0; flex-direction: row; overflow-x: auto; align-items: center; display: flex; }
    .admin-tab { padding: 1rem; border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
    .admin-tab.active { border-left-color: transparent; border-bottom-color: var(--accent-red); }
    .sidebar-divider { display: none; }
    
    /* 모바일 카테고리 메뉴 깨짐 방지 */
    .sidebar-category { display: flex; flex-direction: row; margin: 0; padding: 0; }
    .category-title { display: none; }
    .sub-tab { padding-left: 1rem !important; font-size: 0.9rem !important; }
    
    .admin-content-area { padding: 1.5rem; }
}
@media (max-width: 480px) {
    .cyber-form .input-row { grid-template-columns: 1fr; }
}

/* --- Profile Modal & Neural UI (My Page) --- */
.profile-glass {
    border-color: rgba(112, 0, 255, 0.3) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1), 0 0 0 1px rgba(112, 0, 255, 0.15) !important;
}
.profile-icon-wrap {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.prof-balance-box {
    margin-bottom: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(112, 0, 255, 0.2) !important;
    background: linear-gradient(180deg, rgba(112, 0, 255, 0.05) 0%, rgba(10, 15, 26, 0.6) 100%) !important;
    border-radius: 12px;
    box-shadow: inset 0 0 20px rgba(112, 0, 255, 0.05);
}
.prof-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}
.prof-balance {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-mono);
    line-height: 1;
    text-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}
.currency-symbol {
    font-size: 1.5rem;
    color: var(--text-muted);
    vertical-align: super;
    margin-right: 8px;
}
.ref-form-group {
    margin-bottom: 1.5rem;
}
.copy-input-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
}
.flex-1 {
    flex: 1;
}
.copy-input-wrap input {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    color: var(--accent-purple) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    font-family: var(--font-mono) !important;
}
.copy-input-wrap input:focus {
    background: rgba(112, 0, 255, 0.05) !important;
}
.copy-btn {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0 1.5rem;
    height: auto;
}
.copy-btn:hover {
    background: rgba(112, 0, 255, 0.15) !important;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.3) !important;
    color: var(--accent-purple) !important;
    border-color: var(--accent-purple) !important;
}
.prof-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}
.purple-outline {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    flex: 1;
}
.purple-outline:hover {
    background: rgba(112, 0, 255, 0.1);
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.2);
}
.red-outline {
    border-color: var(--accent-red);
    color: var(--accent-red);
    flex: 1;
}
.red-outline:hover {
    background: rgba(255, 0, 85, 0.1);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.2);
}
.withdraw-form {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    animation: slideDown 0.3s ease-out forwards;
}
.withdraw-form.hidden {
    display: none;
}
.pulse-glow-purple {
    background: transparent;
    color: #fff;
}
.pulse-glow-purple::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--accent-purple), #ff00aa);
    z-index: -1;
}
.pulse-glow-purple:hover {
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
    transform: translateY(-2px);
}
.purple-border {
    background: var(--accent-purple) !important;
}
.cyber-form input:focus ~ .purple-border {
    width: 100%;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}