/* ============================
   CSS CUSTOM PROPERTIES
   ============================ */
:root {
    --primary: #1e0533;
    --primary-dark: #0d0119;
    --primary-mid: #2d0a4e;
    --secondary: #ffffff;
    --accent: #fbbf24;
    --accent-hover: #f59e0b;
    --accent-glow: rgba(251, 191, 36, 0.3);
    --accent-glow-strong: rgba(251, 191, 36, 0.5);

    --glass-bg: rgba(30, 5, 51, 0.45);
    --glass-bg-light: rgba(30, 5, 51, 0.3);
    --glass-bg-strong: rgba(30, 5, 51, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-accent: rgba(251, 191, 36, 0.2);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);

    --gradient-main: linear-gradient(
        180deg,
        #0d0119 0%,
        #1e0533 15%,
        #2d0a4e 30%,
        #4a1070 45%,
        #6b2190 55%,
        #8b3a9f 65%,
        #b85c3a 78%,
        #d4843a 88%,
        #f0a030 95%,
        #fbbf24 100%
    );

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --shadow-glow-strong: 0 0 60px var(--accent-glow-strong);

    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Syne', sans-serif;

    --header-height: 72px;
    --container-max: 1200px;
    --container-padding: 24px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-main);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Noise texture overlay on body */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

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

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

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

ul {
    list-style: none;
}

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

/* ============================
   UTILITY CLASSES
   ============================ */
.text-accent {
    color: var(--accent);
}

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.25);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow-strong); }
}

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

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -50px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, -100px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translate(40px, -60px) rotate(270deg);
        opacity: 0.5;
    }
}

@keyframes rotateGeo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   BUTTONS
   ============================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px var(--accent-glow), 0 2px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s ease;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-strong), 0 8px 32px rgba(0, 0, 0, 0.3);
    color: var(--primary-dark);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: var(--secondary);
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-secondary-outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--secondary);
}

/* ============================
   HEADER / NAVIGATION
   ============================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: all var(--transition-base);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(13, 1, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover)) !important;
    color: var(--primary-dark) !important;
    font-weight: 700 !important;
    padding: 10px 24px !important;
}

.nav-link-cta:hover {
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translateY(5px) translateX(5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(var(--header-height) + 40px) var(--container-padding) 60px;
    overflow: hidden;
    flex-wrap: wrap;
    gap: 60px;
    max-width: var(--container-max);
    margin: 0 auto;
}

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

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.2;
    animation: particleFloat 15s ease-in-out infinite;
}

.particle-1 { width: 4px; height: 4px; top: 10%; left: 5%; animation-duration: 18s; animation-delay: 0s; }
.particle-2 { width: 6px; height: 6px; top: 20%; left: 80%; animation-duration: 22s; animation-delay: -3s; }
.particle-3 { width: 3px; height: 3px; top: 40%; left: 15%; animation-duration: 16s; animation-delay: -5s; }
.particle-4 { width: 5px; height: 5px; top: 60%; left: 70%; animation-duration: 20s; animation-delay: -2s; }
.particle-5 { width: 4px; height: 4px; top: 80%; left: 30%; animation-duration: 17s; animation-delay: -7s; }
.particle-6 { width: 3px; height: 3px; top: 15%; left: 50%; animation-duration: 19s; animation-delay: -4s; }
.particle-7 { width: 5px; height: 5px; top: 50%; left: 90%; animation-duration: 21s; animation-delay: -6s; }
.particle-8 { width: 4px; height: 4px; top: 70%; left: 10%; animation-duration: 15s; animation-delay: -1s; }
.particle-9 { width: 6px; height: 6px; top: 30%; left: 40%; animation-duration: 23s; animation-delay: -8s; }
.particle-10 { width: 3px; height: 3px; top: 85%; left: 60%; animation-duration: 18s; animation-delay: -3s; }
.particle-11 { width: 4px; height: 4px; top: 5%; left: 25%; animation-duration: 20s; animation-delay: -9s; }
.particle-12 { width: 5px; height: 5px; top: 55%; left: 55%; animation-duration: 16s; animation-delay: -5s; }

/* Geometric shapes */
.hero-geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.geo-shape {
    position: absolute;
    border: 1px solid rgba(251, 191, 36, 0.1);
    opacity: 0.4;
}

.geo-shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: -50px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: rotateGeo 30s linear infinite;
}

.geo-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: -30px;
    border-radius: 50%;
    animation: rotateGeo 25s linear infinite reverse;
}

.geo-shape-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 10%;
    transform: rotate(45deg);
    animation: rotateGeo 20s linear infinite;
}

.geo-shape-4 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 20%;
    border-radius: 50% 0 50% 0;
    animation: rotateGeo 35s linear infinite reverse;
}

.hero-content {
    flex: 1;
    min-width: 320px;
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    animation: pulse 3s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--accent), #ff6b35, var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

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

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

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-proof-avatars {
    display: flex;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid var(--primary-dark);
    margin-left: -8px;
}

.avatar-circle:first-child {
    margin-left: 0;
}

.avatar-1 { background: #e74c3c; color: white; }
.avatar-2 { background: #3498db; color: white; }
.avatar-3 { background: #2ecc71; color: white; }
.avatar-4 { background: #f39c12; color: white; }
.avatar-5 { background: var(--accent); color: var(--primary-dark); }

.social-proof-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-proof-text strong {
    color: var(--accent);
}

/* Hero Image */
.hero-image-container {
    flex: 1;
    min-width: 320px;
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.hero-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    animation: glow 4s ease-in-out infinite;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    transition: transform var(--transition-slow);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.02);
}

.hero-image-badge {
    position: absolute;
    bottom: -12px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

/* ============================
   ABOUT SECTION
   ============================ */
.about-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.about-card:hover {
    border-color: var(--glass-border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.about-card-large {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-card-large {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .about-card-large {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }
}

.about-card-inner {
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-card-large .about-card-inner {
    padding: 0;
    position: relative;
}

.about-card-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.about-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(13, 1, 25, 0.95), transparent);
}

.about-card-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-card-overlay p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-card-icon {
    margin-bottom: 20px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(251, 191, 36, 0.15);
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.developer-info {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.developer-info strong {
    color: var(--text-secondary);
}

/* ============================
   SCREENSHOTS GALLERY
   ============================ */
.screenshots-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.gallery-item:hover {
    border-color: var(--glass-border-accent);
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.gallery-item-featured {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .gallery-item-featured {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
}

.gallery-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 1, 25, 0.8) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
}

.gallery-overlay span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background var(--transition-fast);
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background var(--transition-fast);
    z-index: 10001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================
   FEATURES SECTION
   ============================ */
.features-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--glass-border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(251, 191, 36, 0.06);
    line-height: 1;
    pointer-events: none;
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(251, 191, 36, 0.15);
    margin-bottom: 20px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.feature-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--accent), transparent);
    transition: width 0.6s ease;
}

.feature-card:hover .feature-line {
    width: 100%;
}

/* ============================
   SOCIAL PROOF SECTION
   ============================ */
.social-proof-section {
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.social-proof-banner {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    position: relative;
    flex-shrink: 0;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #22c55e;
    animation: pulse 2s ease-in-out infinite;
    opacity: 0.5;
}

.social-proof-live-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.social-proof-counters {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sp-counter {
    text-align: center;
}

.sp-counter-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
}

.sp-counter-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sp-counter-divider {
    width: 1px;
    height: 32px;
    background: var(--glass-border);
}

/* ============================
   GAME ICON SHOWCASE
   ============================ */
.game-icon-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.game-icon-showcase {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.game-icon-image-wrap {
    position: relative;
    flex-shrink: 0;
}

.game-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: glow 4s ease-in-out infinite;
}

.game-icon-large {
    width: 180px;
    height: 180px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--glass-border-accent);
    animation: float 6s ease-in-out infinite;
}

.game-icon-info {
    flex: 1;
    min-width: 280px;
}

.game-icon-info h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.game-icon-developer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.game-icon-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.stars {
    display: flex;
    gap: 2px;
}

.game-icon-rating span {
    font-weight: 700;
    color: var(--accent);
    font-size: 1rem;
}

.game-icon-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.game-icon-info .btn-primary {
    margin-top: 20px;
}

/* ============================
   FAQ SECTION
   ============================ */
.faq-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--glass-border-accent);
}

.faq-item.active {
    border-color: var(--glass-border-accent);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    text-align: left;
    transition: color var(--transition-fast);
}

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

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--accent);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

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

/* ============================
   SIGNUP SECTION
   ============================ */
.signup-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.signup-wrapper {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.signup-info {
    flex: 1;
    min-width: 300px;
}

.signup-info .section-title {
    text-align: left;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.signup-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.signup-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.signup-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.signup-benefits svg {
    flex-shrink: 0;
}

.signup-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Form */
.signup-form-wrap {
    flex: 1;
    min-width: 340px;
    max-width: 480px;
}

.signup-form {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.signup-form h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

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

.form-group input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
    display: block;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 4px;
    min-height: 1em;
}

/* Checkbox */
.form-checkbox-group {
    margin-bottom: 16px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-radius: 4px;
    transition: all var(--transition-fast);
    position: relative;
    margin-top: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.form-checkbox-label input:checked + .form-checkbox-custom {
    background: var(--accent);
    border-color: var(--accent);
}

.form-checkbox-label input:checked + .form-checkbox-custom::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid var(--primary-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-checkbox-label input:focus-visible + .form-checkbox-custom {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

.btn-text {
    display: inline;
}

.btn-loader {
    display: none;
}

.signup-form .btn-primary {
    margin-top: 8px;
}

.form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ============================
   TRUST SECTION
   ============================ */
.trust-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.trust-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-base);
}

.trust-card:hover {
    border-color: var(--glass-border-accent);
    transform: translateY(-4px);
}

.trust-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(251, 191, 36, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(251, 191, 36, 0.15);
}

.trust-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* ============================
   FOOTER
   ============================ */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
    background: rgba(13, 1, 25, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

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

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
}

.footer-logo-title {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
}

.footer-logo-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.footer-links-group a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
    text-decoration: none;
}

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

.footer-address {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--accent);
}

/* ============================
   COOKIE CONSENT
   ============================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(13, 1, 25, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--glass-border);
    padding: 24px;
    animation: fadeInUp 0.5s ease;
}

.cookie-consent-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 600px;
}

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

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

.btn-cookie-accept {
    padding: 10px 24px;
    background: var(--accent);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.btn-cookie-accept:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-cookie-reject {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-fast);
}

.btn-cookie-reject:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-cookie-settings {
    padding: 10px 24px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-cookie-settings:hover {
    color: var(--text-primary);
}

.cookie-settings-panel {
    max-width: var(--container-max);
    margin: 16px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.cookie-setting-item {
    margin-bottom: 12px;
}

.cookie-setting-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.cookie-setting-item p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 26px;
    margin-top: 2px;
}

.cookie-settings-panel .btn-cookie-accept {
    margin-top: 12px;
}

/* ============================
   AGE VERIFICATION MODAL
   ============================ */
.age-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(13, 1, 25, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.age-modal-content {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.age-modal-icon {
    margin-bottom: 24px;
}

.age-modal-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.age-modal-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.age-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================
   TOAST NOTIFICATION
   ============================ */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 8000;
    animation: toastSlideIn 0.5s var(--transition-spring);
}

.toast-notification.hiding {
    animation: toastSlideOut 0.4s ease forwards;
}

.toast-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-accent);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 340px;
}

.toast-icon {
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.4;
}

.toast-content strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

.toast-content span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.toast-close {
    flex-shrink: 0;
    padding: 4px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--text-primary);
}

/* ============================
   LEGAL PAGES - .legal-content
   ============================ */
.legal-content {
    position: relative;
    z-index: 1;
    padding: calc(var(--header-height) + 60px) 0 80px;
}

.legal-content .section-container {
    max-width: 860px;
}

.legal-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    color: #1a1a2e;
}

.legal-card h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.legal-card .legal-updated {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 32px;
}

.legal-card h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 12px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.legal-card h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
}

.legal-card ul,
.legal-card ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-card li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 6px;
    list-style: disc;
}

.legal-card ol li {
    list-style: decimal;
}

.legal-card a {
    color: var(--primary-mid);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.legal-card strong {
    color: #222;
}

.legal-card .legal-contact {
    background: #f8f8fc;
    border: 1px solid #e8e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 24px;
}

.legal-card .legal-contact p {
    margin-bottom: 4px;
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --container-padding: 20px;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(13, 1, 25, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 4px;
        transition: right var(--transition-base);
        border-left: 1px solid var(--glass-border);
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
    }

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

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Hero */
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--header-height) + 24px);
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-social-proof {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-image-container {
        max-width: 100%;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card-large {
        grid-column: 1;
        grid-row: auto;
    }

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

    .gallery-item-featured {
        grid-column: 1;
    }

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

    /* Social Proof */
    .social-proof-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .social-proof-counters {
        justify-content: center;
    }

    /* Game Icon */
    .game-icon-showcase {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }

    .game-icon-info {
        min-width: auto;
    }

    /* Signup */
    .signup-wrapper {
        flex-direction: column;
    }

    .signup-form-wrap {
        max-width: 100%;
        min-width: auto;
    }

    .signup-form {
        padding: 28px;
    }

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

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

    .signup-benefits li {
        justify-content: center;
    }

    .signup-trust {
        justify-content: center;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Legal */
    .legal-card {
        padding: 28px;
    }

    /* Toast */
    .toast-notification {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .toast-inner {
        max-width: 100%;
    }

    /* Lightbox */
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

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

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .game-icon-large {
        width: 120px;
        height: 120px;
    }
}

/* ============================
   ACCESSIBILITY
   ============================ */
@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;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Focus visible for keyboard users */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .site-header,
    .cookie-consent,
    .age-modal,
    .toast-notification,
    .hero-particles,
    .hero-geometric-shapes,
    .hero-scroll-indicator {
        display: none !important;
    }
}
