/* =============================================
   1. CSS VARIABLES
   ============================================= */
:root {
    /* Base Colors */
    --color-bg-deep: #0B0E11;
    --color-bg-dark: #1A1F24;
    --color-bg-card: #222831;
    --color-bg-card-hover: #2a3038;

    /* Accent Colors */
    --color-silver: #C0C7D1;
    --color-gold: #D4A937;
    --color-gold-light: #E8C65A;
    --color-ember: #FF7A18;
    --color-ember-dark: #cc6213;

    /* Text Colors */
    --color-text-primary: #F5F5F5;
    --color-text-secondary: #A1A1AA;
    --color-text-muted: #71717A;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #D4A937, #FF7A18);
    --gradient-gold-hover: linear-gradient(135deg, #E8C65A, #FF9A48);
    --gradient-dark: linear-gradient(180deg, #0B0E11, #1A1F24);
    --gradient-card: linear-gradient(145deg, rgba(34, 40, 49, 0.8), rgba(26, 31, 36, 0.9));

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-gold: 0 0 30px rgba(212, 169, 55, 0.3);
    --shadow-glow-ember: 0 0 30px rgba(255, 122, 24, 0.2);

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-spacing: 100px;
    --container-max: 1400px;
    --container-padding: 24px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Header */
    --header-height: 80px;
}

/* =============================================
   2. RESET & BASE
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-deep);
    color: var(--color-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(--color-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold-light);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-primary);
}

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

/* =============================================
   4. HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(11, 14, 17, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 169, 55, 0.15);
    transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
    background: rgba(11, 14, 17, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 169, 55, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px rgba(212, 169, 55, 0.5));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.5px;
}

.logo-dot {
    color: var(--color-gold);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header CTA */
.header-cta {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 300px;
    height: calc(100vh - var(--header-height));
    background: rgba(11, 14, 17, 0.97);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(212, 169, 55, 0.15);
    transition: right var(--transition-normal);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-gold);
    background: rgba(212, 169, 55, 0.1);
}

.mobile-cta {
    margin-top: 16px;
    text-align: center;
}

/* =============================================
   5. BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-bg-deep);
    box-shadow: 0 4px 15px rgba(212, 169, 55, 0.3);
}

.btn-primary:hover {
    background: var(--gradient-gold-hover);
    color: var(--color-bg-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 169, 55, 0.5);
}

.btn-hero {
    background: var(--gradient-gold);
    color: var(--color-bg-deep);
    padding: 18px 48px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(212, 169, 55, 0.4);
}

.btn-hero:hover {
    background: var(--gradient-gold-hover);
    color: var(--color-bg-deep);
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(212, 169, 55, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid rgba(212, 169, 55, 0.5);
    padding: 16px 40px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-outline:hover {
    background: rgba(212, 169, 55, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold-light);
    transform: translateY(-2px);
}

/* =============================================
   6. HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 60px) 0 80px;
    overflow: hidden;
}

.page-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 60px) 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 169, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(255, 122, 24, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(192, 199, 209, 0.04) 0%, transparent 50%),
        var(--gradient-dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, rgba(11, 14, 17, 0.3) 0%, rgba(11, 14, 17, 0.6) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(212, 169, 55, 0.1);
    border: 1px solid rgba(212, 169, 55, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gold);
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.text-gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.hero-disclaimer {
    max-width: 650px;
    margin: 0 auto 36px;
    padding: 16px 24px;
    background: rgba(212, 169, 55, 0.08);
    border: 1px solid rgba(212, 169, 55, 0.2);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.hero-disclaimer strong {
    color: var(--color-gold);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-gold);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* =============================================
   7. SECTION HEADERS
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* =============================================
   8. GAME SECTION
   ============================================= */
.game-section {
    padding: var(--section-spacing) 0;
    background:
        radial-gradient(ellipse at center, rgba(212, 169, 55, 0.04) 0%, transparent 60%),
        var(--color-bg-deep);
}

.game-wrapper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto 60px;
}

.game-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(212, 169, 55, 0.12) 0%, transparent 70%);
    border-radius: var(--radius-xl);
    z-index: 0;
    pointer-events: none;
}

.game-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid rgba(212, 169, 55, 0.25);
    box-shadow:
        0 0 40px rgba(212, 169, 55, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(0, 0, 0, 0.2);
    background: var(--color-bg-card);
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Game Loader */
.game-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: var(--color-bg-card);
    z-index: 10;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.game-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-shield {
    font-size: 4rem;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(212, 169, 55, 0.3)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 20px rgba(212, 169, 55, 0.6)); }
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-gold);
    letter-spacing: 1px;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(212, 169, 55, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 4px;
    animation: loaderFill 2s ease-in-out infinite;
}

@keyframes loaderFill {
    0% { width: 0%; }
    50% { width: 80%; }
    100% { width: 100%; }
}

/* Game Info Cards */
.game-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.game-info-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212, 169, 55, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-normal);
}

.game-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 169, 55, 0.3);
    box-shadow: var(--shadow-glow-gold);
}

.game-info-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.game-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-gold);
}

.game-info-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* =============================================
   9. FEATURES SECTION
   ============================================= */
.features-section {
    padding: var(--section-spacing) 0;
    background: var(--color-bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid rgba(192, 199, 209, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 169, 55, 0.25);
    box-shadow: var(--shadow-glow-gold);
    background: var(--color-bg-card-hover);
}

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 169, 55, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 169, 55, 0.15);
}

.feature-icon {
    font-size: 2rem;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* =============================================
   10. HOW IT WORKS SECTION
   ============================================= */
.how-section {
    padding: var(--section-spacing) 0;
    background: var(--color-bg-deep);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    max-width: 320px;
    background: var(--gradient-card);
    border: 1px solid rgba(192, 199, 209, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 169, 55, 0.25);
    box-shadow: var(--shadow-glow-gold);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-gold);
    margin-bottom: 16px;
    text-shadow: 0 0 20px rgba(212, 169, 55, 0.3);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.connector-arrow {
    font-size: 1.5rem;
    opacity: 0.5;
}

/* =============================================
   11. LEGAL SECTION
   ============================================= */
.legal-section {
    padding: var(--section-spacing) 0;
    background: var(--color-bg-dark);
}

.legal-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212, 169, 55, 0.15);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.legal-title {
    font-size: 2rem;
    margin-bottom: 36px;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
}

.legal-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(11, 14, 17, 0.5);
    border-radius: var(--radius-md);
    border: 1px solid rgba(192, 199, 209, 0.06);
}

.legal-badge {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 169, 55, 0.1);
    border-radius: var(--radius-sm);
}

.legal-item p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.legal-item strong {
    color: var(--color-text-primary);
}

.legal-item a {
    color: var(--color-gold);
}

/* =============================================
   12. CTA SECTION
   ============================================= */
.cta-section {
    padding: var(--section-spacing) 0;
    background: var(--color-bg-deep);
}

.cta-card {
    background:
        radial-gradient(ellipse at center, rgba(212, 169, 55, 0.08) 0%, transparent 60%),
        var(--gradient-card);
    border: 1px solid rgba(212, 169, 55, 0.2);
    border-radius: var(--radius-xl);
    padding: 80px 48px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   13. CONTENT PAGES
   ============================================= */
.content-section {
    padding: var(--section-spacing) 0;
}

.content-card {
    background: var(--gradient-card);
    border: 1px solid rgba(192, 199, 209, 0.08);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    margin-bottom: 32px;
}

.content-heading {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.content-card p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(192, 199, 209, 0.1);
}

.legal-list {
    padding-left: 24px;
    margin-bottom: 20px;
}

.legal-list li {
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    line-height: 1.7;
    list-style: disc;
}

.legal-list li strong {
    color: var(--color-text-primary);
}

/* About Features */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.about-feature {
    background: rgba(11, 14, 17, 0.5);
    border: 1px solid rgba(192, 199, 209, 0.06);
    border-radius: var(--radius-md);
    padding: 24px;
}

.about-feature h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.about-feature p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: start;
}

.contact-form-card {
    margin-bottom: 0;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-info-side .content-card {
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(192, 199, 209, 0.06);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    color: var(--color-text-primary);
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.contact-info-item p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-input {
    padding: 14px 18px;
    background: rgba(11, 14, 17, 0.6);
    border: 1px solid rgba(192, 199, 209, 0.12);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 169, 55, 0.15);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A1A1AA' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    align-self: flex-start;
    width: auto;
}

.form-success {
    text-align: center;
    padding: 40px;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--color-text-secondary);
}

/* Responsible Gaming */
.responsible-highlight {
    background: rgba(212, 169, 55, 0.08);
    border: 1px solid rgba(212, 169, 55, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 16px;
}

.responsible-highlight p {
    color: var(--color-gold) !important;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.responsible-tips {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.responsible-tip {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: rgba(11, 14, 17, 0.5);
    border: 1px solid rgba(192, 199, 209, 0.06);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.responsible-tip:hover {
    border-color: rgba(212, 169, 55, 0.15);
    background: rgba(11, 14, 17, 0.7);
}

.tip-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.responsible-tip h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-gold);
    margin-bottom: 6px;
}

.responsible-tip p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.resource-card {
    background: rgba(11, 14, 17, 0.5);
    border: 1px solid rgba(192, 199, 209, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
}

.resource-card h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.resource-card p {
    font-size: 0.85rem;
    margin-bottom: 4px;
}

/* =============================================
   14. FOOTER
   ============================================= */
.footer {
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(192, 199, 209, 0.08);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(192, 199, 209, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 320px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-bottom strong {
    color: var(--color-text-secondary);
}

/* =============================================
   15. ANIMATIONS
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Torch flicker for hero */
@keyframes torchFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
    75% { opacity: 0.95; }
}

/* =============================================
   16. MEDIA QUERIES
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 70px;
        --container-padding: 20px;
    }

    .nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-info-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }

    .steps-grid {
        flex-direction: column;
        gap: 16px;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .legal-card {
        padding: 40px 28px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --section-spacing: 50px;
        --header-height: 68px;
        --container-padding: 16px;
    }

    .logo-text {
        font-size: 0.95rem;
    }

    .hero {
        padding: calc(var(--header-height) + 40px) 0 60px;
        min-height: auto;
    }

    .page-hero {
        min-height: 35vh;
        padding: calc(var(--header-height) + 40px) 0 40px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .hero-stats {
        gap: 30px;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero {
        padding: 16px 36px;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
    }

    .btn-outline {
        padding: 14px 32px;
        width: 100%;
        max-width: 320px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-info {
        grid-template-columns: 1fr;
    }

    .game-info-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .game-frame {
        border-radius: var(--radius-md);
        aspect-ratio: 4/3;
    }

    .game-wrapper {
        margin-bottom: 40px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .content-card {
        padding: 32px 24px;
    }

    .legal-card {
        padding: 32px 20px;
    }

    .cta-card {
        padding: 48px 24px;
    }

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

    .footer-desc {
        max-width: 100%;
    }

    .hero-disclaimer {
        padding: 14px 18px;
        font-size: 0.8rem;
    }

    .mobile-menu {
        width: 100%;
    }

    .form-submit {
        width: 100%;
    }
}

/* Large Screens */
@media (min-width: 1600px) {
    :root {
        --container-max: 1500px;
    }
}