/* ============================================================
   PRISMBROOK - RETRO PIXEL DESIGN SYSTEM
   8-bit NES/SNES era nostalgia
   ============================================================ */

/* --- CSS RESET & VARIABLES --- */

:root {
    /* Core palette */
    --primary: #1a1a2e;
    --primary-dark: #0f0f1a;
    --primary-light: #2a2a4e;
    --secondary: #ffffff;
    --accent: #00ff00;
    --accent-dim: #00cc00;
    --accent-dark: #009900;
    --accent-glow: rgba(0, 255, 0, 0.3);

    /* Extended palette */
    --purple: #6b2fa0;
    --purple-light: #9b59b6;
    --purple-dark: #4a1a70;
    --yellow: #ffcc00;
    --yellow-dark: #cc9900;
    --red: #ff4444;
    --red-dark: #cc0000;
    --blue: #4488ff;
    --blue-dark: #2266cc;
    --brown: #8B4513;

    /* UI colors */
    --bg-dark: #0d0d1a;
    --bg-medium: #16162b;
    --bg-card: #1e1e3a;
    --border-color: #3a3a5c;
    --border-accent: #00ff00;
    --text-primary: #ffffff;
    --text-secondary: #b0b0cc;
    --text-muted: #6a6a8e;
    --text-accent: #00ff00;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Font */
    --font-pixel: 'Press Start 2P', monospace;

    /* Pixel shadow offset */
    --pixel-shadow: 3px 3px 0px;
    --pixel-shadow-lg: 4px 4px 0px;
    --pixel-shadow-sm: 2px 2px 0px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

*, *::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-pixel);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
    image-rendering: pixelated;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--primary-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-dark);
    border: 2px solid var(--primary-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

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

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

ul {
    list-style: none;
}

/* --- PIXEL FRAME SYSTEM --- */

.pixel-frame {
    border: 4px solid var(--accent);
    box-shadow:
        var(--pixel-shadow) var(--accent-dark),
        inset 0 0 0 2px var(--primary),
        inset 0 0 0 4px var(--border-color);
    background: var(--bg-card);
    border-radius: 0;
}

.pixel-frame-small {
    border: 2px solid var(--accent);
    box-shadow: var(--pixel-shadow-sm) var(--accent-dark);
    background: var(--bg-card);
    border-radius: 0;
}

/* --- PIXEL BUTTONS --- */

.pixel-btn {
    font-family: var(--font-pixel);
    font-size: 10px;
    padding: 12px 20px;
    border: 3px solid;
    border-radius: 0;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

.pixel-btn-accent {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent-dim);
    box-shadow: var(--pixel-shadow) var(--accent-dark);
}
.pixel-btn-accent:hover {
    background: var(--yellow);
    border-color: var(--yellow-dark);
    box-shadow: var(--pixel-shadow) var(--yellow-dark);
    color: var(--primary);
    transform: translate(-1px, -1px);
}
.pixel-btn-accent:active {
    box-shadow: 1px 1px 0px var(--accent-dark);
    transform: translate(2px, 2px);
}

.pixel-btn-secondary {
    background: var(--primary-light);
    color: var(--text-primary);
    border-color: var(--border-color);
    box-shadow: var(--pixel-shadow) rgba(0,0,0,0.5);
}
.pixel-btn-secondary:hover {
    background: var(--primary);
    border-color: var(--accent);
    color: var(--accent);
}

.pixel-btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--pixel-shadow) var(--accent-dark);
}
.pixel-btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
}

.pixel-btn-danger {
    background: var(--red);
    color: var(--secondary);
    border-color: var(--red-dark);
    box-shadow: var(--pixel-shadow) var(--red-dark);
}
.pixel-btn-danger:hover {
    background: var(--red-dark);
}

.pixel-btn-large {
    font-size: 12px;
    padding: 16px 28px;
    box-shadow: var(--pixel-shadow-lg) var(--accent-dark);
}

.pixel-btn-full {
    width: 100%;
    justify-content: center;
    font-size: 11px;
    padding: 16px 20px;
}

.btn-icon {
    font-size: 14px;
    font-weight: bold;
}

/* --- SCANLINE EFFECT --- */

.header-scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

/* --- PIXEL GRID BACKGROUND --- */

.pixel-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 255, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: var(--primary-dark);
    border-top: 4px solid var(--accent);
    box-shadow: 0 -4px 20px rgba(0, 255, 0, 0.2);
    padding: var(--space-lg);
    animation: slideUpCookie 0.5s ease forwards;
}

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

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-lg);
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

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

.cookie-text p {
    font-size: 8px;
    line-height: 2;
    color: var(--text-secondary);
}

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

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.cookie-buttons .pixel-btn {
    font-size: 8px;
    padding: 8px 14px;
}

.cookie-settings-panel {
    max-width: 1200px;
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-lg);
    border-top: 2px solid var(--border-color);
}

.cookie-setting-item {
    margin-bottom: var(--space-md);
}

.cookie-setting-item label {
    font-size: 9px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.cookie-desc {
    font-size: 7px;
    color: var(--text-muted);
    margin-left: 24px;
    margin-top: 4px;
}

.cookie-settings-panel .pixel-btn {
    margin-top: var(--space-md);
    font-size: 8px;
}

/* ============================================================
   AGE GATE
   ============================================================ */

.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.age-gate-box {
    max-width: 500px;
    width: 100%;
    padding: var(--space-2xl);
    text-align: center;
    animation: pixelFadeIn 0.5s ease;
}

@keyframes pixelFadeIn {
    0% { opacity: 0; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.02); }
    100% { transform: scale(1); }
}

.age-gate-header {
    font-size: 14px;
    color: var(--yellow);
    margin-bottom: var(--space-xl);
    letter-spacing: 2px;
}

.pixel-star {
    color: var(--accent);
    animation: starBlink 1s infinite;
}

@keyframes starBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.age-gate-body p {
    font-size: 11px;
    margin-bottom: var(--space-md);
    line-height: 2;
}

.age-gate-small {
    font-size: 8px !important;
    color: var(--text-secondary);
}

.age-gate-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.age-gate-buttons .pixel-btn {
    font-size: 10px;
    min-width: 160px;
    justify-content: center;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--primary-dark);
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 3px 0 var(--accent-dark);
}

.main-nav {
    width: 100%;
}

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

.logo-link {
    text-decoration: none;
}

.logo-pixel {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-pixel);
    font-size: 14px;
}

.logo-bracket {
    color: var(--text-muted);
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    transition: all var(--transition-fast);
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--accent);
    color: var(--primary) !important;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--accent-dim);
    box-shadow: var(--pixel-shadow-sm) var(--accent-dark);
}

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

.nav-cta:hover {
    background: var(--yellow);
    border-color: var(--yellow-dark);
    color: var(--primary) !important;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: 2px solid var(--accent);
    padding: 8px;
    cursor: pointer;
}

.menu-bar {
    display: block;
    width: 20px;
    height: 3px;
    background: var(--accent);
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active .menu-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-4xl) var(--space-lg) var(--space-3xl);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(107, 47, 160, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 255, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 255, 0, 0.05) 0%, transparent 40%),
        var(--bg-dark);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    opacity: 0;
    animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translateY(-200px) scale(0.5);
    }
}

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

.hero-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-xl);
    animation: fadeSlideDown 0.8s ease forwards;
}

.blink-text {
    font-size: 9px;
    color: var(--yellow);
    animation: textBlink 1.5s infinite;
}

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

.hero-title {
    margin-bottom: var(--space-xl);
}

.title-line {
    display: block;
    font-family: var(--font-pixel);
    line-height: 1.2;
    letter-spacing: 4px;
}

.title-line-1 {
    font-size: 48px;
    color: var(--accent);
    text-shadow:
        var(--pixel-shadow-lg) var(--accent-dark),
        0 0 40px var(--accent-glow);
    animation: titleReveal 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.title-line-2 {
    font-size: 64px;
    color: var(--yellow);
    text-shadow:
        var(--pixel-shadow-lg) var(--yellow-dark),
        0 0 40px rgba(255, 204, 0, 0.3);
    animation: titleReveal 0.6s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.title-line-3 {
    font-size: 24px;
    color: var(--purple-light);
    text-shadow: var(--pixel-shadow-sm) var(--purple-dark);
    letter-spacing: 8px;
    animation: titleReveal 0.6s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.hero-subtitle-box {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    margin-bottom: var(--space-2xl);
    animation: fadeSlideDown 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 10px;
    color: var(--text-secondary);
    line-height: 2;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
    animation: fadeSlideDown 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.stat-item {
    padding: var(--space-md) var(--space-xl);
    text-align: center;
    min-width: 140px;
}

.stat-number {
    display: block;
    font-size: 24px;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 7px;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
    animation: fadeSlideDown 0.8s ease forwards;
    animation-delay: 1.2s;
    opacity: 0;
}

.hero-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    animation: scrollBounce 2s infinite;
}

.scroll-arrow {
    font-size: 10px;
    color: var(--text-muted);
    opacity: 0.5;
}

.scroll-arrow:nth-child(2) {
    opacity: 0.3;
    animation-delay: 0.2s;
}

.scroll-arrow:nth-child(3) {
    opacity: 0.1;
    animation-delay: 0.4s;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Hero decorative elements */
.hero-deco {
    position: absolute;
    z-index: 1;
    opacity: 0.1;
}

.hero-deco-sword {
    top: 15%;
    left: 5%;
    width: 60px;
    height: 120px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent) 60%, var(--yellow) 60%, var(--yellow) 70%, var(--brown) 70%);
    animation: floatDeco 8s ease-in-out infinite;
}

.hero-deco-shield {
    bottom: 20%;
    right: 8%;
    width: 80px;
    height: 80px;
    background: var(--blue);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: floatDeco 10s ease-in-out infinite;
    animation-delay: 2s;
}

.hero-deco-potion {
    top: 60%;
    left: 10%;
    width: 40px;
    height: 60px;
    background: linear-gradient(180deg, transparent 0%, transparent 30%, var(--red) 30%);
    border: 3px solid var(--red);
    animation: floatDeco 7s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes floatDeco {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(3deg); }
    75% { transform: translateY(10px) rotate(-2deg); }
}

/* ============================================================
   SOCIAL PROOF TICKER
   ============================================================ */

.social-proof-bar {
    background: var(--primary);
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    overflow: hidden;
    padding: var(--space-md) 0;
    position: relative;
}

.social-proof-bar::before,
.social-proof-bar::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.social-proof-bar::before {
    left: 0;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.social-proof-bar::after {
    right: 0;
    background: linear-gradient(-90deg, var(--primary), transparent);
}

.ticker-container {
    overflow: hidden;
    width: 100%;
}

.ticker-content {
    display: flex;
    gap: var(--space-3xl);
    animation: tickerScroll 40s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ticker-item {
    font-size: 8px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    display: inline-block;
    box-shadow: 0 0 6px var(--accent-glow);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

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

/* ============================================================
   SECTION COMMON STYLES
   ============================================================ */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tag {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    font-size: 8px;
    color: var(--yellow);
    margin-bottom: var(--space-lg);
    letter-spacing: 2px;
}

.section-title {
    font-family: var(--font-pixel);
    font-size: 28px;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: 2px;
    text-shadow: var(--pixel-shadow) rgba(0, 255, 0, 0.2);
    margin-bottom: var(--space-md);
}

.section-divider {
    color: var(--text-muted);
    font-size: 8px;
    letter-spacing: 4px;
    opacity: 0.5;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(107, 47, 160, 0.08) 0%, transparent 50%),
        var(--bg-dark);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.about-card {
    padding: var(--space-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--purple-light), var(--yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

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

.about-card:hover {
    transform: translate(-2px, -2px);
    box-shadow:
        5px 5px 0px var(--accent-dark),
        inset 0 0 0 2px var(--primary),
        inset 0 0 0 4px var(--border-color);
}

.card-icon-box {
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 2px solid var(--accent);
    box-shadow: var(--pixel-shadow-sm) var(--accent-dark);
    background: var(--primary-dark);
}

.card-title {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: var(--space-md);
    letter-spacing: 1px;
}

.card-text {
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 2.2;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */

.features-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(0, 255, 0, 0.04) 0%, transparent 50%),
        var(--bg-medium);
    position: relative;
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-4xl);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

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

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

.feature-visual {
    padding: var(--space-md);
}

.feature-screen {
    aspect-ratio: 16 / 10;
    background: var(--primary-dark);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Pixel scene - Battle */
.pixel-scene {
    width: 100%;
    height: 100%;
    position: relative;
}

.pixel-scene-battle {
    background: linear-gradient(180deg, #1a0a2e 0%, #2a1a4e 60%, #3a2a1e 80%, #2a1a0e 100%);
}

.scene-ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
    background:
        repeating-linear-gradient(90deg, #3a6a2a 0px, #3a6a2a 16px, #2a5a1a 16px, #2a5a1a 32px);
}

.scene-hero {
    position: absolute;
    bottom: 32%;
    left: 20%;
}

.px-hero-head {
    width: 16px;
    height: 16px;
    background: #ffcc99;
    margin: 0 auto;
    box-shadow: -4px 0 0 #ffcc99, 4px 0 0 #ffcc99, 0 -4px 0 #8B4513;
}

.px-hero-body {
    width: 24px;
    height: 20px;
    background: #4488ff;
    margin: 0 auto;
    box-shadow: -4px 8px 0 #4488ff, 4px 8px 0 #4488ff;
}

.px-hero-sword {
    position: absolute;
    right: -16px;
    top: -8px;
    width: 4px;
    height: 28px;
    background: #cccccc;
    box-shadow: 0 -4px 0 #ffcc00;
}

.scene-enemy {
    position: absolute;
    bottom: 32%;
    right: 20%;
}

.px-enemy-head {
    width: 20px;
    height: 20px;
    background: #ff4444;
    margin: 0 auto;
    box-shadow: -4px -4px 0 #ff4444, 4px -4px 0 #ff4444;
}

.px-enemy-body {
    width: 28px;
    height: 24px;
    background: #cc2222;
    margin: 0 auto;
}

.scene-hp-bar {
    position: absolute;
    top: 8%;
    left: 8%;
    width: 40%;
    height: 8px;
    background: #333;
    border: 1px solid #666;
}

.hp-fill {
    width: 65%;
    height: 100%;
    background: var(--accent);
    animation: hpPulse 3s infinite;
}

@keyframes hpPulse {
    0%, 100% { width: 65%; }
    30% { width: 45%; }
    60% { width: 70%; }
}

.scene-text {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--yellow);
    text-shadow: 1px 1px 0 #000;
    animation: textBlink 0.8s infinite;
}

/* Pixel scene - Craft */
.pixel-scene-craft {
    background: linear-gradient(180deg, #1a1a2e 0%, #2a2a3e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
}

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

.craft-slot {
    width: 28px;
    height: 28px;
    border: 2px solid var(--border-color);
    background: var(--primary-dark);
}

.craft-slot-filled[data-item="gem"] {
    background: var(--primary-dark);
    box-shadow: inset 0 0 0 6px var(--purple-light);
}

.craft-slot-filled[data-item="metal"] {
    background: var(--primary-dark);
    box-shadow: inset 0 0 0 6px #999;
}

.craft-slot-filled[data-item="fire"] {
    background: var(--primary-dark);
    box-shadow: inset 0 0 0 6px var(--red);
}

.craft-slot-filled[data-item="herb"] {
    background: var(--primary-dark);
    box-shadow: inset 0 0 0 6px var(--accent);
}

.craft-slot-result[data-item="sword"] {
    border-color: var(--yellow);
    background: var(--primary-dark);
    box-shadow: inset 0 0 0 6px var(--yellow), 0 0 8px rgba(255, 204, 0, 0.5);
    animation: craftGlow 2s infinite;
}

@keyframes craftGlow {
    0%, 100% { box-shadow: inset 0 0 0 6px var(--yellow), 0 0 8px rgba(255, 204, 0, 0.3); }
    50% { box-shadow: inset 0 0 0 6px var(--yellow), 0 0 16px rgba(255, 204, 0, 0.7); }
}

.craft-arrow {
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--accent);
}

.craft-text {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--yellow);
    text-align: center;
}

/* Pixel scene - Guild */
.pixel-scene-guild {
    background: linear-gradient(180deg, #1a0a2e 0%, #0d0d1a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
}

.guild-banner {
    position: relative;
}

.banner-flag {
    width: 40px;
    height: 30px;
    background: var(--red);
    border: 2px solid var(--red-dark);
    position: relative;
}

.banner-flag::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--yellow);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.banner-pole {
    width: 4px;
    height: 20px;
    background: #8B4513;
    margin: 0 auto;
}

.guild-members {
    display: flex;
    gap: 8px;
}

.guild-member {
    width: 12px;
    height: 20px;
    box-shadow: 0 -6px 0 4px;
}

.gm-1 { color: var(--accent); background: var(--accent); }
.gm-2 { color: var(--blue); background: var(--blue); }
.gm-3 { color: var(--red); background: var(--red); }
.gm-4 { color: var(--yellow); background: var(--yellow); }
.gm-5 { color: var(--purple-light); background: var(--purple-light); }

.guild-text {
    font-family: var(--font-pixel);
    font-size: 7px;
    color: var(--accent);
    text-align: center;
}

.feature-info {
    padding: var(--space-lg);
}

.feature-number {
    font-size: 48px;
    color: var(--primary-light);
    display: block;
    margin-bottom: var(--space-md);
    letter-spacing: 4px;
    opacity: 0.3;
}

.feature-title {
    font-size: 16px;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    letter-spacing: 1px;
    text-shadow: var(--pixel-shadow-sm) var(--accent-dark);
}

.feature-desc {
    font-size: 9px;
    color: var(--text-secondary);
    line-height: 2.2;
    margin-bottom: var(--space-lg);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-list li {
    font-size: 8px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.list-bullet {
    color: var(--accent);
    font-size: 10px;
    flex-shrink: 0;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */

.gallery-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(107, 47, 160, 0.06) 0%, transparent 50%),
        var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.gallery-item {
    padding: var(--space-sm);
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    transform: translate(-2px, -2px);
    box-shadow:
        5px 5px 0px var(--accent-dark),
        inset 0 0 0 2px var(--primary),
        inset 0 0 0 4px var(--border-color);
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-screen {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

/* Gallery screen 1 - Forest */
.gs-landscape {
    width: 100%;
    height: 100%;
    position: relative;
}

.gs-sky {
    position: absolute;
    top: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, #0a0a2e 0%, #1a2a4e 100%);
}

.gs-sky::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 20px;
    width: 8px;
    height: 8px;
    background: var(--yellow);
    box-shadow:
        -30px 5px 0 2px var(--yellow),
        -60px -2px 0 1px var(--yellow),
        20px 8px 0 1px var(--yellow);
}

.gs-mountains {
    position: absolute;
    top: 25%;
    width: 100%;
    height: 30%;
    background:
        linear-gradient(135deg, #2a3a2a 25%, transparent 25%),
        linear-gradient(225deg, #2a3a2a 25%, transparent 25%),
        linear-gradient(135deg, #1a2a1a 35%, transparent 35%);
    background-size: 60px 100%, 60px 100%, 80px 100%;
    background-position: 0 0, 60px 0, 30px 10%;
}

.gs-trees {
    position: absolute;
    bottom: 20%;
    width: 100%;
    height: 25%;
    background:
        repeating-linear-gradient(90deg,
            transparent 0px, transparent 12px,
            #1a4a1a 12px, #1a4a1a 20px,
            transparent 20px, transparent 28px,
            #0a3a0a 28px, #0a3a0a 36px
        );
}

.gs-ground-layer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20%;
    background: repeating-linear-gradient(90deg, #3a6a2a 0px, #3a6a2a 8px, #2a5a1a 8px, #2a5a1a 16px);
}

.gs-label {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-pixel);
    font-size: 6px;
    color: var(--text-primary);
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000;
    white-space: nowrap;
    z-index: 5;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 6px;
}

/* Gallery screen 2 - Dungeon */
.gs-dungeon {
    width: 100%;
    height: 100%;
    position: relative;
    background: #0a0a0a;
}

.gs-dungeon-wall {
    position: absolute;
    top: 0;
    width: 100%;
    height: 60%;
    background:
        repeating-linear-gradient(90deg, #2a2a2a 0px, #2a2a2a 24px, #1a1a1a 24px, #1a1a1a 26px),
        repeating-linear-gradient(0deg, #2a2a2a 0px, #2a2a2a 16px, #1a1a1a 16px, #1a1a1a 18px);
}

.gs-dungeon-floor {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: repeating-linear-gradient(90deg, #1a1a1a 0px, #1a1a1a 20px, #0f0f0f 20px, #0f0f0f 22px);
}

.gs-torch {
    position: absolute;
    top: 20%;
    width: 8px;
    height: 16px;
    background: #8B4513;
}

.gs-torch::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -2px;
    width: 12px;
    height: 12px;
    background: var(--yellow);
    box-shadow: 0 0 8px var(--yellow), 0 -4px 0 var(--red);
    animation: torchFlicker 0.5s infinite alternate;
}

@keyframes torchFlicker {
    0% { opacity: 0.7; transform: scaleY(0.9); }
    100% { opacity: 1; transform: scaleY(1.1); }
}

.gs-torch-left { left: 15%; }
.gs-torch-right { right: 15%; }

.gs-chest {
    position: absolute;
    bottom: 42%;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 16px;
    background: #8B4513;
    border: 2px solid var(--yellow);
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.5);
}

.gs-chest::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--yellow);
}

/* Gallery screen 3 - Town */
.gs-town {
    width: 100%;
    height: 100%;
    position: relative;
}

.gs-town-sky {
    position: absolute;
    top: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, #1a1a4e 0%, #3a2a6e 50%, #6a4a8e 100%);
}

.gs-building {
    position: absolute;
    bottom: 20%;
}

.gs-building-1 {
    left: 10%;
    width: 50px;
    height: 60px;
    background: #4a3a2a;
    border: 2px solid #3a2a1a;
}

.gs-building-1::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -5px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 20px solid #6a2a2a;
}

.gs-building-1::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 10px;
    width: 10px;
    height: 10px;
    background: var(--yellow);
    box-shadow: 20px 0 0 var(--yellow), 0 20px 0 var(--yellow), 20px 20px 0 var(--yellow);
    opacity: 0.8;
}

.gs-building-2 {
    left: 40%;
    width: 60px;
    height: 80px;
    background: #3a3a4a;
    border: 2px solid #2a2a3a;
}

.gs-building-2::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 20px;
    height: 10px;
    background: #5a5a6a;
}

.gs-building-3 {
    right: 10%;
    width: 45px;
    height: 50px;
    background: #4a4a3a;
    border: 2px solid #3a3a2a;
}

.gs-town-ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20%;
    background: #5a5a4a;
}

/* Gallery screen 4 - Boss */
.gs-boss {
    width: 100%;
    height: 100%;
    position: relative;
}

.gs-boss-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0a2e 0%, #1a0a3e 50%, #2a1a4e 100%);
}

.gs-boss-creature {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 50px;
    background: #6a2a8e;
    box-shadow:
        -12px -8px 0 #6a2a8e,
        12px -8px 0 #6a2a8e,
        -8px 12px 0 #6a2a8e,
        8px 12px 0 #6a2a8e,
        -20px 0 0 #4a1a6e,
        20px 0 0 #4a1a6e;
    animation: bossIdle 2s infinite;
}

.gs-boss-creature::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 8px;
    height: 8px;
    background: var(--red);
    box-shadow: 22px 0 0 var(--red);
}

@keyframes bossIdle {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}

.gs-boss-hp {
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 80%;
    height: 8px;
    background: #333;
    border: 1px solid #666;
}

.gs-boss-hp-fill {
    width: 85%;
    height: 100%;
    background: var(--red);
    animation: bossHp 4s infinite;
}

@keyframes bossHp {
    0%, 100% { width: 85%; }
    50% { width: 60%; }
}

/* Gallery screen 5 - Inventory */
.gs-inventory {
    width: 100%;
    height: 100%;
    position: relative;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px;
}

.gs-inv-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.gs-inv-slot {
    width: 28px;
    height: 28px;
    border: 2px solid var(--border-color);
    background: var(--primary-dark);
}

.gs-inv-weapon { box-shadow: inset 0 0 0 4px #999; }
.gs-inv-armor { box-shadow: inset 0 0 0 4px var(--blue); }
.gs-inv-potion { box-shadow: inset 0 0 0 4px var(--red); }
.gs-inv-gem { box-shadow: inset 0 0 0 4px var(--purple-light); }
.gs-inv-scroll { box-shadow: inset 0 0 0 4px var(--yellow); }
.gs-inv-ring { box-shadow: inset 0 0 0 4px var(--accent); }

.gs-inv-stats {
    font-family: var(--font-pixel);
    font-size: 6px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gs-inv-stats div:nth-child(1) { color: var(--red); }
.gs-inv-stats div:nth-child(2) { color: var(--blue); }
.gs-inv-stats div:nth-child(3) { color: var(--accent); }
.gs-inv-stats div:nth-child(4) { color: var(--purple-light); }

/* Gallery screen 6 - PvP */
.gs-pvp {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(180deg, #1a0a0a 0%, #2a0a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gs-pvp-vs {
    font-family: var(--font-pixel);
    font-size: 20px;
    color: var(--red);
    text-shadow: 2px 2px 0 #000, 0 0 10px rgba(255, 68, 68, 0.5);
    z-index: 2;
    animation: vsPulse 1.5s infinite;
}

@keyframes vsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.gs-pvp-p1 {
    position: absolute;
    left: 15%;
    top: 30%;
    width: 20px;
    height: 30px;
    background: var(--blue);
    box-shadow: 0 -8px 0 4px #ffcc99;
}

.gs-pvp-p2 {
    position: absolute;
    right: 15%;
    top: 30%;
    width: 20px;
    height: 30px;
    background: var(--red);
    box-shadow: 0 -8px 0 4px #ffcc99;
}

.gs-pvp-timer {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--yellow);
}

/* ============================================================
   ROADMAP SECTION
   ============================================================ */

.roadmap-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 255, 0, 0.04) 0%, transparent 40%),
        var(--bg-medium);
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: var(--space-2xl);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 16px;
    width: 20px;
    height: 20px;
    background: var(--primary-dark);
    border: 3px solid var(--border-color);
    z-index: 1;
}

.timeline-item-done .timeline-dot {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-item-active .timeline-dot {
    background: var(--yellow);
    border-color: var(--yellow);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
    animation: dotPulse 1.5s infinite;
}

.timeline-card {
    padding: var(--space-lg);
}

.timeline-date {
    font-size: 8px;
    color: var(--text-muted);
    letter-spacing: 2px;
    display: block;
    margin-bottom: var(--space-sm);
}

.timeline-title {
    font-size: 14px;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.timeline-desc {
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 2.2;
    margin-bottom: var(--space-md);
}

.timeline-status {
    font-size: 8px;
    letter-spacing: 1px;
}

.status-done { color: var(--accent); }
.status-active { color: var(--yellow); animation: textBlink 1.5s infinite; }
.status-upcoming { color: var(--text-muted); }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */

.testimonials-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    padding: var(--space-xl);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translate(-2px, -2px);
    box-shadow:
        5px 5px 0px var(--accent-dark),
        inset 0 0 0 2px var(--primary),
        inset 0 0 0 4px var(--border-color);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-dark);
    flex-shrink: 0;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-name {
    font-size: 10px;
    color: var(--accent);
}

.testimonial-rank {
    font-size: 7px;
    color: var(--text-muted);
}

.testimonial-stars {
    margin-bottom: var(--space-md);
    display: flex;
    gap: 4px;
}

.testimonial-stars span {
    color: var(--yellow);
    font-size: 12px;
}

.testimonial-stars span:last-child {
    color: var(--text-muted);
}

.testimonial-text {
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 2.4;
    font-style: italic;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.faq-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(107, 47, 160, 0.06) 0%, transparent 50%),
        var(--bg-medium);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-pixel);
    font-size: 10px;
    padding: var(--space-lg);
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all var(--transition-fast);
    line-height: 2;
}

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

.faq-icon {
    color: var(--accent);
    font-size: 12px;
    flex-shrink: 0;
    transition: all var(--transition-fast);
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    color: var(--yellow);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 var(--space-lg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--space-lg) var(--space-lg);
}

.faq-answer p {
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 2.4;
    padding-left: 42px;
}

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

/* ============================================================
   SIGNUP SECTION
   ============================================================ */

.signup-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0, 255, 0, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(107, 47, 160, 0.06) 0%, transparent 50%),
        var(--bg-dark);
    position: relative;
}

.signup-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.signup-title {
    text-align: left;
}

.signup-desc {
    font-size: 9px;
    color: var(--text-secondary);
    line-height: 2.2;
    margin-bottom: var(--space-lg);
}

.signup-perks {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.signup-perks li {
    font-size: 9px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.perk-icon {
    color: var(--yellow);
    flex-shrink: 0;
}

.signup-counter {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
}

.counter-label {
    font-size: 8px;
    color: var(--text-muted);
}

.counter-value {
    font-size: 16px;
    color: var(--red);
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
    animation: counterPulse 2s infinite;
}

@keyframes counterPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.signup-form-container {
    padding: 0;
    overflow: hidden;
}

.form-header {
    background: var(--accent);
    padding: var(--space-md) var(--space-lg);
}

.form-title {
    font-size: 9px;
    color: var(--primary);
    letter-spacing: 1px;
}

.signup-form {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-size: 9px;
    color: var(--accent);
    letter-spacing: 1px;
}

.form-input {
    font-family: var(--font-pixel);
    font-size: 9px;
    padding: 12px 16px;
    background: var(--primary-dark);
    border: 3px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 0;
    transition: all var(--transition-fast);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 0 12px var(--accent-glow);
}

.form-input.error {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
}

.form-error {
    font-size: 7px;
    color: var(--red);
    min-height: 14px;
    display: block;
}

.form-checkbox-group {
    gap: var(--space-xs);
}

.form-checkbox-label {
    font-size: 8px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    line-height: 2;
}

.form-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

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

.form-success-msg {
    padding: var(--space-xl);
    text-align: center;
}

.form-success-msg h3 {
    font-size: 14px;
    color: var(--accent);
    margin: var(--space-md) 0;
}

.form-success-msg p {
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 2.2;
}

.success-icon {
    display: flex;
    justify-content: center;
}

.form-error-msg {
    padding: var(--space-lg);
    text-align: center;
    border: 2px solid var(--red);
    margin: var(--space-lg);
}

.form-error-msg p {
    font-size: 8px;
    color: var(--red);
    line-height: 2;
}

/* ============================================================
   RESPONSIBLE GAMING SECTION
   ============================================================ */

.responsible-section {
    padding: var(--space-3xl) 0;
    background: var(--bg-medium);
}

.responsible-box {
    padding: var(--space-2xl);
    text-align: center;
    border-color: var(--yellow);
    box-shadow: var(--pixel-shadow) var(--yellow-dark);
}

.responsible-title {
    font-size: 14px;
    color: var(--yellow);
    margin-bottom: var(--space-lg);
    letter-spacing: 2px;
}

.responsible-content {
    max-width: 700px;
    margin: 0 auto;
}

.responsible-content > p {
    font-size: 9px;
    color: var(--text-secondary);
    line-height: 2.2;
    margin-bottom: var(--space-lg);
}

.responsible-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.responsible-list li {
    font-size: 8px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.responsible-contact {
    font-size: 9px;
    color: var(--text-secondary);
}

.responsible-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.responsible-badges .badge-item {
    padding: var(--space-sm) var(--space-md);
    font-size: 10px;
    color: var(--yellow);
    border-color: var(--yellow);
    box-shadow: var(--pixel-shadow-sm) var(--yellow-dark);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: var(--primary-dark);
    border-top: 4px solid var(--accent);
    box-shadow: 0 -3px 0 var(--accent-dark);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-tagline {
    font-size: 8px;
    color: var(--text-muted);
    margin-top: var(--space-md);
    line-height: 2;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-col-title {
    font-size: 10px;
    color: var(--accent);
    margin-bottom: var(--space-md);
    letter-spacing: 1px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col li {
    font-size: 8px;
    color: var(--text-muted);
    line-height: 2;
}

.footer-col a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.footer-support-note {
    color: var(--yellow) !important;
    margin-top: var(--space-xs);
}

.footer-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 6px;
    margin-bottom: var(--space-xl);
    opacity: 0.3;
    overflow: hidden;
    white-space: nowrap;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    text-align: center;
}

.footer-badges {
    display: flex;
    gap: var(--space-md);
}

.footer-badge {
    padding: var(--space-xs) var(--space-md);
    font-size: 8px;
    color: var(--accent);
}

.footer-legal-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-legal-text p {
    font-size: 7px;
    color: var(--text-muted);
    line-height: 2;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 999;
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    animation: fadeSlideDown 0.3s ease;
}

/* ============================================================
   LIVE NOTIFICATION
   ============================================================ */

.live-notification {
    position: fixed;
    bottom: 80px;
    left: 24px;
    z-index: 998;
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    max-width: 350px;
    animation: notifSlideIn 0.5s ease;
}

@keyframes notifSlideIn {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notif-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    flex-shrink: 0;
    animation: dotPulse 1s infinite;
}

.notif-text {
    font-size: 7px;
    color: var(--text-secondary);
    line-height: 2;
}

.notif-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-pixel);
    font-size: 8px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 4px;
}

.notif-close:hover {
    color: var(--red);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-page {
    padding-top: 80px;
}

.legal-hero {
    position: relative;
    padding: var(--space-4xl) var(--space-lg) var(--space-2xl);
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(0, 255, 0, 0.06) 0%, transparent 50%),
        var(--bg-dark);
    overflow: hidden;
}

.legal-title {
    font-family: var(--font-pixel);
    font-size: 24px;
    color: var(--accent);
    text-shadow: var(--pixel-shadow) var(--accent-dark);
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
    line-height: 1.6;
}

.legal-date {
    font-size: 8px;
    color: var(--text-muted);
    margin-top: var(--space-md);
    position: relative;
    z-index: 1;
}

.legal-content {
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
    background: var(--bg-card);
}

.legal-section {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 2px solid var(--border-color);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    letter-spacing: 1px;
}

.legal-section h3 {
    font-size: 10px;
    color: var(--yellow);
    margin: var(--space-lg) 0 var(--space-md);
}

.legal-section p {
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 2.4;
    margin-bottom: var(--space-md);
}

.legal-section ul {
    margin: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.legal-section li {
    font-size: 8px;
    color: var(--text-secondary);
    line-height: 2.2;
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.legal-section li .list-bullet {
    margin-top: 2px;
}

.legal-section a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-footer-note {
    padding: var(--space-xl);
    border: 2px solid var(--border-color);
    background: var(--primary-dark);
    margin-top: var(--space-xl);
    text-align: center;
}

.legal-footer-note p {
    font-size: 7px;
    color: var(--text-muted);
    line-height: 2.2;
    margin-bottom: var(--space-xs);
}

/* GDPR right cards */
.gdpr-right-card {
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    border-color: var(--purple-light);
    box-shadow: var(--pixel-shadow-sm) var(--purple-dark);
}

.gdpr-right-card h3 {
    margin-top: 0 !important;
    color: var(--accent) !important;
}

/* ============================================================
   ANIMATIONS - SCROLL REVEAL
   ============================================================ */

[data-animate] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-animate="slide-up"] {
    transform: translateY(40px);
}

[data-animate="slide-left"] {
    transform: translateX(-40px);
}

[data-animate="slide-right"] {
    transform: translateX(40px);
}

[data-animate="fade-in"] {
    transform: scale(0.95);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .gallery-item-wide {
        grid-column: span 2;
    }

    .signup-wrapper {
        grid-template-columns: 1fr;
    }

    .signup-title {
        text-align: center;
    }

    .signup-info {
        text-align: center;
    }

    .signup-info .section-header {
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-dark);
        border-bottom: 3px solid var(--accent);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
    }

    .nav-links.active {
        display: flex;
    }

    .title-line-1 {
        font-size: 32px;
    }

    .title-line-2 {
        font-size: 40px;
    }

    .title-line-3 {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .hero-stats {
        gap: var(--space-md);
    }

    .stat-item {
        min-width: 100px;
        padding: var(--space-sm) var(--space-md);
    }

    .stat-number {
        font-size: 18px;
    }

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

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

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

    .gallery-item-wide {
        grid-column: span 1;
    }

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

    .section-title {
        font-size: 20px;
    }

    .feature-number {
        font-size: 32px;
    }

    .feature-title {
        font-size: 13px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

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

    .cookie-buttons {
        width: 100%;
    }

    .cookie-buttons .pixel-btn {
        flex: 1;
    }

    .age-gate-box {
        padding: var(--space-xl);
    }

    .age-gate-buttons {
        flex-direction: column;
    }

    .age-gate-buttons .pixel-btn {
        width: 100%;
    }

    .live-notification {
        left: 12px;
        right: 12px;
        max-width: none;
        bottom: 70px;
    }

    .legal-title {
        font-size: 18px;
    }

    .legal-content {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .title-line-1 {
        font-size: 24px;
    }

    .title-line-2 {
        font-size: 30px;
    }

    .title-line-3 {
        font-size: 12px;
    }

    .section-title {
        font-size: 16px;
    }

    .pixel-btn-large {
        font-size: 10px;
        padding: 12px 20px;
    }

    .hero-section {
        padding-top: 80px;
    }

    .stat-item {
        min-width: 80px;
    }

    .stat-number {
        font-size: 14px;
    }

    .stat-label {
        font-size: 6px;
    }

    .responsible-badges {
        flex-wrap: wrap;
    }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
    .site-header,
    .cookie-banner,
    .age-gate-overlay,
    .back-to-top,
    .live-notification,
    .social-proof-bar,
    .hero-particles,
    .header-scanline {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .legal-content {
        background: #fff;
        border: 1px solid #ccc;
    }
}

/* ============================================================
   ACCESSIBILITY - REDUCED MOTION
   ============================================================ */

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

    .ticker-content {
        animation: none;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================
   FOCUS STYLES FOR ACCESSIBILITY
   ============================================================ */

*:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}

.pixel-btn:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

/* ============================================================
   HIGH CONTRAST MODE
   ============================================================ */

@media (prefers-contrast: high) {
    :root {
        --text-secondary: #e0e0e0;
        --text-muted: #c0c0c0;
        --border-color: #666;
    }
}
```

Now the JavaScript file:

```js