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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', 'Arial', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.page-load-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 10000;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.5s ease;
}

.page-load-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .page-load-overlay {
        transition: none;
    }
}

#starfieldCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.marketing-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px 88px;
    text-align: center;
}

#titleText {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

#titleStarshot {
    font-size: clamp(56px, 12vw, 140px);
    font-weight: 300;
    font-style: italic;
    color: transparent;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1;
    background:
        repeating-linear-gradient(135deg,
            #ffffff 0%, #ffffff 4.5%, #ffffff 5%, #ffffff 5.5%,
            rgba(255, 0, 0, 0.5) 6%, rgba(255, 48, 0, 0.5) 6.5%,
            rgba(255, 96, 0, 0.5) 7%, rgba(255, 144, 0, 0.5) 7.5%,
            rgba(255, 192, 0, 0.5) 8%, rgba(255, 176, 32, 0.5) 8.5%,
            rgba(255, 160, 64, 0.5) 9%, rgba(255, 128, 64, 0.5) 9.5%,
            rgba(255, 96, 64, 0.5) 10%, rgba(255, 96, 96, 0.5) 10.5%,
            rgba(255, 96, 128, 0.5) 11%, rgba(255, 96, 160, 0.5) 11.5%,
            rgba(255, 96, 192, 0.5) 12%, rgba(255, 96, 224, 0.5) 12.5%,
            rgba(0, 255, 255, 0.6) 13%, rgba(0, 255, 128, 0.6) 13.5%,
            rgba(0, 128, 255, 0.6) 14%, rgba(255, 0, 255, 0.6) 14.5%,
            #ffffff 15%, #ffffff 19.5%, #ffffff 20%, #ffffff 20.5%,
            rgba(255, 0, 0, 0.5) 21%, rgba(255, 48, 0, 0.5) 21.5%,
            rgba(255, 96, 0, 0.5) 22%, rgba(255, 144, 0, 0.5) 22.5%,
            rgba(255, 192, 0, 0.5) 23%, rgba(255, 176, 32, 0.5) 23.5%,
            rgba(255, 160, 64, 0.5) 24%, rgba(255, 128, 64, 0.5) 24.5%,
            rgba(255, 96, 64, 0.5) 25%, rgba(255, 96, 96, 0.5) 25.5%,
            rgba(255, 96, 128, 0.5) 26%, rgba(255, 96, 160, 0.5) 26.5%,
            rgba(255, 96, 192, 0.5) 27%, rgba(255, 96, 224, 0.5) 27.5%,
            rgba(0, 255, 255, 0.6) 28%, rgba(0, 255, 128, 0.6) 28.5%,
            rgba(0, 128, 255, 0.6) 29%, rgba(255, 0, 255, 0.6) 29.5%,
            #ffffff 30%),
        #ffffff;
    background-size: 400% 100%, 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGradientRoll 10s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5))
        drop-shadow(0 0 12px rgba(255, 0, 0, 0.3))
        drop-shadow(0 0 18px rgba(0, 0, 255, 0.2));
}

#titleGenesis {
    font-size: clamp(14px, 2.5vw, 24px);
    font-weight: 300;
    font-style: italic;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: clamp(6px, 2vw, 12px);
    margin-top: 8px;
}

@keyframes titleGradientRoll {
    0% { background-position: 0% 0%, 0% 0%; }
    100% { background-position: 400% 0%, 0% 0%; }
}

.hero-tagline {
    max-width: 640px;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(223, 232, 238, 0.85);
    letter-spacing: 0.5px;
    margin-bottom: 32px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
    justify-content: center;
    margin-bottom: 36px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.hero-meta .meta-score { color: #e8f7ff; }
.hero-meta .meta-kills { color: #ffe8e8; }
.hero-meta .meta-level { color: #e8ffe8; }

.steam-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: none;
    text-decoration: none;
    color: #ffffff;
    font-family: 'Exo 2', 'Arial', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.steam-cta:hover {
    opacity: 1;
}

.steam-cta .menuKeyHint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 28px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    text-transform: uppercase;
}

.steam-cta .menuButtonText {
    color: rgba(255, 255, 255, 0.9);
    line-height: 28px;
}

.steam-price {
    margin-top: 16px;
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(232, 247, 255, 0.75);
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: opacity 0.35s ease, visibility 0.35s ease, color 0.2s ease;
}

.hero-scroll.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hero-scroll-label {
    line-height: 1;
}

.hero-scroll-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(232, 247, 255, 0.85);
    filter: drop-shadow(0 0 6px rgba(232, 247, 255, 0.35));
    animation: chevronBounce 1.6s ease-in-out infinite;
}

.hero-scroll-chevron svg {
    width: 24px;
    height: 24px;
}

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

.hero-scroll:hover {
    color: rgba(255, 255, 255, 0.7);
}

.hero-scroll:hover .hero-scroll-chevron {
    color: rgba(232, 247, 255, 0.85);
}

.section-video {
    border-top: none;
    padding-top: 0;
}

.video-embed {
    position: relative;
    width: 100%;
    max-width: 840px;
    margin: 8px auto 0;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Content sections */
.content {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.section {
    margin-bottom: 56px;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.section-label {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #e8f7ff;
    margin-bottom: 12px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
}

.section h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 300;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(223, 232, 238, 0.82);
    margin-bottom: 14px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.feature-card {
    padding: 20px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.feature-card h3 {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.feature-card h3.accent-cyan { color: #e8f7ff; }
.feature-card h3.accent-red { color: #ffe8e8; }
.feature-card h3.accent-green { color: #e8ffe8; }

.feature-card p,
.feature-card li {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(223, 232, 238, 0.75);
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card li {
    padding: 4px 0 4px 16px;
    position: relative;
}

.feature-card li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: rgba(232, 247, 255, 0.5);
}

.controls-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 13px;
}

.controls-table td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}

.controls-table td:first-child {
    width: 140px;
    font-weight: bold;
    letter-spacing: 0.8px;
    color: #e8f7ff;
    text-transform: uppercase;
    font-size: 11px;
}

.controls-table td:last-child {
    color: rgba(223, 232, 238, 0.78);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.spec-block {
    padding: 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.spec-block h4 {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e8ffe8;
    margin-bottom: 10px;
}

.spec-block ul {
    list-style: none;
    font-size: 12px;
    line-height: 1.65;
    color: rgba(223, 232, 238, 0.72);
}

.spec-block li {
    padding: 2px 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tag {
    padding: 4px 10px;
    border: 1px solid rgba(223, 232, 238, 0.25);
    border-radius: 4px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(223, 232, 238, 0.6);
    background: rgba(0, 0, 0, 0.3);
}

.footer {
    text-align: center;
    padding: 48px 24px 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
}

.footer a {
    color: rgba(232, 247, 255, 0.75);
    text-decoration: none;
}

.footer a:hover {
    color: #e8f7ff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
    margin-bottom: 16px;
}

.legal-doc-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 32px 24px 0;
}

.legal-doc-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.legal-doc-brand {
    font-family: "Barlow Condensed", "Archivo Black", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e8f7ff;
    text-decoration: none;
}

.legal-doc-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.legal-doc-nav a {
    color: rgba(232, 247, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.legal-doc-nav a:hover,
.legal-doc-back:hover {
    color: #e8f7ff;
}

.legal-doc {
    color: rgba(232, 247, 255, 0.88);
    line-height: 1.65;
    padding-bottom: 24px;
}

.legal-doc-meta {
    color: rgba(232, 247, 255, 0.5);
    font-size: 13px;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.legal-doc h1 {
    font-family: "Barlow Condensed", "Archivo Black", sans-serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #e8f7ff;
    margin: 0 0 20px;
}

.legal-doc h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e8f7ff;
    margin: 32px 0 12px;
}

.legal-doc h3 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(232, 247, 255, 0.95);
    margin: 20px 0 8px;
}

.legal-doc p,
.legal-doc li {
    margin: 0 0 14px;
    font-size: 15px;
}

.legal-doc ul {
    padding-left: 1.25rem;
    margin: 0 0 14px;
}

.legal-doc a {
    color: #9fd6ff;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .hero {
        padding-top: 72px;
    }

    .controls-table td:first-child {
        width: 100px;
    }
}
