/* ============================================================
   Zynovarica Social Casino - Main Stylesheet
   Social Casino Entertainment Platform
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: #1a2235;
    --bg-card-hover: #1f2a40;
    --bg-input: #0f1724;
    --border-color: #2a3550;
    --border-light: #374160;

    --text-primary: #f0f2f5;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-white: #ffffff;

    --accent-primary: #f59e0b;
    --accent-primary-hover: #d97706;
    --accent-secondary: #8b5cf6;
    --accent-secondary-hover: #7c3aed;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-blue: #3b82f6;

    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    --gradient-hero: linear-gradient(135deg, #0a0e17 0%, #1a1040 50%, #0a0e17 100%);
    --gradient-card: linear-gradient(145deg, #1a2235 0%, #151c2e 100%);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(245,158,11,0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;

    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}
a { color: var(--accent-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-primary-hover); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* --- Container --- */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--text-white); }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.section-title { text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-full);
    font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
    border: none; cursor: pointer; transition: var(--transition);
    text-decoration: none; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gradient-gold); color: #000; }
.btn-primary:hover { box-shadow: var(--shadow-glow); color: #000; }
.btn-secondary { background: var(--gradient-purple); color: #fff; }
.btn-secondary:hover { box-shadow: 0 0 20px rgba(139,92,246,0.3); color: #fff; }
.btn-outline {
    background: transparent; color: var(--text-primary);
    border: 2px solid var(--border-color);
}
.btn-outline:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-danger { background: var(--accent-red); color: #fff; }
.btn-success { background: var(--accent-green); color: #fff; }

/* --- Cards --- */
.card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}
.card:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- Alerts --- */
.alert {
    padding: 14px 20px; border-radius: var(--radius-md);
    margin-bottom: 20px; font-size: 0.9rem;
    border: 1px solid transparent;
}
.alert-success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); color: var(--accent-green); }
.alert-error, .alert-danger { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: var(--accent-red); }
.alert-warning { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.3); color: var(--accent-primary); }
.alert-info { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.3); color: var(--accent-blue); }

/* --- Badges --- */
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 12px; border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-age { background: rgba(239,68,68,0.2); color: var(--accent-red); border: 1px solid rgba(239,68,68,0.3); }
.badge-entertainment { background: rgba(245,158,11,0.2); color: var(--accent-primary); border: 1px solid rgba(245,158,11,0.3); }
.badge-virtual { background: rgba(139,92,246,0.2); color: var(--accent-secondary); border: 1px solid rgba(139,92,246,0.3); }
.badge-demo { background: rgba(59,130,246,0.2); color: var(--accent-blue); border: 1px solid rgba(59,130,246,0.3); }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; margin-bottom: 6px;
    font-weight: 500; font-size: 0.9rem; color: var(--text-secondary);
}
.form-control {
    width: 100%; padding: 12px 16px;
    background: var(--bg-input); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); color: var(--text-primary);
    font-family: var(--font-body); font-size: 0.95rem;
    transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(245,158,11,0.1); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 0.8rem; color: var(--accent-red); margin-top: 4px; }

/* ============================================================
   Navigation
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 1000; }
.navbar {
    background: rgba(10,14,23,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}
.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem;
    color: var(--text-white);
}
.nav-brand i { color: var(--accent-primary); font-size: 1.5rem; }
.nav-brand:hover { color: var(--text-white); }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 8px; }
.nav-links a {
    padding: 8px 16px; border-radius: var(--radius-full);
    color: var(--text-secondary); font-weight: 500; font-size: 0.9rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-white); background: rgba(255,255,255,0.05); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-coins {
    display: flex; align-items: center; gap: 6px;
    background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2);
    padding: 6px 14px; border-radius: var(--radius-full);
    color: var(--accent-primary); font-weight: 600; font-size: 0.85rem;
}

.nav-user-dropdown { position: relative; }
.nav-user-btn {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-color);
    padding: 6px 14px; border-radius: var(--radius-full);
    color: var(--text-primary); cursor: pointer; font-size: 0.85rem;
    font-family: var(--font-body);
}
.nav-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--gradient-gold); display: flex;
    align-items: center; justify-content: center; color: #000; font-size: 0.75rem;
}
.dropdown-menu {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); min-width: 200px;
    box-shadow: var(--shadow-lg); display: none; overflow: hidden; z-index: 100;
}
.dropdown-menu.show { display: block; }
.dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px; color: var(--text-secondary); font-size: 0.9rem;
}
.dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: var(--text-white); }
.dropdown-menu hr { border: none; border-top: 1px solid var(--border-color); margin: 4px 0; }
.dropdown-logout-btn {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 10px 16px; color: var(--text-secondary); font-size: 0.9rem;
    background: none; border: none; cursor: pointer; text-align: left;
}
.dropdown-logout-btn:hover { background: rgba(255,255,255,0.05); color: var(--text-white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--text-primary);
    margin: 5px 0; transition: var(--transition);
}

/* Compliance Bar */
.compliance-bar {
    background: rgba(245,158,11,0.08); border-bottom: 1px solid rgba(245,158,11,0.15);
    padding: 6px 0; text-align: center;
}
.compliance-bar span { font-size: 0.75rem; color: var(--accent-primary); font-weight: 500; }
.compliance-bar i { margin-right: 6px; }

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    background: var(--gradient-hero);
    padding: 80px 0 100px;
    text-align: center; position: relative;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(139,92,246,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(245,158,11,0.1) 0%, transparent 40%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2);
    padding: 8px 20px; border-radius: var(--radius-full);
    margin-bottom: 24px; font-size: 0.85rem; color: var(--accent-primary); font-weight: 500;
}
.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #f59e0b 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 10px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-disclaimer {
    font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; margin-bottom: 32px;
    padding: 10px 20px; background: rgba(0,0,0,0.3); border-radius: var(--radius-md);
    display: inline-block;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
    display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
    margin-top: 50px; padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.hero-stat { text-align: center; }
.hero-stat .number { display: block; font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--accent-primary); }
.hero-stat .label { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-secondary); }
.section-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

/* --- Featured Games --- */
.games-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.game-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden; transition: var(--transition);
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-primary); }
.game-thumb {
    height: 180px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1a1040 0%, #0d1117 100%);
    display: flex; align-items: center; justify-content: center;
}
.game-thumb-icon { font-size: 3rem; color: var(--accent-primary); opacity: 0.6; }
.game-thumb .game-badge {
    position: absolute; top: 12px; right: 12px;
}
.game-info { padding: 16px; }
.game-info h3 { font-size: 1.1rem; margin-bottom: 6px; }
.game-info p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 12px; }
.game-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 12px; border-top: 1px solid var(--border-color);
    font-size: 0.8rem; color: var(--text-muted);
}
.game-category { text-transform: capitalize; }

/* --- Features --- */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.feature-card { text-align: center; padding: 32px 24px; }
.feature-icon {
    width: 64px; height: 64px; border-radius: var(--radius-lg);
    background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 1.5rem; color: var(--accent-primary);
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* --- Leaderboard --- */
.leaderboard-table {
    width: 100%; border-collapse: collapse;
    background: var(--bg-card); border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid var(--border-color);
}
.leaderboard-table th {
    background: rgba(0,0,0,0.3); padding: 14px 20px;
    text-align: left; font-weight: 600; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
}
.leaderboard-table td {
    padding: 14px 20px; border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}
.leaderboard-table tr:hover td { background: rgba(255,255,255,0.02); }
.rank-badge {
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem;
}
.rank-1 { background: var(--gradient-gold); color: #000; }
.rank-2 { background: linear-gradient(135deg, #94a3b8, #64748b); color: #000; }
.rank-3 { background: linear-gradient(135deg, #d97706, #92400e); color: #fff; }

/* --- Reviews / Feedback --- */
.reviews-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.review-card { padding: 28px; }
.review-stars { color: var(--accent-primary); margin-bottom: 12px; font-size: 0.9rem; }
.review-text { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 16px; font-style: italic; }
.review-author { font-weight: 600; font-size: 0.9rem; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    margin-bottom: 12px; overflow: hidden;
}
.faq-question {
    width: 100%; padding: 16px 20px;
    background: var(--bg-card); border: none;
    color: var(--text-primary); font-size: 0.95rem; font-weight: 500;
    text-align: left; cursor: pointer; transition: var(--transition);
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-body);
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question i { transition: transform 0.3s; color: var(--accent-primary); }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer {
    padding: 0 20px; max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--bg-card); color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7;
}
.faq-answer.show { max-height: 500px; padding: 0 20px 20px; }

/* ============================================================
   Auth Pages
   ============================================================ */
.auth-page {
    min-height: calc(100vh - 120px);
    display: flex; align-items: center; justify-content: center;
    padding: 40px 20px;
}
.auth-card {
    width: 100%; max-width: 440px;
    background: var(--gradient-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-xl); padding: 40px;
}
.auth-card h1 {
    font-size: 1.75rem; text-align: center; margin-bottom: 8px;
}
.auth-card .auth-subtitle {
    text-align: center; color: var(--text-secondary); margin-bottom: 32px; font-size: 0.9rem;
}
.auth-card .auth-disclaimer {
    text-align: center; font-size: 0.8rem; color: var(--text-muted);
    margin-top: 20px; padding: 12px; background: rgba(0,0,0,0.2);
    border-radius: var(--radius-md);
}
.auth-footer {
    text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--text-secondary);
}
.auth-divider {
    display: flex; align-items: center; gap: 16px;
    margin: 24px 0; color: var(--text-muted); font-size: 0.85rem;
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--border-color);
}
.password-toggle {
    position: relative;
}
.password-toggle .toggle-btn {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-muted);
    cursor: pointer; font-size: 0.9rem;
}

/* ============================================================
   Dashboard
   ============================================================ */
.dashboard { padding: 40px 0; }
.dash-header { margin-bottom: 32px; }
.dash-header h1 { margin-bottom: 8px; }
.dash-header p { color: var(--text-secondary); }

.dash-stats {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px; margin-bottom: 32px;
}
.stat-card {
    background: var(--gradient-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 24px;
}
.stat-card .stat-icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 12px;
}
.stat-card .stat-value { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; }
.stat-card .stat-label { font-size: 0.85rem; color: var(--text-muted); }
.stat-coins .stat-icon { background: rgba(245,158,11,0.1); color: var(--accent-primary); }
.stat-level .stat-icon { background: rgba(139,92,246,0.1); color: var(--accent-secondary); }
.stat-xp .stat-icon { background: rgba(16,185,129,0.1); color: var(--accent-green); }
.stat-streak .stat-icon { background: rgba(59,130,246,0.1); color: var(--accent-blue); }

.daily-bonus-card {
    background: var(--gradient-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 32px; text-align: center;
    margin-bottom: 32px;
}
.daily-bonus-card h3 { margin-bottom: 8px; }
.daily-bonus-card p { color: var(--text-secondary); margin-bottom: 20px; }
.daily-bonus-amount { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--accent-primary); margin-bottom: 16px; }
.bonus-disclaimer { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; }

/* Progress bar */
.progress-bar {
    background: var(--bg-input); border-radius: var(--radius-full);
    height: 8px; overflow: hidden; margin-top: 8px;
}
.progress-fill {
    height: 100%; background: var(--gradient-gold);
    border-radius: var(--radius-full); transition: width 0.5s ease;
}

/* ============================================================
   Game Detail Page
   ============================================================ */
.game-detail { padding: 40px 0; }
.game-detail-header {
    display: flex; gap: 32px; margin-bottom: 40px; flex-wrap: wrap;
}
.game-preview {
    flex: 1; min-width: 300px;
    background: var(--gradient-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); overflow: hidden;
    min-height: 400px; display: flex; align-items: center; justify-content: center;
    position: relative;
}
.game-preview-overlay {
    text-align: center;
}
.game-preview-overlay i { font-size: 4rem; color: var(--accent-primary); margin-bottom: 16px; display: block; }
.game-detail-info { flex: 1; min-width: 300px; }
.game-detail-info h1 { margin-bottom: 12px; }
.game-badges { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.game-detail-info .description { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.game-detail-disclaimer {
    background: rgba(245,158,11,0.05); border: 1px solid rgba(245,158,11,0.15);
    border-radius: var(--radius-md); padding: 16px; margin-bottom: 24px;
    font-size: 0.85rem; color: var(--text-secondary);
}
.game-detail-disclaimer i { color: var(--accent-primary); margin-right: 8px; }

/* Demo Slot Machine */
.slot-machine {
    background: var(--bg-card); border: 2px solid var(--border-color);
    border-radius: var(--radius-xl); padding: 40px;
    max-width: 500px; margin: 0 auto; text-align: center;
}
.slot-display {
    display: flex; gap: 12px; justify-content: center;
    margin-bottom: 24px;
}
.slot-reel {
    width: 80px; height: 80px; background: var(--bg-primary);
    border: 2px solid var(--border-color); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; overflow: hidden;
}
.slot-reel.spinning {
    animation: slotSpin 0.1s linear infinite;
}
@keyframes slotSpin {
    0% { transform: translateY(-5px); }
    50% { transform: translateY(5px); }
    100% { transform: translateY(-5px); }
}
.slot-controls { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.bet-selector { display: flex; align-items: center; gap: 8px; }
.bet-selector label { font-size: 0.9rem; color: var(--text-secondary); }
.bet-selector select {
    background: var(--bg-input); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); color: var(--text-primary);
    padding: 8px 12px; font-family: var(--font-body);
}
.slot-result { margin-top: 16px; font-weight: 600; min-height: 24px; }

/* ============================================================
   Legal Pages
   ============================================================ */
.legal-page { padding: 60px 0; }
.legal-content {
    max-width: 800px; margin: 0 auto;
    background: var(--gradient-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 40px;
}
.legal-content h1 { margin-bottom: 8px; }
.legal-content .last-updated { color: var(--text-muted); margin-bottom: 32px; font-size: 0.85rem; }
.legal-content h2 { font-size: 1.25rem; margin-top: 32px; margin-bottom: 12px; color: var(--accent-primary); }
.legal-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.legal-content ul { margin-bottom: 16px; padding-left: 24px; }
.legal-content ul li { color: var(--text-secondary); margin-bottom: 8px; line-height: 1.7; list-style: disc; }
.legal-highlight {
    background: rgba(245,158,11,0.05); border-left: 3px solid var(--accent-primary);
    padding: 16px 20px; margin: 24px 0; border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.legal-highlight p { margin-bottom: 0; }

/* ============================================================
   Admin Panel
   ============================================================ */
.admin-layout { display: flex; min-height: calc(100vh - 120px); }
.admin-sidebar {
    width: 250px; background: var(--bg-secondary);
    border-right: 1px solid var(--border-color); padding: 24px 0;
    flex-shrink: 0;
}
.admin-sidebar h3 { padding: 0 20px; margin-bottom: 20px; font-size: 1rem; color: var(--accent-primary); }
.admin-sidebar a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px; color: var(--text-secondary); font-size: 0.9rem;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,0.05); color: var(--text-white); }
.admin-sidebar a i { width: 20px; text-align: center; }
.admin-main { flex: 1; padding: 32px; }
.admin-main h1 { margin-bottom: 24px; }

.admin-table {
    width: 100%; border-collapse: collapse;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); overflow: hidden;
}
.admin-table th {
    background: rgba(0,0,0,0.3); padding: 12px 16px;
    text-align: left; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.05em; color: var(--text-muted);
}
.admin-table td { padding: 12px 16px; border-top: 1px solid var(--border-color); font-size: 0.9rem; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ============================================================
   Promotions / Bonuses
   ============================================================ */
.promo-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.promo-card {
    background: var(--gradient-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); overflow: hidden;
}
.promo-header {
    padding: 32px 24px; text-align: center;
    background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(139,92,246,0.1));
}
.promo-header i { font-size: 2.5rem; color: var(--accent-primary); margin-bottom: 12px; }
.promo-header h3 { margin-bottom: 4px; }
.promo-body { padding: 24px; }
.promo-body p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.promo-disclaimer { font-size: 0.75rem; color: var(--text-muted); font-style: italic; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none; position: fixed; top: 70px; left: 0; right: 0;
        background: var(--bg-secondary); border-bottom: 1px solid var(--border-color);
        flex-direction: column; padding: 20px; gap: 20px; z-index: 999;
    }
    .nav-menu.show { display: flex; }
    .nav-links { flex-direction: column; }
    .nav-actions { flex-direction: column; width: 100%; }
    .nav-actions .btn { width: 100%; justify-content: center; }
    .nav-toggle { display: block; }

    .hero { padding: 50px 0 60px; }
    .hero-stats { gap: 20px; }
    .hero-stat .number { font-size: 1.5rem; }

    .section { padding: 50px 0; }
    .game-detail-header { flex-direction: column; }
    .auth-card { padding: 24px; }

    .admin-layout { flex-direction: column; }
    .admin-sidebar { width: 100%; }
    .admin-main { padding: 20px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border-color);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem;
    color: var(--text-white); margin-bottom: 12px;
}
.footer-logo i { color: var(--accent-primary); }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; line-height: 1.7; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-links h4 { margin-bottom: 16px; font-size: 0.95rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent-primary); }

.footer-disclaimer {
    padding: 24px 0; border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color); margin-bottom: 24px;
}
.disclaimer-box {
    display: flex; gap: 12px; align-items: flex-start;
    background: rgba(245,158,11,0.05); border: 1px solid rgba(245,158,11,0.1);
    border-radius: var(--radius-md); padding: 16px 20px;
}
.disclaimer-box i { color: var(--accent-primary); margin-top: 3px; flex-shrink: 0; }
.disclaimer-box p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; }

.footer-bottom { padding-bottom: 30px; text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 8px; }
.footer-compliance { max-width: 700px; margin: 0 auto; }

/* ============================================================
   Utility Classes
   ============================================================ */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--accent-primary); }
.text-purple { color: var(--accent-secondary); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.d-flex { display: flex; }
.gap-2 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.hidden { display: none; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.5s ease; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.pulse { animation: pulse 2s infinite; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }
