@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ========== DESIGN SYSTEM ========== */
:root {
    /* Palette */
    --bg: #080606;
    --bg-elevated: #0f0b0b;
    --bg-card: #161010;
    --bg-card-hover: #1c1414;
    --surface: #1a1212;
    --surface-alt: #221818;
    --dark: #120c0c;
    --pri: #F8F0E4;
    --pri-muted: #c8b8a0;
    --sec: #D4AF37;
    --gold: #D4AF37;
    --gold-light: #F0E0A8;
    --gold-dark: #9a7b28;
    --gold-subtle: rgba(212, 175, 55, 0.12);
    --red: #C41E3A;
    --red-dark: #8B1528;
    --red-glow: rgba(196, 30, 58, 0.35);
    --success: rgba(46, 204, 113, 0.2);
    --success-border: rgba(46, 204, 113, 0.5);
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Open Sans', sans-serif;
    --text-xs: 0.8125rem;
    --text-sm: 0.9375rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.25rem;
    --text-hero: clamp(2rem, 5vw, 3.75rem);
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.6;
    --tracking-tight: -0.02em;
    --tracking-wide: 0.04em;
    --tracking-wider: 0.08em;
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
    --shadow-gold: 0 0 24px rgba(212, 175, 55, 0.2);
    --shadow-gold-lg: 0 0 40px rgba(212, 175, 55, 0.15);
    /* Borders */
    --border: 1px solid rgba(212, 175, 55, 0.2);
    --border-gold: 1px solid rgba(212, 175, 55, 0.4);
    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.3s;
    --duration-slow: 0.45s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    background-image:
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(26, 18, 18, 0.95) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 80% 50%, rgba(30, 18, 22, 0.4) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg) 0%, var(--dark) 100%);
    color: var(--pri);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

ul { list-style: none; }
a {
    text-decoration: none;
    color: var(--sec);
    transition: color var(--duration) var(--ease-out),
                text-shadow var(--duration) var(--ease-out),
                border-color var(--duration) var(--ease-out),
                transform var(--duration) var(--ease-out);
}
a:hover { color: var(--gold-light); text-shadow: 0 0 16px rgba(212, 175, 55, 0.4); }
img { max-width: 100%; height: auto; display: block; }

/* Typography scale */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
}
h1 {
    font-size: var(--text-hero);
    color: var(--gold-light);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
    margin-bottom: var(--space-4);
}
h2 {
    font-size: var(--text-4xl);
    color: var(--sec);
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid rgba(212, 175, 55, 0.35);
    display: inline-block;
    letter-spacing: var(--tracking-wide);
}
h3 { font-size: var(--text-2xl); color: var(--gold-light); margin-bottom: var(--space-3); }
h4 { font-size: var(--text-lg); color: var(--sec); margin-bottom: var(--space-2); }
p {
    margin-bottom: var(--space-4);
    color: var(--pri-muted);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.container-small { max-width: 720px; }
.section-padding { padding: var(--space-24) 0; }
.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 { margin-bottom: var(--space-3); }
.section-header p { font-size: var(--text-lg); color: var(--pri-muted); margin: 0 auto; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    background: linear-gradient(145deg, var(--gold-dark) 0%, var(--gold) 45%, var(--gold-light) 100%);
    color: #0a0806;
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: var(--text-sm);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: var(--shadow-sm), 0 0 20px rgba(212, 175, 55, 0.2);
    transition: all var(--duration) var(--ease-out);
    cursor: pointer;
}
.btn:hover {
    background: linear-gradient(145deg, var(--red-dark) 0%, var(--red) 50%, var(--red-dark) 100%);
    border-color: rgba(255,255,255,0.2);
    color: var(--pri);
    box-shadow: var(--shadow), 0 0 32px var(--red-glow);
    transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }
.btn-secondary {
    background: transparent;
    border: 2px solid var(--sec);
    color: var(--sec);
    box-shadow: none;
}
.btn-secondary:hover {
    background: var(--gold-subtle);
    border-color: var(--gold-light);
    color: var(--gold-light);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}
.btn-small { padding: var(--space-2) var(--space-5); font-size: var(--text-xs); }

/* ========== CARDS ========== */
.card {
    background: linear-gradient(165deg, var(--bg-card) 0%, var(--surface) 100%);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: var(--border);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out),
                transform var(--duration) var(--ease-out);
}
.card:hover {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow), var(--shadow-gold);
}

/* ========== HEADER ========== */
.header {
    background: linear-gradient(180deg, rgba(8, 6, 6, 0.92) 0%, rgba(8, 6, 6, 0.98) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
    transition: border-color var(--duration) var(--ease-out);
}
.header.sticky { position: sticky; top: 0; }
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    gap: var(--space-8);
}
.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: var(--tracking-wide);
    text-decoration: none;
    transition: transform var(--duration) var(--ease-out), filter var(--duration) var(--ease-out);
}
.nav-logo:hover { transform: scale(1.02); }
.nav-logo:hover .nav-logo-text { background-position: 0 100%; text-shadow: 0 0 24px rgba(240, 224, 168, 0.6); }
.nav-logo:hover .nav-logo-icon { filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.7)); }
.nav-logo-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: block;
    transition: filter var(--duration) var(--ease-out);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}
.nav-logo-text {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 35%, var(--gold-light) 100%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold-light);
    text-shadow: 0 0 20px rgba(240, 224, 168, 0.4);
    transition: background-position var(--duration-slow) var(--ease-out), text-shadow var(--duration) var(--ease-out);
}
/* fallback for browsers that don't support background-clip on text */
@supports not (background-clip: text) {
    .nav-logo-text { color: var(--gold-light); -webkit-text-fill-color: var(--gold-light); }
}
.nav-menu { display: flex; align-items: center; gap: var(--space-8); }
.nav-link {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--pri-muted);
    letter-spacing: 0.02em;
    padding: var(--space-2) 0;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--duration) var(--ease-out);
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { width: 100%; }
.nav-auth { margin-left: auto; }
.nav-auth + .nav-auth { margin-left: 0; }
.nav-menu .nav-auth a {
    padding: var(--space-2) var(--space-5);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    letter-spacing: 0.05em;
}
.nav-menu .nav-auth a:hover {
    background: var(--gold-subtle);
    border-color: var(--gold);
}
.nav-menu .nav-auth .nav-btn.nav-link::after { display: none; }
.hamburger { display: none; cursor: pointer; padding: var(--space-2); }
@media (max-width: 991px) { .hamburger { display: flex; flex-direction: column; justify-content: center; } }
.hamburger .bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 3px 0;
    background-color: var(--gold);
    border-radius: 2px;
    transition: all var(--duration) var(--ease-out);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--pri);
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
        rgba(8, 6, 6, 0.92) 0%,
        rgba(8, 6, 6, 0.6) 40%,
        rgba(8, 6, 6, 0.25) 70%,
        transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    /* max-width: 620px; */
}
.hero.hero-left .hero-content { text-align: left; margin-right: auto; }
.hero h1 { font-size: var(--text-hero); line-height: var(--leading-snug); margin-bottom: var(--space-5); }
.hero .subtitle {
    font-size: var(--text-lg);
    color: var(--pri-muted);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-8);
    opacity: 0.95;
}
.hero .btn { margin-top: var(--space-2); }

/* ========== FEATURES ========== */
.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    margin-bottom: var(--space-20);
    padding: var(--space-8) 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}
.feature-item:last-of-type { border-bottom: none; }
.feature-item:nth-child(even) .feature-image { grid-column: 2; grid-row: 1; }
.feature-item .feature-image {
    background-color: #D4AF37;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}
.feature-item .feature-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    max-height: 240px;
    object-fit: contain;
    object-position: center;
    border: var(--border);
    box-shadow: var(--shadow);
    transition: box-shadow var(--duration) var(--ease-out);
}
.feature-item .feature-image img:hover { box-shadow: var(--shadow-lg), var(--shadow-gold); }
.feature-content h3 { margin-top: var(--space-4); color: var(--sec); font-size: var(--text-2xl); }
.feature-content p { font-size: var(--text-base); color: var(--pri-muted); line-height: var(--leading-normal); }

.feature-game-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.feature-game-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature-game-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    max-width: 500px;
    object-fit: cover;
    border: var(--border);
    box-shadow: var(--shadow);
    transition: box-shadow var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}
.feature-game-image img:hover {
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    transform: scale(1.02);
}
.feature-game-content h3 { margin-bottom: var(--space-4); color: var(--gold); font-size: var(--text-3xl); }
.feature-game-content p { margin-bottom: var(--space-6); font-size: var(--text-lg); color: var(--pri-muted); }
.feature-game-content .btn { margin-top: var(--space-2); }

.about-preview { text-align: center; }
.about-preview .container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-12) var(--space-8);
    border: var(--border);
}
.about-preview-text {
    max-width: 720px;
    margin: 0 auto var(--space-8);
    font-size: var(--text-lg);
    color: var(--pri-muted);
    line-height: var(--leading-normal);
}
.about-preview .btn { margin-top: var(--space-4); }

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-10);
}
.testimonial-card {
    text-align: center;
    padding: var(--space-8);
    transition: transform var(--duration) var(--ease-out);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-card .testimonial-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--space-5);
    border: 3px solid rgba(212, 175, 55, 0.5);
    box-shadow: var(--shadow-sm), 0 0 24px rgba(212, 175, 55, 0.2);
}
.testimonial-card h3 { margin-bottom: var(--space-2); font-size: var(--text-xl); color: var(--gold-light); }
.testimonial-card p { font-size: var(--text-sm); margin: 0; color: var(--pri-muted); line-height: var(--leading-normal); }

/* ========== CTA ========== */
.cta-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(165deg, var(--surface) 0%, var(--bg-elevated) 50%, var(--dark) 100%);
    border-top: 2px solid rgba(212, 175, 55, 0.35);
    border-bottom: 2px solid rgba(212, 175, 55, 0.35);
    box-shadow: inset 0 2px 40px rgba(0,0,0,0.2);
}
.cta-image {
    background-size: cover;
    background-position: center;
    min-height: 360px;
    position: relative;
}
.cta-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(8,6,6,0.4) 100%);
}
.cta-content {
    padding: var(--space-16);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-content h2 { margin-bottom: var(--space-5); color: var(--gold); border: none; font-size: var(--text-4xl); }
.cta-content p { font-size: var(--text-lg); color: var(--pri-muted); margin-bottom: var(--space-6); }
.cta-content .btn { align-self: flex-start; margin-top: var(--space-2); }

/* ========== FOOTER ========== */
.footer-wave {
    background: linear-gradient(180deg, var(--surface) 0%, var(--dark) 50%, var(--bg) 100%);
    color: var(--pri-muted);
    padding-top: var(--space-16);
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: inset 0 4px 32px rgba(0,0,0,0.25);
}
.footer-brand { text-align: center; margin-bottom: var(--space-10); }
.footer-brand-title {
    color: var(--gold-light);
    margin-bottom: var(--space-4);
    border: none;
    display: block;
    font-size: var(--text-2xl);
    letter-spacing: var(--tracking-wide);
}
.footer-brand p {  margin: 0 auto; font-size: var(--text-base); line-height: var(--leading-normal); color: var(--pri-muted); }
.footer-legal-text { margin-bottom: var(--space-8); }
.footer-legal-text h4 { color: var(--sec); font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-2); font-family: var(--font-body); letter-spacing: 0.03em; }
.footer-legal-text p { font-size: var(--text-sm); margin: 0; color: var(--pri-muted); opacity: 0.9; }
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4) var(--space-8);
    margin-bottom: var(--space-8);
}
.footer-links a {
    color: var(--sec);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color var(--duration) var(--ease-out);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-grid { grid-template-columns: repeat(3, 1fr); display: grid; gap: var(--space-8); padding-bottom: var(--space-12); }
.footer-col h3 { color: var(--gold-light); font-size: var(--text-lg); margin-bottom: var(--space-3); }
.footer-col h4 { color: var(--sec); font-size: var(--text-sm); margin-bottom: var(--space-4); font-family: var(--font-body); }
.footer-col ul li { margin-bottom: var(--space-2); }
.footer-col ul a { color: var(--pri-muted); font-size: var(--text-sm); transition: color var(--duration) var(--ease-out); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
    text-align: center;
    padding: var(--space-6) 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.footer-bottom p { margin-bottom: 0; font-size: var(--text-xs); color: var(--pri-muted); opacity: 0.85; }

/* ========== PAGE HEADERS ========== */
.page-header {
    text-align: center;
    padding: var(--space-16) var(--space-6);
    background: linear-gradient(165deg, var(--red-dark) 0%, var(--surface) 45%, var(--bg-elevated) 100%);
    border-bottom: 2px solid rgba(212, 175, 55, 0.35);
    box-shadow: inset 0 4px 40px rgba(0,0,0,0.35);
}
.page-header h1 {
    color: var(--gold-light);
    font-size: var(--text-4xl);
    text-shadow: 0 0 32px rgba(212, 175, 55, 0.3);
    margin-bottom: var(--space-2);
}
.page-header p { color: var(--pri-muted); font-size: var(--text-lg); margin: 0; }

/* ========== CONTACT ========== */
.contact-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: flex-start;
}
.contact-details .contact-detail-item { margin-bottom: var(--space-8); }
.contact-details h4 { color: var(--sec); font-size: var(--text-sm); margin-bottom: var(--space-2); font-family: var(--font-body); }
.contact-details p { margin: 0; font-size: var(--text-base); color: var(--pri-muted); }
.contact-form .form-group { margin-bottom: var(--space-6); }
.contact-form label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--gold-light);
    letter-spacing: 0.02em;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    background: var(--bg-card);
    border: var(--border);
    border-radius: var(--radius-md);
    color: var(--pri);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-subtle);
}
.contact-form .btn { width: 100%; margin-top: var(--space-2); }

.contact-section .section-header h2 { display: inline-block; }
.contact-inline { max-width: 560px; margin: 0 auto; }
.contact-email { margin-bottom: var(--space-6); font-size: var(--text-lg); }
.contact-email a { color: var(--gold); transition: color var(--duration) var(--ease-out); }
.contact-email a:hover { color: var(--gold-light); }
.contact-form-inline .form-group { margin-bottom: var(--space-5); }
.form-success-msg {
    display: none;
    margin-bottom: var(--space-4);
    padding: var(--space-5);
    background: var(--success);
    border: 1px solid var(--success-border);
    border-radius: var(--radius-md);
    color: var(--pri);
    font-size: var(--text-sm);
}
.form-success-msg[aria-hidden="false"] { display: block; }

/* Auth modals — premium UI */
.modal-overlay { pointer-events: none; }
.modal-overlay.modal-open { pointer-events: auto; }
.modal-overlay .modal-auth {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: linear-gradient(165deg, var(--surface) 0%, var(--bg-elevated) 50%, var(--dark) 100%);
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6),
                0 0 0 1px rgba(255,255,255,0.03) inset,
                0 0 40px rgba(212, 175, 55, 0.08);
    padding: 0;
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease,
                box-shadow 0.3s ease;
}
.modal-overlay.modal-open .modal-auth {
    transform: scale(1) translateY(0);
    opacity: 1;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6),
                0 0 0 1px rgba(255,255,255,0.04) inset,
                0 0 50px rgba(212, 175, 55, 0.12);
}
.modal-auth-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.06);
    color: var(--gold-light);
    font-size: 1.75rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}
.modal-auth-close:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--pri);
    transform: rotate(90deg);
}
.modal-auth-header {
    text-align: center;
    padding: 2rem 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.modal-auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    color: var(--gold);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}
.modal-auth-header h3 {
    margin: 0 0 0.35rem;
    font-size: 1.6rem;
    color: var(--gold-light);
    letter-spacing: 0.02em;
}
.modal-auth-header p {
    margin: 0;
    font-size: 0.9rem;
    color: #a09880;
    font-weight: 400;
}
.auth-form {
    padding: 1.75rem 2rem 1.5rem;
    text-align: left;
}
.auth-field {
    margin-bottom: 1.25rem;
}
.auth-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.02em;
}
.auth-field input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--pri);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.auth-field input::placeholder {
    color: #6a6255;
}
.auth-field input:hover {
    border-color: rgba(212, 175, 55, 0.35);
}
.auth-field input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
    background: rgba(0,0,0,0.45);
}
.btn-auth {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-top: 0.25rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.btn-auth:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}
.modal-auth-divider {
    position: relative;
    padding: 0 2rem;
    text-align: center;
    margin-bottom: 1rem;
}
.modal-auth-divider::before {
    content: '';
    position: absolute;
    left: 2rem;
    right: 2rem;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), transparent);
}
.modal-auth-divider span {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 0.75rem;
    font-size: 0.75rem;
    color: #6a6255;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(165deg, var(--surface), var(--bg-elevated));
}
.modal-auth .modal-switch {
    text-align: center;
    margin: 0 0 1.75rem;
    padding: 0 2rem;
    font-size: 0.95rem;
    color: #a09880;
}
.modal-auth .modal-switch-link {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    color: var(--gold-light) !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}
.modal-auth .modal-switch-link:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--pri) !important;
    transform: translateY(-1px);
}

/* ========== FAQ ========== */
.faq-container { max-width: 720px; margin: 0 auto; }
.faq-item {
    margin-bottom: var(--space-4);
    background: linear-gradient(165deg, var(--bg-card) 0%, var(--surface) 100%);
    border-radius: var(--radius-md);
    border: var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}
.faq-item:hover { border-color: rgba(212, 175, 55, 0.3); }
.faq-item[open] { border-color: rgba(212, 175, 55, 0.4); box-shadow: var(--shadow); }
.faq-item summary {
    font-size: var(--text-lg);
    font-weight: 600;
    padding: var(--space-6) var(--space-8);
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--gold-light);
    transition: color var(--duration) var(--ease-out);
}
.faq-item summary:hover { color: var(--pri); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: var(--space-6);
    font-size: var(--text-2xl);
    color: var(--gold);
    font-weight: 400;
    transition: transform var(--duration) var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
    padding: 0 var(--space-8) var(--space-6);
    margin: 0;
    color: var(--pri-muted);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

.legal-content h2 { margin-top: var(--space-10); color: var(--sec); font-size: var(--text-2xl); }
.legal-content ul { padding-left: var(--space-6); margin-bottom: var(--space-4); }
.legal-content ul li { list-style: disc; margin-bottom: var(--space-2); color: var(--pri-muted); font-size: var(--text-base); }

/* ========== COOKIE BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, var(--surface) 0%, var(--dark) 100%);
    padding: var(--space-6) var(--space-6);
    display: none;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    z-index: 2000;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.45);
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    flex-wrap: wrap;
    text-align: center;
}
.cookie-banner p { margin: 0; color: var(--pri); font-size: var(--text-sm); line-height: var(--leading-normal); }
.cookie-banner a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookie-buttons { display: flex; gap: var(--space-3); flex-shrink: 0; }
.cookie-buttons .btn-small { padding: var(--space-2) var(--space-5); }

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 1rem;
}
.modal-overlay.modal-open { opacity: 1; visibility: visible; }
.modal-content {
    background: linear-gradient(165deg, var(--bg-card) 0%, var(--surface) 100%);
    padding: var(--space-10);
    border-radius: var(--radius-lg);
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: var(--border);
    transform: scale(0.94);
    transition: transform var(--duration-slow) var(--ease-bounce);
}
.modal-overlay.modal-open .modal-content { transform: scale(1); }
.modal-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-6);
    background: linear-gradient(145deg, var(--gold-dark), var(--gold));
    color: #0a0806;
    font-size: var(--text-4xl);
    font-weight: bold;
    line-height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: var(--shadow-gold);
}
.modal-content h3 { margin-bottom: var(--space-2); color: var(--gold-light); font-size: var(--text-2xl); }
.modal-content p { margin-bottom: var(--space-6); color: var(--pri-muted); font-size: var(--text-base); }
.modal-close-btn { margin-top: var(--space-2); }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    :root { --text-hero: clamp(1.75rem, 4.5vw, 2.75rem); }
    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    .hero { min-height: 75vh; }
    .hero h1 { font-size: var(--text-4xl); }
    .section-padding { padding: var(--space-20) 0; }
    .section-header { margin-bottom: var(--space-12); }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 76px;
        flex-direction: column;
        background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
        width: 100%;
        text-align: center;
        transition: left var(--duration) var(--ease-out);
        gap: 0;
        border-top: 2px solid rgba(212, 175, 55, 0.3);
        padding: var(--space-6) 0;
        box-shadow: 0 16px 48px rgba(0,0,0,0.4);
    }
    .nav-menu.active { left: 0; }
    .nav-item { padding: var(--space-5) 0; }
    .nav-auth { margin-left: 0; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .feature-item,
    .feature-item:nth-child(even) { grid-template-columns: 1fr; gap: var(--space-8); margin-bottom: var(--space-12); }
    .feature-item:nth-child(even) .feature-image { grid-column: 1; grid-row: 1; }
    .feature-content { text-align: center; }
    .feature-game-card { grid-template-columns: 1fr; gap: var(--space-8); }
    .feature-game-content { text-align: center; }
    .feature-game-content .btn { margin-left: auto; margin-right: auto; }
    .testimonials-grid { grid-template-columns: 1fr; gap: var(--space-6); }
    .cta-split { grid-template-columns: 1fr; }
    .cta-image { min-height: 240px; }
    .cta-content { padding: var(--space-10); text-align: center; }
    .cta-content .btn { align-self: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
    .contact-split-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}
@media (max-width: 768px) {
    .container { padding: 0 var(--space-4); }
    .section-padding { padding: var(--space-16) 0; }
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    .hero { min-height: 70vh; }
    .hero h1 { font-size: var(--text-3xl); }
    .hero .subtitle { font-size: var(--text-base); margin-bottom: var(--space-6); }
    .nav-logo { font-size: var(--text-lg); }
    .nav-logo .nav-logo-text { font-size: var(--text-lg); }
    .nav-logo-icon { width: 34px; height: 34px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col ul { padding: 0; }
    .footer-brand p { font-size: var(--text-sm); }
    .cookie-banner { flex-direction: column; padding: var(--space-5); gap: var(--space-4); }
    .page-header { padding: var(--space-12) var(--space-4); }
    .page-header h1 { font-size: var(--text-3xl); }
    .modal-auth { max-width: 100%; margin: var(--space-2); }
    .modal-auth-header, .auth-form { padding-left: var(--space-6); padding-right: var(--space-6); }
    .modal-auth .modal-switch { padding-left: var(--space-6); padding-right: var(--space-6); }
    .modal-auth-divider::before { left: var(--space-6); right: var(--space-6); }
}
