/* ── Nav ──────────────────────────────────────────────────────────────────── */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(5, 5, 12, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(206, 60, 0, 0.2);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo:hover {
    text-decoration: none;
    opacity: 0.85;
}

.nav-logo-img {
    height: 4rem;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #aaa;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #fff;
    text-decoration: none;
}

.nav-steam-btn {
    background: #ce3c00;
    color: #fff;
    padding: 0.45rem 1.1rem;
    border-radius: 3px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.nav-steam-btn:hover {
    background: #e84a00;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #aaa;
    transition: background 0.2s;
}

.nav-hamburger:hover span {
    background: #fff;
}

@media (max-width: 720px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 4rem;
        left: 0;
        right: 0;
        background: rgba(5, 5, 12, 0.98);
        border-bottom: 1px solid rgba(206, 60, 0, 0.2);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1rem 2rem 1.5rem;
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .nav-link {
        padding: 0.6rem 0;
        width: 100%;
    }

    .nav-steam-btn {
        margin-top: 0.5rem;
    }
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
    background: #05050a;
    border-top: 1px solid #1a1a2e;
    padding: 1.5rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-brand:hover {
    opacity: 0.85;
    text-decoration: none;
}

.footer-logo-img {
    height: 4rem;
    width: auto;
    display: block;
}

.footer-copy {
    color: #555;
    font-size: 0.85rem;
}

.footer-steam-link {
    color: #66c0f4;
    font-size: 0.85rem;
    text-decoration: none;
}

.footer-steam-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    background: #07070f;
    color: #d8d8e8;
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: #ce3c00;
}

a:hover {
    color: #e84a00;
}

code {
    font-family: 'Share Tech Mono', monospace;
    background: rgba(206, 60, 0, 0.12);
    padding: 0.1em 0.4em;
    border-radius: 3px;
    font-size: 0.85em;
    color: #ff9955;
}

/* ── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
    margin: 0;
}

/* ── Section Shared ───────────────────────────────────────────────────────── */
.section {
    padding: 6rem 2rem;
}

.section:nth-child(even) {
    background: #0b0b18;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-inner-center {
    text-align: center;
}

.section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #fff;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    display: block;
    height: 3px;
    width: 60px;
    background: #ce3c00;
    margin-top: 0.4rem;
}

.section-inner-center .section-heading::after {
    margin-left: auto;
    margin-right: auto;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding: 0 2rem 5rem;
    background: #07070f;
    overflow: hidden;
}

.hero-artwork-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(7, 7, 15, 0.15) 0%,
        rgba(7, 7, 15, 0.1) 40%,
        rgba(7, 7, 15, 0.7) 70%,
        rgba(7, 7, 15, 1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-logo {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.8));
}

.hero-eyebrow {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #00d4ff;
    margin: 0 0 0.75rem;
    opacity: 0.9;
}

.hero-tagline {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    color: #aab;
    letter-spacing: 0.05em;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #444;
    font-size: 1.8rem;
    animation: bounce 2s infinite;
    z-index: 1;
}

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

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    border-radius: 3px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
    cursor: pointer;
}

.btn-hero:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-hero.btn-lg {
    padding: 1.1rem 3rem;
    font-size: 1.2rem;
}

.btn-wishlist {
    background: #ce3c00;
    color: #fff;
    box-shadow: 0 4px 24px rgba(206, 60, 0, 0.4);
}

.btn-wishlist:hover {
    background: #e84a00;
    color: #fff;
    box-shadow: 0 6px 32px rgba(206, 60, 0, 0.55);
}

.btn-secondary-cta {
    background: transparent;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-steam {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 1.8rem;
    border: 1px solid #ce3c00;
    color: #ce3c00;
    border-radius: 3px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-outline-steam:hover {
    background: #ce3c00;
    color: #fff;
    text-decoration: none;
}

.steam-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── About ────────────────────────────────────────────────────────────────── */
.section-about {
    background: #0a0a14;
}

.about-text {
    font-size: 1.2rem;
    color: #b0b0c8;
    max-width: 700px;
    line-height: 1.8;
}

/* ── Media ────────────────────────────────────────────────────────────────── */
.section-media {
    background: #07070f;
}

.trailer-wrap {
    margin-bottom: 3rem;
}

.trailer-wrap iframe {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

.gif-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.gif-slot {
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    background: #0f0f20;
}

.gif-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 720px) {
    .gif-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Press ────────────────────────────────────────────────────────────────── */
.section-press {
    background: #0a0a14;
}

.press-text {
    color: #b0b0c8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-press {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(206, 60, 0, 0.12);
    border: 1px solid #ce3c00;
    color: #ce3c00;
    padding: 0.8rem 2rem;
    border-radius: 3px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-press:hover {
    background: #ce3c00;
    color: #fff;
    text-decoration: none;
}

/* ── Socials ──────────────────────────────────────────────────────────────── */
.section-socials {
    background: #07070f;
}

.socials-text {
    color: #b0b0c8;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.social-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.5rem 2rem;
    min-width: 110px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    text-decoration: none;
    color: #aaa;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.social-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.social-steam:hover  { background: rgba(102, 192, 244, 0.1); border-color: #66c0f4; color: #66c0f4; }
.social-twitter:hover { background: rgba(29, 155, 240, 0.1); border-color: #1d9bf0; color: #1d9bf0; }
.social-youtube:hover { background: rgba(255, 0, 0, 0.1); border-color: #ff0000; color: #ff0000; }

.social-steam svg  { color: #66c0f4; }
.social-twitter svg { color: #aaa; }
.social-youtube svg { color: #ff0000; }

/* ── Newsletter ───────────────────────────────────────────────────────────── */
.section-newsletter {
    background: #0a0a14;
}

.newsletter-text {
    color: #b0b0c8;
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.newsletter-note {
    margin-top: 1rem;
    color: #444;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

/* ── Final CTA ────────────────────────────────────────────────────────────── */
.section-cta {
    background: linear-gradient(180deg, #0a0a14 0%, #07070f 100%);
    border-top: 1px solid rgba(206, 60, 0, 0.15);
}

.cta-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    color: #fff;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.cta-sub {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* ── Blazor loading & error ───────────────────────────────────────────────── */
.blazor-error-boundary {
    background: #1a0000;
    border: 1px solid #ff3333;
    padding: 1rem 1rem 1rem 3.7rem;
    color: #ff9999;
    border-radius: 4px;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #1a1a2e;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #ce3c00;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
    color: #d8d8e8;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .section {
        padding: 4rem 1.2rem;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

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

    .btn-hero {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}
