/* ============================================
   MYTHIC GLITCH - ART DECO MOBILE GAME WEBSITE
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #0a0a0a;
    --primary-light: #141414;
    --primary-mid: #1a1a1a;
    --secondary: #f5f0e0;
    --secondary-dark: #e8e0c8;
    --accent: #d4af37;
    --accent-light: #e8c84a;
    --accent-dark: #b8941e;
    --accent-glow: rgba(212, 175, 55, 0.3);
    --cream: #faf7ed;
    --cream-dark: #f0ead4;
    --text-dark: #1a1a1a;
    --text-light: #f5f0e0;
    --text-muted: #8a8470;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f5d442 30%, #d4af37 50%, #b8941e 70%, #d4af37 100%);
    --dark-gradient: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    --overlay-gradient: linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.9) 100%);

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;
    --font-ui: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.4);

    --transition-fast: 0.2s ease;
    --transition-med: 0.4s ease;
    --transition-slow: 0.6s ease;

    --container-max: 1200px;
    --container-narrow: 900px;
    --header-height: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--accent-light);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

::selection {
    background: var(--accent);
    color: var(--primary);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* --- Utility --- */
.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;
}

/* --- Art Deco Decorative Elements --- */
.header-deco-line {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
    opacity: 0.6;
}

.section-divider,
.hero-divider,
.footer-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
}

.divider-wing {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.divider-diamond {
    color: var(--accent);
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-diamond i {
    font-size: 6px;
}

.age-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
}

.age-divider .divider-diamond {
    width: 8px;
    height: 8px;
    background: var(--accent);
    transform: rotate(45deg);
}

/* --- Buttons --- */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    background: var(--gold-gradient);
    background-size: 200% 100%;
    color: var(--primary);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-med);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    background-position: 100% 0;
    box-shadow: var(--shadow-gold), 0 0 30px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
    color: var(--primary);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    background: transparent;
    color: var(--accent);
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-med);
}

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

.btn-lg {
    padding: 16px 44px;
    font-size: 0.95rem;
}

.btn-full {
    width: 100%;
}

/* --- Header / Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-med);
}

.main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-light);
    z-index: 1001;
}

.logo-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    background-size: 200% 100%;
    color: var(--primary);
    font-size: 1.2rem;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: background-position var(--transition-med);
}

.logo:hover .logo-icon {
    background-position: 100% 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
}

.logo-accent {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 8px 16px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: all var(--transition-med);
    transform: translateX(-50%);
}

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

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

.nav-cta {
    color: var(--primary) !important;
    background: var(--gold-gradient);
    background-size: 200% 100%;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transition: all var(--transition-med);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-position: 100% 0;
    box-shadow: var(--shadow-gold);
    color: var(--primary) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
    z-index: 1001;
    justify-content: center;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--accent);
    transition: all var(--transition-med);
    transform-origin: center;
}

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

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

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

/* --- Age Verification Modal --- */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: var(--primary-light);
    border: 2px solid var(--accent);
    max-width: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.age-deco-top,
.age-deco-bottom {
    height: 12px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent) 0px,
        var(--accent) 12px,
        transparent 12px,
        transparent 24px
    );
    opacity: 0.5;
}

.age-modal-inner {
    padding: 48px 40px;
    text-align: center;
}

.age-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.age-modal-inner h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.age-modal-inner p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--secondary-dark);
    margin-bottom: 8px;
}

.age-sub {
    font-size: 0.9rem !important;
    color: var(--text-muted) !important;
}

.age-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 40px) 24px 80px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(212, 175, 55, 0.03) 40px,
            rgba(212, 175, 55, 0.03) 41px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(212, 175, 55, 0.03) 40px,
            rgba(212, 175, 55, 0.03) 41px
        );
    z-index: 0;
}

.hero-sunburst {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 1200px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(212, 175, 55, 0.04) 5deg,
        transparent 10deg,
        transparent 20deg,
        rgba(212, 175, 55, 0.04) 25deg,
        transparent 30deg,
        transparent 40deg,
        rgba(212, 175, 55, 0.04) 45deg,
        transparent 50deg,
        transparent 60deg,
        rgba(212, 175, 55, 0.04) 65deg,
        transparent 70deg,
        transparent 80deg,
        rgba(212, 175, 55, 0.04) 85deg,
        transparent 90deg,
        transparent 100deg,
        rgba(212, 175, 55, 0.04) 105deg,
        transparent 110deg,
        transparent 120deg,
        rgba(212, 175, 55, 0.04) 125deg,
        transparent 130deg,
        transparent 140deg,
        rgba(212, 175, 55, 0.04) 145deg,
        transparent 150deg,
        transparent 160deg,
        rgba(212, 175, 55, 0.04) 165deg,
        transparent 170deg,
        transparent 180deg,
        rgba(212, 175, 55, 0.04) 185deg,
        transparent 190deg,
        transparent 200deg,
        rgba(212, 175, 55, 0.04) 205deg,
        transparent 210deg,
        transparent 220deg,
        rgba(212, 175, 55, 0.04) 225deg,
        transparent 230deg,
        transparent 240deg,
        rgba(212, 175, 55, 0.04) 245deg,
        transparent 250deg,
        transparent 260deg,
        rgba(212, 175, 55, 0.04) 265deg,
        transparent 270deg,
        transparent 280deg,
        rgba(212, 175, 55, 0.04) 285deg,
        transparent 290deg,
        transparent 300deg,
        rgba(212, 175, 55, 0.04) 305deg,
        transparent 310deg,
        transparent 320deg,
        rgba(212, 175, 55, 0.04) 325deg,
        transparent 330deg,
        transparent 340deg,
        rgba(212, 175, 55, 0.04) 345deg,
        transparent 350deg,
        transparent 360deg
    );
    border-radius: 50%;
    z-index: 0;
    animation: rotateSlow 120s linear infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeSlideDown 0.8s ease 0.2s forwards;
}

.badge-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.badge-text {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 12px;
}

.title-line {
    display: block;
    opacity: 0;
}

.title-line-1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    animation: fadeSlideUp 0.8s ease 0.4s forwards;
}

.title-line-2 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    letter-spacing: 2px;
    color: var(--text-light);
    animation: fadeSlideUp 0.8s ease 0.6s forwards;
}

.title-line-2 em {
    font-style: italic;
    color: var(--accent);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.title-line-3 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--accent);
    animation: fadeSlideUp 0.8s ease 0.8s forwards;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--secondary-dark);
    max-width: 600px;
    margin: 24px auto 36px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 0.8s ease 1s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeSlideUp 0.8s ease 1.2s forwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.5s forwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
    opacity: 0.4;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards;
}

.scroll-text {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-arrow {
    color: var(--accent);
    animation: bounceDown 2s ease infinite;
}

/* Hero Corners (Art Deco) */
.hero-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 2;
    opacity: 0.4;
}

.hero-corner::before,
.hero-corner::after {
    content: '';
    position: absolute;
    background: var(--accent);
}

.hero-corner-tl {
    top: calc(var(--header-height) + 20px);
    left: 20px;
}
.hero-corner-tl::before { top: 0; left: 0; width: 30px; height: 1px; }
.hero-corner-tl::after { top: 0; left: 0; width: 1px; height: 30px; }

.hero-corner-tr {
    top: calc(var(--header-height) + 20px);
    right: 20px;
}
.hero-corner-tr::before { top: 0; right: 0; width: 30px; height: 1px; }
.hero-corner-tr::after { top: 0; right: 0; width: 1px; height: 30px; }

.hero-corner-bl {
    bottom: 20px;
    left: 20px;
}
.hero-corner-bl::before { bottom: 0; left: 0; width: 30px; height: 1px; }
.hero-corner-bl::after { bottom: 0; left: 0; width: 1px; height: 30px; }

.hero-corner-br {
    bottom: 20px;
    right: 20px;
}
.hero-corner-br::before { bottom: 0; right: 0; width: 30px; height: 1px; }
.hero-corner-br::after { bottom: 0; right: 0; width: 1px; height: 30px; }

/* --- Social Proof Ticker --- */
.social-proof-ticker {
    background: var(--primary-light);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
    position: relative;
}

.ticker-deco-top,
.ticker-deco-bottom {
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent) 0px,
        var(--accent) 4px,
        transparent 4px,
        transparent 12px
    );
    opacity: 0.3;
}

.ticker-container {
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}

.ticker-container::before,
.ticker-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.ticker-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--primary-light), transparent);
}

.ticker-container::after {
    right: 0;
    background: linear-gradient(270deg, var(--primary-light), transparent);
}

.ticker-track {
    display: flex;
    gap: 40px;
    animation: ticker 30s linear infinite;
    width: max-content;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.ticker-item i {
    color: var(--accent);
    font-size: 0.7rem;
}

.ticker-item strong {
    color: var(--accent);
}

/* --- Section Shared Styles --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    line-height: 1.2;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 16px auto 0;
    line-height: 1.7;
}

.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 60px,
            rgba(212, 175, 55, 0.02) 60px,
            rgba(212, 175, 55, 0.02) 61px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 60px,
            rgba(212, 175, 55, 0.02) 60px,
            rgba(212, 175, 55, 0.02) 61px
        );
    z-index: 0;
    pointer-events: none;
}

/* --- Game Section --- */
.game-section {
    position: relative;
    padding: 100px 24px;
    background: var(--primary);
    overflow: hidden;
}

.game-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.game-card {
    background: var(--primary-light);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-med);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-med);
}

.game-card:hover::before {
    transform: scaleX(1);
}

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

.game-card-large {
    grid-column: span 3;
    padding: 56px 48px;
}

.card-deco-frame {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(212, 175, 55, 0.06);
    pointer-events: none;
}

.card-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.card-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0.08);
    transform: rotate(45deg);
}

.card-icon-wrap i {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    color: var(--accent);
}

.game-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 12px;
}

.game-card p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.card-accent-line {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 20px auto 0;
    opacity: 0.5;
    transition: width var(--transition-med), opacity var(--transition-med);
}

.game-card:hover .card-accent-line {
    width: 80px;
    opacity: 1;
}

/* --- Features Section --- */
.features-section {
    position: relative;
    padding: 100px 24px;
    background: var(--primary-light);
    overflow: hidden;
}

.features-bg-art {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(212, 175, 55, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(212, 175, 55, 0.02) 25%, transparent 25%),
        linear-gradient(315deg, rgba(212, 175, 55, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, rgba(212, 175, 55, 0.02) 25%, transparent 25%);
    background-size: 80px 80px;
    background-position: 0 0, 40px 0, 40px -40px, 0 40px;
    pointer-events: none;
}

.features-showcase {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-art {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    position: relative;
}

.art-frame {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    padding: 24px;
    position: relative;
    clip-path: polygon(
        0% 10%, 10% 0%, 90% 0%, 100% 10%,
        100% 90%, 90% 100%, 10% 100%, 0% 90%
    );
    transition: all var(--transition-med);
}

.art-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    clip-path: polygon(
        0% 10%, 10% 0%, 90% 0%, 100% 10%,
        100% 90%, 90% 100%, 10% 100%, 0% 90%
    );
}

.art-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-art-1 .art-inner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.feature-art-2 .art-inner {
    background: linear-gradient(225deg, rgba(212, 175, 55, 0.08) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.feature-art-3 .art-inner {
    background: linear-gradient(315deg, rgba(212, 175, 55, 0.08) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.art-inner > i {
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.7;
    z-index: 1;
    transition: all var(--transition-med);
}

.feature-art:hover .art-inner > i {
    opacity: 1;
    transform: scale(1.1);
}

.art-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(212, 175, 55, 0.03) 20px,
        rgba(212, 175, 55, 0.03) 21px
    );
}

.feature-content {
    position: relative;
}

.feature-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.1);
    line-height: 1;
    display: block;
    margin-bottom: -10px;
}

.feature-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 16px;
}

.feature-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--secondary-dark);
}

.feature-list li i {
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* --- Community / Testimonials --- */
.community-section {
    position: relative;
    padding: 100px 24px;
    background: var(--primary);
    overflow: hidden;
}

.testimonials-grid {
    max-width: var(--container-max);
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--primary-light);
    border: 1px solid rgba(212, 175, 55, 0.12);
    padding: 36px 28px;
    position: relative;
    transition: all var(--transition-med);
}

.testimonial-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.testimonial-featured {
    border-color: rgba(212, 175, 55, 0.3);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.05) 0%, var(--primary-light) 100%);
}

.testimonial-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
}

.testimonial-quote {
    color: var(--accent);
    font-size: 1.5rem;
    opacity: 0.4;
    margin-bottom: 12px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 0.85rem;
}

.testimonial-card p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--secondary-dark);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 16px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--accent);
    font-size: 0.9rem;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

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

.author-info strong {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.author-info span {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Live Feed */
.live-feed {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(212, 175, 55, 0.15);
    background: var(--primary-light);
    overflow: hidden;
}

.live-feed-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(212, 175, 55, 0.05);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

.live-feed-items {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.live-feed-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    animation: feedSlideIn 0.5s ease forwards;
    opacity: 0;
}

.live-feed-item i {
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.live-feed-item .feed-time {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.6;
    margin-left: auto;
    flex-shrink: 0;
}

/* --- FAQ Section --- */
.faq-section {
    position: relative;
    padding: 100px 24px;
    background: var(--primary-light);
}

.faq-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.faq-item {
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: var(--primary);
    transition: all var(--transition-med);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.2);
}

.faq-item.active {
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
    background: none;
    border: none;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    color: var(--accent);
    font-size: 0.8rem;
    transition: transform var(--transition-med);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-med), padding var(--transition-med);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- Signup Section --- */
.signup-section {
    position: relative;
    padding: 100px 24px;
    background: var(--primary);
    overflow: hidden;
}

.signup-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 80px,
            rgba(212, 175, 55, 0.02) 80px,
            rgba(212, 175, 55, 0.02) 81px
        ),
        repeating-linear-gradient(
            -60deg,
            transparent,
            transparent 80px,
            rgba(212, 175, 55, 0.02) 80px,
            rgba(212, 175, 55, 0.02) 81px
        );
    z-index: 0;
    pointer-events: none;
}

.signup-sunburst {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.signup-form-container {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-deco-frame {
    position: relative;
    background: var(--primary-light);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 48px 40px;
}

.form-corner {
    position: absolute;
    width: 20px;
    height: 20px;
}

.form-corner::before,
.form-corner::after {
    content: '';
    position: absolute;
    background: var(--accent);
}

.form-corner-tl { top: -1px; left: -1px; }
.form-corner-tl::before { top: 0; left: 0; width: 20px; height: 2px; }
.form-corner-tl::after { top: 0; left: 0; width: 2px; height: 20px; }

.form-corner-tr { top: -1px; right: -1px; }
.form-corner-tr::before { top: 0; right: 0; width: 20px; height: 2px; }
.form-corner-tr::after { top: 0; right: 0; width: 2px; height: 20px; }

.form-corner-bl { bottom: -1px; left: -1px; }
.form-corner-bl::before { bottom: 0; left: 0; width: 20px; height: 2px; }
.form-corner-bl::after { bottom: 0; left: 0; width: 2px; height: 20px; }

.form-corner-br { bottom: -1px; right: -1px; }
.form-corner-br::before { bottom: 0; right: 0; width: 20px; height: 2px; }
.form-corner-br::after { bottom: 0; right: 0; width: 2px; height: 20px; }

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    font-size: 0.7rem;
}

.optional {
    font-weight: 400;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.7rem;
}

.required {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(245, 240, 224, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background: rgba(245, 240, 224, 0.08);
}

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

.form-error {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: #e74c3c;
    min-height: 0;
    transition: all var(--transition-fast);
}

.form-error.visible {
    min-height: 16px;
}

/* Checkbox */
.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.form-checkbox a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Success / Error Messages */
.signup-success {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.signup-success h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 12px;
}

.signup-success p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.success-divider {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.success-divider .divider-diamond {
    width: 8px;
    height: 8px;
    background: var(--accent);
    transform: rotate(45deg);
}

.success-sub {
    font-size: 0.9rem !important;
}

.signup-error-msg {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #e74c3c;
}

.signup-error-msg a {
    color: var(--accent);
}

/* Responsible Gaming */
.responsible-gaming {
    max-width: var(--container-narrow);
    margin: 48px auto 0;
    position: relative;
    z-index: 2;
}

.rg-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-left: 3px solid var(--accent);
}

.rg-inner > i {
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.rg-inner p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.rg-inner strong {
    color: var(--accent);
}

/* --- Trust Section --- */
.trust-section {
    position: relative;
    padding: 80px 24px;
    background: var(--primary-light);
}

.trust-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trust-item {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    transition: all var(--transition-med);
}

.trust-item:hover {
    border-color: rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.02);
}

.trust-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.trust-item h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.trust-item p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.trust-item a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- Footer --- */
.main-footer {
    background: var(--primary);
    position: relative;
}

.footer-deco-top {
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--accent) 0px,
        var(--accent) 8px,
        transparent 8px,
        transparent 16px
    );
    opacity: 0.4;
}

.footer-deco-bottom {
    height: 6px;
    background: var(--gold-gradient);
    background-size: 200% 100%;
    animation: shimmer 3s ease infinite;
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 24px 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 12px;
}

.footer-links-group h5 {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-group a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

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

.footer-links-group a i {
    font-size: 0.75rem;
    color: var(--accent);
    opacity: 0.6;
}

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

.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--text-muted);
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
}

.footer-badge i {
    color: var(--accent);
    font-size: 0.65rem;
}

.footer-copy {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-company {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-bottom: 4px;
}

.footer-disclaimer {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-top: 8px;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-size: 1rem;
    z-index: 999;
    cursor: pointer;
    transition: all var(--transition-med);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.back-to-top:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-4px);
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--primary-light);
    border-top: 2px solid var(--accent);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease;
}

.cookie-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 20px 24px;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.cookie-icon {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-text p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-text strong {
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: 1rem;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 24px;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-cookie-accept {
    background: var(--gold-gradient);
    background-size: 200% 100%;
    color: var(--primary);
    border: 2px solid var(--accent);
}

.btn-cookie-accept:hover {
    background-position: 100% 0;
    box-shadow: var(--shadow-gold);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-cookie-reject:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-cookie-settings {
    background: transparent;
    color: var(--accent);
    border: 1px solid transparent;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-cookie-settings:hover {
    color: var(--accent-light);
}

.cookie-settings-panel {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-setting-row {
    display: flex;
    align-items: center;
}

.cookie-setting-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
}

.cookie-setting-row input[type="checkbox"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.cookie-settings-panel .btn-cookie-accept {
    align-self: flex-start;
    margin-top: 8px;
}

/* --- Legal Pages --- */
.legal-hero {
    position: relative;
    padding: calc(var(--header-height) + 60px) 24px 60px;
    text-align: center;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.legal-hero .hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(212, 175, 55, 0.03) 40px,
            rgba(212, 175, 55, 0.03) 41px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(212, 175, 55, 0.03) 40px,
            rgba(212, 175, 55, 0.03) 41px
        );
    z-index: 0;
}

.legal-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 70%);
    z-index: 1;
}

.legal-hero-content {
    position: relative;
    z-index: 2;
}

.legal-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
}

.legal-hero-content p {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.legal-section {
    padding: 60px 24px 100px;
    background: var(--primary);
}

.legal-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
    background: var(--cream);
    color: var(--text-dark);
    padding: 60px 48px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);
    margin-top: 36px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 24px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-content h3 i {
    color: var(--accent-dark);
    font-size: 1rem;
}

.legal-content p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-content ul {
    margin: 8px 0 16px 24px;
    list-style: disc;
}

.legal-content ul li {
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 6px;
}

.legal-content ul li strong {
    color: var(--primary);
}

.legal-content a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--accent);
}

.legal-footer-note {
    margin-top: 48px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.legal-footer-note p {
    font-size: 0.9rem;
    color: #666;
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

@keyframes rotateSlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes feedSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

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

    .game-card-large {
        grid-column: span 2;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .feature-row {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 68px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        min-height: 500px;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        transform: translateX(100%);
        transition: transform var(--transition-med), visibility 0s linear var(--transition-med);
        visibility: hidden;
        pointer-events: none;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        transition: transform var(--transition-med), visibility 0s linear 0s;
    }

    .nav-link {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .hero-section {
        padding: calc(var(--header-height) + 24px) 20px 60px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .game-card-large {
        grid-column: span 1;
        padding: 40px 28px;
    }

    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-row-reverse {
        direction: ltr;
    }

    .feature-art {
        max-width: 280px;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: none;
    }

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

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

    .footer-brand {
        max-width: none;
    }

    .form-deco-frame {
        padding: 32px 24px;
    }

    .legal-content {
        padding: 40px 24px;
    }

    .hero-corner {
        display: none;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
        text-align: center;
    }

    .age-modal-inner {
        padding: 36px 24px;
    }

    .age-modal-inner h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-gold,
    .hero-actions .btn-outline {
        width: 100%;
    }

    .stat-divider {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .footer-badges {
        flex-direction: column;
        gap: 8px;
    }

    .section-title {
        font-size: 1.7rem;
    }
}

/* --- Print Styles --- */
@media print {
    .main-header,
    .cookie-banner,
    .age-modal,
    .back-to-top,
    .social-proof-ticker,
    .live-feed,
    .hero-sunburst,
    .hero-bg-pattern,
    .hero-overlay {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .legal-content {
        border: none;
        padding: 0;
        box-shadow: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-sunburst {
        animation: none;
    }

    .ticker-track {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
