/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Base */
    --bg-deep: #0f172a;
    --bg-secondary: #1e293b;
    --bg-elevated: rgba(255,255,255,0.05);
    --bg-glass: rgba(15, 23, 42, 0.85);
    --bg-glass-light: rgba(30, 41, 59, 0.6);

    /* Accents */
    --gold: #c7a94a;
    --gold-light: #eab308;
    --gold-gradient: linear-gradient(135deg, #eab308, #c7a94a);
    --green: #7c9c6d;
    --purple-hint: #a78bfa;

    /* Text */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5f5;
    --text-muted: #94a3b8;

    /* Sizing */
    --container-max: 1320px;
    --radius: 16px;
    --radius-lg: 20px;
    --radius-sm: 12px;

    /* Shadows */
    --shadow-soft: 0 4px 24px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 30px rgba(199, 169, 74, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(199, 169, 74, 0.25);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s var(--ease);
}

/* ============================================
   RESET
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* Screen reader only */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gold-gradient);
    z-index: 10000;
    transition: width 0.1s linear;
}

/* ============================================
   PARTICLES
   ============================================ */
.particles-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(199, 169, 74, 0.3);
    animation: particleFloat 15s infinite ease-in-out;
}
.particle-1 { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 18s; }
.particle-2 { left: 25%; top: 60%; animation-delay: -3s; animation-duration: 22s; }
.particle-3 { left: 45%; top: 30%; animation-delay: -6s; animation-duration: 16s; }
.particle-4 { left: 65%; top: 70%; animation-delay: -9s; animation-duration: 20s; }
.particle-5 { left: 80%; top: 15%; animation-delay: -2s; animation-duration: 24s; }
.particle-6 { left: 90%; top: 50%; animation-delay: -5s; animation-duration: 17s; }
.particle-7 { left: 15%; top: 80%; animation-delay: -7s; animation-duration: 19s; width: 2px; height: 2px; background: rgba(167, 139, 250, 0.2); }
.particle-8 { left: 55%; top: 10%; animation-delay: -11s; animation-duration: 21s; width: 2px; height: 2px; }
.particle-9 { left: 35%; top: 90%; animation-delay: -4s; animation-duration: 23s; width: 4px; height: 4px; background: rgba(199, 169, 74, 0.15); }
.particle-10 { left: 75%; top: 40%; animation-delay: -8s; animation-duration: 25s; }
.particle-11 { left: 5%; top: 45%; animation-delay: -13s; animation-duration: 20s; width: 2px; height: 2px; }
.particle-12 { left: 95%; top: 85%; animation-delay: -10s; animation-duration: 18s; }

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.toast {
    background: var(--bg-secondary);
    border: 1px solid rgba(199, 169, 74, 0.3);
    border-radius: var(--radius-sm);
    padding: 16px 24px;
    color: var(--text-primary);
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
    animation: toastSlideIn 0.4s var(--ease), toastFadeOut 0.4s var(--ease) 3.6s forwards;
    backdrop-filter: blur(12px);
    max-width: 360px;
}
.toast.toast-success { border-left: 4px solid var(--green); }
.toast.toast-info { border-left: 4px solid var(--gold); }

/* ============================================
   HEADER — ROYAL NAV BAR
   ============================================ */
.royal-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(199, 169, 74, 0.15);
    transition: var(--transition);
}
.royal-header.scrolled {
    background: rgba(15, 23, 42, 0.92);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: none;
}
.logo:hover { color: var(--text-primary); }
.logo-text { font-size: 1.1rem; font-family: 'Poppins', sans-serif; letter-spacing: -0.5px; }
.logo-dot { color: var(--gold); }

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}
.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-login {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-login:hover {
    color: var(--gold);
    background: rgba(199, 169, 74, 0.1);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gold-gradient);
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong);
    color: #0f172a;
}
.btn-primary:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius);
    border: 2px solid var(--gold);
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}
.btn-secondary:hover {
    background: rgba(199, 169, 74, 0.1);
    transform: translateY(-2px);
    color: var(--gold-light);
}
.btn-secondary:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-full { width: 100%; }

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-toggle { display: none; }
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-menu-overlay {
    position: fixed;
    top: 0; right: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-menu-panel {
    position: absolute;
    top: 0; right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg-deep);
    border-left: 1px solid rgba(199, 169, 74, 0.15);
    padding: 32px 24px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
}
.mobile-menu-overlay.active .mobile-menu-panel {
    transform: translateX(0);
}
.mobile-menu-close {
    position: absolute;
    top: 20px; right: 20px;
    color: var(--text-secondary);
    padding: 8px;
    transition: var(--transition);
}
.mobile-menu-close:hover { color: var(--gold); }
.mobile-nav { margin-top: 60px; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-link {
    display: block;
    color: var(--text-secondary);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 500;
    transition: var(--transition);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--gold);
    background: rgba(199, 169, 74, 0.08);
}
.mobile-nav-actions { margin-top: 32px; }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 24px;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-panel {
    background: var(--bg-secondary);
    border: 1px solid rgba(199, 169, 74, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 440px;
    width: 100%;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s var(--ease);
}
.modal-overlay.active .modal-panel {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    color: var(--text-muted);
    padding: 8px;
    transition: var(--transition);
}
.modal-close:hover { color: var(--gold); }
.modal-header { text-align: center; margin-bottom: 28px; }
.modal-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 8px;
}
.modal-header p { color: var(--text-muted); font-size: 0.9rem; }
.modal-form { display: flex; flex-direction: column; gap: 20px; }
.modal-footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(199, 169, 74, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================
   HERO SECTION — THRONE ROOM ENTRY
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(199, 169, 74, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(167, 139, 250, 0.05) 0%, transparent 50%),
                var(--bg-deep);
    z-index: 0;
}
.hero-fog {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 200px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    animation: fogDrift 30s infinite linear;
    opacity: 0.6;
}
.hero-fog-2 {
    animation-duration: 40s;
    animation-direction: reverse;
    opacity: 0.4;
}
.hero-vignette {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(15, 23, 42, 0.7) 100%);
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(199, 169, 74, 0.1);
    border: 1px solid rgba(199, 169, 74, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 24px;
}
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Hero Game Preview */
.hero-game-preview { position: relative; }
.game-preview-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(199, 169, 74, 0.15) 0%, transparent 70%);
    animation: glowPulse 4s infinite ease-in-out;
}
.game-preview-frame {
    background: var(--bg-glass);
    border: 1px solid rgba(199, 169, 74, 0.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    backdrop-filter: blur(10px);
}
.game-preview-inner {
    padding: 24px;
}
.preview-slot-machine {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid rgba(199, 169, 74, 0.3);
}
.slot-header {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, rgba(199, 169, 74, 0.2), rgba(234, 179, 8, 0.1));
    border-bottom: 1px solid rgba(199, 169, 74, 0.2);
}
.slot-title-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}
.slot-reels {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 20px;
    background: rgba(0,0,0,0.3);
}
.reel {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    height: 180px;
    overflow: hidden;
    position: relative;
}
.reel-symbols {
    display: flex;
    flex-direction: column;
    animation: reelSpin 2s ease-in-out infinite;
}
.reel-delay-1 .reel-symbols { animation-delay: 0.3s; }
.reel-delay-2 .reel-symbols { animation-delay: 0.6s; }
.symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    font-size: 2rem;
}
.slot-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(199, 169, 74, 0.15), rgba(199, 169, 74, 0.05));
    border-top: 1px solid rgba(199, 169, 74, 0.2);
}
.coin-display {
    font-weight: 600;
    color: var(--gold);
    font-size: 1rem;
}
.spin-btn {
    padding: 10px 28px;
    background: var(--gold-gradient);
    color: #0f172a;
    font-weight: 700;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}
.spin-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   CONTINUE PLAYING
   ============================================ */
.recently-played-section {
    padding: 40px 0;
    position: relative;
    z-index: 1;
}
.continue-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-glass-light);
    border: 1px solid rgba(199, 169, 74, 0.15);
    border-radius: var(--radius);
    padding: 20px 28px;
    backdrop-filter: blur(10px);
}
.continue-icon { font-size: 2rem; }
.continue-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-bottom: 2px;
}
.continue-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.continue-banner .btn-primary { margin-left: auto; white-space: nowrap; }

/* ============================================
   GAME SECTION — PRIMARY EXPERIENCE BLOCK
   ============================================ */
.game-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(199, 169, 74, 0.1);
    border: 1px solid rgba(199, 169, 74, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.game-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid rgba(199, 169, 74, 0.2);
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
}
.game-container:hover {
    box-shadow: var(--shadow-glow-strong);
}
.game-container-glow {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(199, 169, 74, 0.06) 0%, transparent 50%);
    animation: glowPulse 6s infinite ease-in-out;
    pointer-events: none;
}
.game-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(199, 169, 74, 0.1);
}
.game-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.game-toolbar-right { display: flex; gap: 8px; }
.game-tool-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-muted);
    transition: var(--transition);
    background: rgba(255,255,255,0.05);
}
.game-tool-btn:hover {
    color: var(--gold);
    background: rgba(199, 169, 74, 0.1);
}
.game-tool-btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.game-frame-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
}
.game-frame-large {
    padding-top: 62%;
}
.game-loading-state {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-deep);
    z-index: 5;
    transition: opacity 0.5s var(--ease);
    gap: 16px;
}
.game-loading-state.hidden {
    opacity: 0;
    pointer-events: none;
}
.game-loading-state p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(199, 169, 74, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.skeleton-loader { width: 200px; display: flex; flex-direction: column; gap: 8px; }
.skeleton-bar {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    animation: skeletonPulse 1.5s infinite ease-in-out;
}
.skeleton-bar-short { width: 60%; }

.game-iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   FEATURES
   ============================================ */
.features-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-glass-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 32px 28px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    animation-delay: var(--delay, 0s);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(199, 169, 74, 0.2);
    box-shadow: var(--shadow-glow);
}
.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   REWARDS SECTION
   ============================================ */
.rewards-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at 50% 0%, rgba(199, 169, 74, 0.05) 0%, transparent 60%);
}
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.reward-card {
    background: var(--bg-glass-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 32px 28px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.reward-card:hover {
    border-color: rgba(199, 169, 74, 0.2);
}
.reward-icon-wrap { margin-bottom: 16px; }
.reward-icon { font-size: 2.2rem; }
.reward-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.reward-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}
.reward-progress { margin-top: auto; }
.reward-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}
.reward-progress-fill {
    width: var(--progress, 0%);
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 4px;
    transition: width 1s var(--ease);
}
.reward-progress-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.badge-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}
.mini-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(199, 169, 74, 0.1);
    border-radius: 10px;
    font-size: 1.2rem;
    border: 1px solid rgba(199, 169, 74, 0.2);
}
.mini-badge-locked {
    opacity: 0.4;
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
}
.rewards-cta {
    text-align: center;
    margin-top: 48px;
}

/* ============================================
   LEADERBOARD
   ============================================ */
.leaderboard-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}
.leaderboard-wrapper {
    background: var(--bg-glass-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    max-width: 900px;
    margin: 0 auto;
}
.leaderboard-header-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px 140px;
    gap: 16px;
    padding: 16px 24px;
    background: rgba(199, 169, 74, 0.08);
    border-bottom: 1px solid rgba(199, 169, 74, 0.15);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.lb-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px 140px;
    gap: 16px;
    padding: 14px 24px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: var(--transition);
    font-size: 0.9rem;
}
.lb-row:hover { background: rgba(199, 169, 74, 0.05); }
.lb-row:last-child { border-bottom: none; }
.lb-gold { background: rgba(199, 169, 74, 0.08); }
.lb-silver { background: rgba(192, 192, 192, 0.05); }
.lb-bronze { background: rgba(205, 127, 50, 0.05); }

.rank-badge {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
}
.rank-1 { background: var(--gold-gradient); color: #0f172a; }
.rank-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #0f172a; }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }

.player-avatar { margin-right: 8px; }
.lb-score { font-weight: 600; color: var(--gold); }
.lb-level { color: var(--text-muted); font-size: 0.85rem; }
.leaderboard-footer {
    padding: 16px 24px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.lb-reset { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================
   SECONDARY GAMES
   ============================================ */
.secondary-games-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}
.secondary-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.secondary-game-card {
    background: var(--bg-glass-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
    display: block;
}
.secondary-game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(199, 169, 74, 0.25);
    box-shadow: var(--shadow-glow);
    color: var(--text-primary);
}
.sgc-image {
    position: relative;
    padding-top: 65%;
    background: linear-gradient(135deg, rgba(199, 169, 74, 0.08), rgba(167, 139, 250, 0.05));
}
.sgc-placeholder {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
}
.sgc-badge {
    position: absolute;
    top: 12px; right: 12px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.6);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    backdrop-filter: blur(8px);
}
.sgc-info { padding: 20px; }
.sgc-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-bottom: 6px;
}
.sgc-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at 50% 100%, rgba(167, 139, 250, 0.04) 0%, transparent 60%);
}
.testimonials-carousel {
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}
.testimonial-track {
    display: flex;
    transition: transform 0.5s var(--ease);
}
.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: var(--bg-glass-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}
.testimonial-stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar { font-size: 2rem; }
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}
.carousel-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.carousel-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(199, 169, 74, 0.1);
}
.carousel-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    transition: var(--transition);
    cursor: pointer;
}
.carousel-dot.active,
.carousel-dot:hover {
    background: var(--gold);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
    padding: 80px 0 120px;
    position: relative;
    z-index: 1;
}
.newsletter-card {
    background: linear-gradient(135deg, rgba(199, 169, 74, 0.1), rgba(167, 139, 250, 0.05));
    border: 1px solid rgba(199, 169, 74, 0.2);
    border-radius: var(--radius-lg);
    padding: 56px;
    display: flex;
    align-items: center;
    gap: 48px;
    backdrop-filter: blur(10px);
}
.newsletter-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    margin-bottom: 8px;
}
.newsletter-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.newsletter-form { flex: 1; }
.newsletter-input-wrap {
    display: flex;
    gap: 12px;
}
.newsletter-input-wrap input {
    flex: 1;
    padding: 16px 20px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}
.newsletter-input-wrap input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(199, 169, 74, 0.15);
}
.newsletter-input-wrap input::placeholder { color: var(--text-muted); }
.newsletter-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
    padding: 140px 0 60px;
    position: relative;
    z-index: 1;
    background: radial-gradient(ellipse at 50% 0%, rgba(199, 169, 74, 0.06) 0%, transparent 60%);
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb span[aria-current] { color: var(--gold); }
.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ============================================
   GAME DETAIL PAGE
   ============================================ */
.game-detail-hero {
    padding: 100px 0 60px;
    position: relative;
    z-index: 1;
}
.game-detail-header {
    margin-bottom: 32px;
}
.game-detail-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.game-detail-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.game-container-full {
    margin-bottom: 80px;
}
.game-info-section {
    padding: 0 0 120px;
    position: relative;
    z-index: 1;
}
.game-info-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
}
.game-info-main h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.game-info-main h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 16px;
}
.game-info-main p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}
.feature-list {
    list-style: none;
}
.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-card {
    background: var(--bg-glass-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
}
.info-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--gold);
}
.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.9rem;
}
.stat-row span { color: var(--text-muted); }
.stat-row strong { color: var(--text-primary); }
.stat-row:last-child { border-bottom: none; }

/* ============================================
   GAMES LIBRARY
   ============================================ */
.games-library-section {
    padding: 0 0 120px;
    position: relative;
    z-index: 1;
}
.games-library-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.game-library-card {
    display: block;
    background: var(--bg-glass-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}
.game-library-card:hover {
    transform: translateY(-4px);
    border-color: rgba(199, 169, 74, 0.25);
    box-shadow: var(--shadow-glow);
    color: var(--text-primary);
}
.game-library-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.game-library-featured .glc-image {
    padding-top: 0;
    min-height: 300px;
}
.glc-image {
    position: relative;
    padding-top: 65%;
    background: linear-gradient(135deg, rgba(199, 169, 74, 0.08), rgba(167, 139, 250, 0.05));
}
.glc-placeholder {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
}
.glc-badge {
    position: absolute;
    top: 16px; left: 16px;
    padding: 6px 14px;
    background: rgba(0,0,0,0.6);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    backdrop-filter: blur(8px);
}
.glc-badge-live {
    background: rgba(220, 38, 38, 0.3);
    color: #fca5a5;
}
.glc-badge-featured {
    top: auto;
    bottom: 16px;
    left: 16px;
    background: rgba(199, 169, 74, 0.3);
}
.glc-info { padding: 28px; }
.glc-info h2, .glc-info h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}
.glc-info h2 { font-size: 1.5rem; }
.glc-info h3 { font-size: 1.1rem; }
.glc-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.glc-cta {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   REWARDS DETAIL PAGE
   ============================================ */
.rewards-detail-section {
    padding: 0 0 120px;
    position: relative;
    z-index: 1;
}
.reward-detail-block {
    background: var(--bg-glass-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    margin-bottom: 32px;
}
.reward-detail-block h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.reward-detail-block > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* Daily Calendar */
.daily-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
.daily-day {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.day-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.day-reward { font-size: 0.85rem; font-weight: 600; }
.day-status { font-size: 1rem; }
.daily-claimed {
    border-color: rgba(124, 156, 109, 0.3);
    background: rgba(124, 156, 109, 0.08);
}
.daily-claimed .day-status { color: var(--green); }
.daily-today {
    border-color: rgba(199, 169, 74, 0.4);
    background: rgba(199, 169, 74, 0.1);
}
.daily-jackpot {
    background: rgba(167, 139, 250, 0.05);
    border-color: rgba(167, 139, 250, 0.2);
}

/* Levels Grid */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.level-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.level-num { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.level-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; }
.level-perk { font-size: 0.8rem; color: var(--text-muted); }
.level-past { opacity: 0.5; }
.level-current {
    border-color: rgba(199, 169, 74, 0.4);
    background: rgba(199, 169, 74, 0.08);
}
.level-legendary {
    background: rgba(167, 139, 250, 0.08);
    border-color: rgba(167, 139, 250, 0.3);
}

/* Achievements */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.achievement-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
}
.achievement-icon { font-size: 2rem; margin-bottom: 8px; }
.achievement-item strong { display: block; margin-bottom: 4px; }
.achievement-item p { font-size: 0.8rem; color: var(--text-muted); }
.achievement-unlocked {
    border-color: rgba(199, 169, 74, 0.2);
    background: rgba(199, 169, 74, 0.05);
}
.achievement-item:not(.achievement-unlocked) { opacity: 0.5; }

/* ============================================
   CONTENT SECTION (About, etc.)
   ============================================ */
.content-section {
    padding: 0 0 120px;
    position: relative;
    z-index: 1;
}
.content-block {
    max-width: 800px;
    margin-bottom: 60px;
}
.content-block h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.content-block p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}
.philosophy-card {
    background: var(--bg-glass-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 28px;
}
.philosophy-icon { font-size: 2rem; margin-bottom: 12px; }
.philosophy-card h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 8px;
}
.philosophy-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
    padding: 0 0 120px;
    position: relative;
    z-index: 1;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
}
.contact-form-wrap h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 28px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-info-card {
    background: var(--bg-glass-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 24px;
}
.contact-info-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-bottom: 8px;
}
.contact-info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-section {
    padding: 0 0 120px;
    position: relative;
    z-index: 1;
}
.legal-content {
    max-width: 800px;
}
.legal-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.legal-content h2:first-child,
.legal-content .responsible-banner + h2 {
    border-top: none;
    margin-top: 0;
}
.legal-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    margin-top: 28px;
    margin-bottom: 10px;
}
.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.7;
}
.legal-content ul, .legal-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}
.responsible-banner {
    background: rgba(199, 169, 74, 0.1);
    border: 1px solid rgba(199, 169, 74, 0.25);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 36px;
}
.responsible-banner p { color: var(--text-primary); margin-bottom: 0; }
.responsible-tips { list-style: none; padding: 0; }
.responsible-tips li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ============================================
   FOOTER
   ============================================ */
.royal-footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 300px;
}
.footer-links-group h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.footer-links-group ul { list-style: none; }
.footer-links-group li { margin-bottom: 10px; }
.footer-links-group a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links-group a:hover { color: var(--gold); }
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.footer-disclaimer { font-size: 0.8rem !important; max-width: 700px; margin: 0 auto; line-height: 1.6; }

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
/* ENDFILE implied by next file */