/* ============================================
   GAME COMPRESSOR — Website Stylesheet
   Dark Gaming Theme with Cyan/Purple Accents
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core Colors */
    --bg-primary: #06060b;
    --bg-secondary: #0c0c14;
    --bg-card: rgba(14, 14, 24, 0.7);
    --bg-card-hover: rgba(20, 20, 35, 0.85);
    --bg-card-border: rgba(139, 92, 246, 0.12);

    /* Accent Colors */
    --accent-primary: #8b5cf6;
    --accent-secondary: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --accent-gradient-text: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
    --accent-glow: rgba(139, 92, 246, 0.3);

    /* Text Colors */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Perf bar colors */
    --perf-green: #10b981;
    --perf-gradient: linear-gradient(90deg, #8b5cf6, #06b6d4);

    /* Sizes */
    --nav-height: 72px;
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === ANIMATED BACKGROUND === */
.bg-grid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.bg-glow-1 {
    width: 600px; height: 600px;
    top: -200px; left: -100px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%);
}

.bg-glow-2 {
    width: 500px; height: 500px;
    bottom: -150px; right: -100px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 70%);
}

/* === UTILITIES === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-sm {
    font-size: 0.85rem;
    padding: 10px 20px;
}

.btn-lg {
    font-size: 1rem;
    padding: 16px 32px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(139, 92, 246, 0.4);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-base);
    background: rgba(6, 6, 11, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(6, 6, 11, 0.92);
    border-bottom-color: rgba(139, 92, 246, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    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);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Brand pixel font style (matching the app UI) */
.brand-text {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #39ff14;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.4), 0 0 20px rgba(57, 255, 20, 0.15);
    text-transform: uppercase;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 60%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 22px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-desc strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(139, 92, 246, 0.2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 20px 80px rgba(139, 92, 246, 0.15), 0 0 0 1px rgba(255,255,255,0.03);
}

.hero-screenshot {
    width: 100%;
    display: block;
    border-radius: var(--radius-xl);
}

.hero-image-glow {
    position: absolute;
    bottom: -40px; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 100px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.2), transparent);
    filter: blur(40px);
    pointer-events: none;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 24px; height: 24px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* === HOW IT WORKS === */
.section-how {
    background: var(--bg-secondary);
}

.how-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin-bottom: 72px;
}

.how-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 40px 28px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
}

.how-step:hover {
    background: var(--bg-card-hover);
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-4px);
}

.how-step-icon {
    width: 64px; height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
}

.how-step-icon svg {
    width: 28px; height: 28px;
}

.how-step-number {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.how-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.how-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.how-step-arrow {
    display: flex;
    align-items: center;
    padding-top: 60px;
    color: var(--text-muted);
    opacity: 0.4;
}

.how-step-arrow svg {
    width: 24px; height: 24px;
}

/* === SCREENSHOTS GALLERY === */
.screenshots-gallery {
    margin-top: 20px;
}

.screenshot-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    margin-bottom: 16px;
}

.screenshot-main img {
    width: 100%;
    display: block;
    transition: opacity var(--transition-base);
}

.screenshot-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.screenshot-thumbs .thumb {
    width: 100px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.5;
    transition: all var(--transition-fast);
}

.screenshot-thumbs .thumb:hover {
    opacity: 0.8;
}

.screenshot-thumbs .thumb.active {
    opacity: 1;
    border-color: var(--accent-primary);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}

/* === FEATURES === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px; height: 24px;
}

.feature-icon-blue { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }
.feature-icon-green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.feature-icon-orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }
.feature-icon-pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.feature-icon-cyan { background: rgba(34, 211, 238, 0.1); color: #22d3ee; }

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.feature-card p strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* === PERFORMANCE TABLE === */
.section-performance {
    background: var(--bg-secondary);
}

.perf-table {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.perf-row {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 2fr;
    align-items: center;
    padding: 18px 28px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.06);
    transition: background var(--transition-fast);
}

.perf-row:last-child {
    border-bottom: none;
}

.perf-row:not(.perf-header):not(.perf-more):hover {
    background: rgba(139, 92, 246, 0.04);
}

.perf-header {
    background: rgba(139, 92, 246, 0.06);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
}

.perf-game-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.perf-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--accent-secondary);
}

.perf-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.perf-bar {
    width: 100%;
    height: 8px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.perf-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--perf-gradient);
    border-radius: 10px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.perf-more {
    padding: 20px 28px;
}

.perf-more .perf-game-name {
    color: var(--text-muted);
    font-weight: 500;
    font-style: italic;
}

/* === PERFECT FOR === */
.perfect-for {
    margin-top: 72px;
    text-align: center;
}

.perfect-for-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.perfect-for-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.perfect-for-card {
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.perfect-for-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.2);
}

.perfect-for-card svg {
    width: 32px; height: 32px;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.perfect-for-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.perfect-for-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === FAQ === */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.25);
}

.faq-item.active {
    border-color: rgba(139, 92, 246, 0.3);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 600;
    text-align: left;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    width: 20px; height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.faq-answer p strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* === CTA SECTION === */
.section-cta {
    padding: 80px 0 100px;
}

.cta-card {
    position: relative;
    text-align: center;
    padding: 72px 48px;
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -100px; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12), transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.steam-widget-wrapper {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.steam-widget-wrapper iframe {
    max-width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.cta-note {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    position: relative;
}

/* === FOOTER === */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(139, 92, 246, 0.08);
    background: var(--bg-secondary);
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-logo-img {
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.06);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    opacity: 0.6;
}

/* === ANIMATIONS === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children */
.how-grid .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.how-grid .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.how-grid .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.how-grid .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.how-grid .animate-on-scroll:nth-child(5) { transition-delay: 320ms; }

.features-grid .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.features-grid .animate-on-scroll:nth-child(2) { transition-delay: 80ms; }
.features-grid .animate-on-scroll:nth-child(3) { transition-delay: 160ms; }
.features-grid .animate-on-scroll:nth-child(4) { transition-delay: 240ms; }
.features-grid .animate-on-scroll:nth-child(5) { transition-delay: 320ms; }
.features-grid .animate-on-scroll:nth-child(6) { transition-delay: 400ms; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-step-arrow {
        display: none;
    }

    .how-grid {
        flex-direction: column;
        align-items: center;
    }

    .how-step {
        max-width: 400px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .section {
        padding: 70px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(6, 6, 11, 0.97);
        backdrop-filter: blur(20px);
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .perf-row {
        grid-template-columns: 1.2fr 0.6fr 1.2fr;
        padding: 14px 18px;
    }

    .perf-game-name {
        font-size: 0.85rem;
    }

    .perf-value {
        font-size: 1rem;
    }

    .perfect-for-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 32px;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .screenshot-thumbs .thumb {
        width: 60px;
        height: 34px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .perf-row {
        grid-template-columns: 1fr 0.5fr;
    }

    .perf-bar-col {
        display: none;
    }

    .perf-header .perf-bar-col {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

/* === SMOOTH SCROLLBAR (WebKit) === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* Selection color */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
}
