:root {
    /* Match startsite.css tokens so includes/header.css + includes/footer.css look identical */
    --primary-bg: #0a0e13;
    --secondary-bg: #0f1419;
    --card-bg: #161d25;
    --accent-green: #00d98a;
    --accent-green-dark: #00b872;
    --accent-green-darker: #009959;
    --accent-green-glow: rgba(0, 217, 138, 0.4);
    --text-primary: #e4e8ed;
    --text-secondary: #8a98a8;
    --text-muted: #5a6875;
    --border-color: #1f2830;
    --border-color-light: #2a3440;
    --hover-bg: #1d2530;
    --neon-glow: 0 0 15px rgba(0, 217, 138, 0.4), 0 0 30px rgba(0, 217, 138, 0.2);
    --neon-glow-strong: 0 0 20px rgba(0, 217, 138, 0.6), 0 0 40px rgba(0, 217, 138, 0.3), 0 0 60px rgba(0, 217, 138, 0.15);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-bg);
    background-image:
        radial-gradient(ellipse at 20% 10%, rgba(0, 217, 138, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 90%, rgba(0, 217, 138, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, var(--primary-bg) 0%, #080c11 100%);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

.page {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section.alt {
    background: var(--secondary-bg);
}

.section-head {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 70ch;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    will-change: transform;
}

.btn.primary {
    background: var(--accent-green);
    color: var(--primary-bg);
    box-shadow: 0 12px 30px rgba(0, 217, 138, 0.22);
}

.btn.ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary:hover {
    box-shadow: 0 16px 40px rgba(0, 217, 138, 0.34);
}

.btn.ghost:hover {
    border-color: rgba(0, 217, 138, 0.35);
}

/* Hero */
.hero {
    padding: 5rem 0 3rem;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(0, 217, 138, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 75% 60%, rgba(0, 217, 138, 0.09) 0%, transparent 55%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-size: 3.1rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0.35rem 0 0.75rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 0.9rem 0.95rem;
    display: grid;
    gap: 0.2rem;
}

.badge-strong {
    font-weight: 800;
}

.badge-muted {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.panel-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

.panel-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.panel-title {
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.panel-body {
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.85rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.pill {
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--text-primary);
}

.pill.ok {
    background: rgba(0, 217, 138, 0.12);
    border-color: rgba(0, 217, 138, 0.25);
    color: var(--accent-green);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.feature {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    display: grid;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(14px);
}

.feature.in {
    animation: fadeUp 550ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.feature-icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(0, 217, 138, 0.10);
    border: 1px solid rgba(0, 217, 138, 0.20);
}

.feature h3 {
    font-size: 1.05rem;
    font-weight: 800;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Games */

.marquee {
    position: relative;
    border-radius: 18px;
    padding: 1.25rem 0;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.marquee::before,
.marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 110px;
    pointer-events: none;
    z-index: 2;
}

.marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--secondary-bg) 0%, rgba(15, 20, 25, 0) 100%);
}

.marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--secondary-bg) 0%, rgba(15, 20, 25, 0) 100%);
}

.marquee-inner {
    display: flex;
    width: max-content;
    gap: 1rem;
    padding: 0 1rem;
    animation: marqueeRL 28s linear infinite;
    will-change: transform;

    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 1rem;
    flex: 0 0 auto;
}

.marquee-item {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 0.85rem;
    row-gap: 0.05rem;
    align-items: center;
    padding: 0.85rem 1rem;
    min-width: 240px;

    background: linear-gradient(135deg, rgba(22, 29, 37, 0.85) 0%, rgba(15, 20, 25, 0.70) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.marquee-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.marquee-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.marquee-name {
    font-weight: 900;
    letter-spacing: -0.01em;
}

.marquee-sub {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@keyframes marqueeRL {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-inner { animation: none; }
}

.hint {
    margin-top: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Split */
.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.list {
    margin: 1rem 0 1.25rem;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    display: grid;
    gap: 0.35rem;
}

.split-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem;
}

.mock {
    display: grid;
    gap: 0.75rem;
}

.mock-bar {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 217, 138, 0.45) 0%, rgba(0, 217, 138, 0.06) 70%);
}

.mock-line {
    height: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.mock-line.short {
    width: 68%;
}

.mock-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.kpi {
    border-radius: 14px;
    padding: 0.9rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.kpi-n {
    font-weight: 900;
    color: var(--accent-green);
}

.kpi-l {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

/* FAQ */
.faq {
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    opacity: 0;
    transform: translateY(12px);
}

.faq-item.in {
    animation: fadeUp 520ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 800;
}

.faq-item p {
    margin-top: 0.65rem;
    color: var(--text-secondary);
}

.cta {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
    border-radius: 18px;
    background: rgba(0, 217, 138, 0.08);
    border: 1px solid rgba(0, 217, 138, 0.18);
}

.cta h3 {
    margin-bottom: 0.2rem;
}

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

/* Game gradients */
.minecraft-bg { background: linear-gradient(135deg, #4a7c59 0%, #2d5a3d 100%); }
.fivem-bg { background: linear-gradient(135deg, #f76707 0%, #d63031 100%); }
.rust-bg { background: linear-gradient(135deg, #ce4257 0%, #8b2635 100%); }
.ark-bg { background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%); }
.csgo-bg { background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%); }
.valheim-bg { background: linear-gradient(135deg, #457b9d 0%, #1d3557 100%); }
.terraria-bg { background: linear-gradient(135deg, #06d6a0 0%, #118ab2 100%); }
.palworld-bg { background: linear-gradient(135deg, #7209b7 0%, #560bad 100%); }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLR {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        justify-content: flex-start;
    }

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

    .marquee-item { min-width: 220px; }

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

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

    .marquee::before,
    .marquee::after { width: 70px; }

    .marquee-item {
        min-width: 200px;
        padding: 0.8rem 0.9rem;
        grid-template-columns: 44px 1fr;
    }

    .marquee-icon { width: 44px; height: 44px; }

    .cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
