/* ==========================================================================
   Reforged Tower Defense – public one-pager
   Dark fantasy: night-violet surfaces, forged gold & ember (logo lettering)
   and arcane blue (logo glow). Display type: Cinzel · Body: Inter.
   The admin area uses admin.css.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License – see /fonts) ---------- */
@font-face {
    font-family: "Cinzel";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("/fonts/cinzel-latin-wght-normal.woff2") format("woff2-variations"),
         url("/fonts/cinzel-latin-wght-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
         url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
    --bg: #09080e;
    --bg-2: #0e0c15;
    --surface: #14111d;
    --surface-2: #1b1727;
    --surface-3: #241f33;
    --glass: rgba(20, 17, 29, 0.62);

    --text: #e6dfd2;
    --text-strong: #fbf5e8;
    --text-muted: #a69eb3;
    --text-faint: #7c748a;

    --line: rgba(236, 214, 170, 0.1);
    --line-strong: rgba(236, 214, 170, 0.2);
    --line-gold: rgba(242, 185, 74, 0.45);

    --gold-50: #fff4d6;
    --gold-100: #ffe7a8;
    --gold-300: #f7c867;
    --gold-400: #f2b94a;
    --gold-500: #e39a2e;
    --ember-400: #ff9a3c;
    --ember-500: #f07a1e;
    --ember-600: #d45a18;
    --ember-700: #a63f10;
    --arcane-200: #b9e6ff;
    --arcane-300: #7fd0ff;
    --arcane-400: #4fb7f5;
    --arcane-500: #2f8fdc;
    --arcane-700: #1c4f86;
    --violet-400: #a78bfa;
    --success-400: #7fdc9c;

    --grad-gold: linear-gradient(180deg, #fff1c4 0%, #f7c867 38%, #ef962f 72%, #c9621a 100%);
    --grad-ember: linear-gradient(180deg, #ffb44d 0%, #f58424 52%, #cf5518 100%);
    --grad-arcane: linear-gradient(135deg, #b9e6ff 0%, #4fb7f5 45%, #2f5fdc 100%);
    --grad-hairline: linear-gradient(90deg, transparent, rgba(242, 185, 74, 0.55), transparent);

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 18px -10px rgba(0, 0, 0, 0.7);
    --shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.5), 0 24px 50px -24px rgba(0, 0, 0, 0.85);
    --shadow-lg: 0 6px 16px -6px rgba(0, 0, 0, 0.6), 0 50px 100px -40px rgba(0, 0, 0, 0.95);
    --glow-ember: 0 0 0 1px rgba(255, 214, 150, 0.35) inset, 0 12px 34px -12px rgba(255, 122, 30, 0.75);
    --glow-arcane: 0 0 40px -6px rgba(79, 183, 245, 0.45);

    --font-display: "Cinzel", "Trajan Pro", "Times New Roman", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

    --container: 1240px;
    --container-narrow: 780px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-space: clamp(4.25rem, 7.5vw, 7rem);
    --header-h: 78px;

    color-scheme: dark;
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: clip;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html.nav-open body {
    overflow: hidden;
}

img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}

h1, h2, h3, h4 {
    margin: 0;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.01em;
    text-wrap: balance;
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

p:last-child {
    margin-bottom: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

dl, dd, figure, blockquote {
    margin: 0;
}

:focus-visible {
    outline: 2px solid var(--arcane-300);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: rgba(240, 122, 30, 0.45);
    color: #fff;
}

main:focus,
[tabindex="-1"]:focus {
    outline: none;
}

[hidden] {
    display: none !important;
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 300;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    background: var(--gold-400);
    color: #1b1006;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 1rem;
}

.container {
    position: relative;
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: calc(var(--container-narrow) + 2 * var(--gutter));
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 1.1rem;
    color: var(--arcane-300);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.eyebrow::before,
.section-heading--center .eyebrow::after {
    content: "";
    width: 2.25rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor);
    opacity: 0.8;
}

.section-heading--center .eyebrow::after {
    background: linear-gradient(90deg, currentColor, transparent);
}

.section-heading {
    max-width: 48rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-title {
    overflow-wrap: break-word;
    hyphens: manual;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    letter-spacing: 0.02em;
    filter: drop-shadow(0 2px 14px rgba(240, 122, 30, 0.18));
}

.ornament {
    position: relative;
    display: block;
    width: min(260px, 70%);
    height: 12px;
    margin: 1.2rem 0 0;
}

.section-heading--center .ornament {
    margin-inline: auto;
}

.ornament::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--grad-hairline);
}

.section-heading:not(.section-heading--center) .ornament::before {
    background: linear-gradient(90deg, rgba(242, 185, 74, 0.6), transparent);
}

.ornament span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border: 1px solid var(--gold-400);
    background: var(--bg);
    box-shadow: 0 0 12px rgba(242, 185, 74, 0.5);
    transform: translate(-50%, -50%) rotate(45deg);
}

.section-heading:not(.section-heading--center) .ornament span {
    left: 0;
    transform: translate(0, -50%) rotate(45deg);
}

.section-lead {
    margin-top: 1.4rem;
    color: var(--text-muted);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.section-note {
    max-width: 44rem;
    margin: 2.5rem auto 0;
    color: var(--text-faint);
    font-size: 0.92rem;
    text-align: center;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.75rem;
    border: 1px solid rgba(127, 208, 255, 0.35);
    border-radius: var(--radius-pill);
    background: rgba(28, 79, 134, 0.35);
    color: var(--arcane-200);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: transparent;
    --btn-fg: var(--text-strong);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0.7rem 1.35rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease),
                border-color 0.35s var(--ease), color 0.35s var(--ease), filter 0.35s var(--ease);
}

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

.btn--primary {
    --btn-fg: #1f1004;
    background: var(--grad-ember);
    box-shadow: var(--glow-ember);
    text-shadow: 0 1px 0 rgba(255, 220, 170, 0.45);
}

.btn--primary::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 45%);
    opacity: 0.7;
    pointer-events: none;
}

.btn--primary:hover {
    filter: brightness(1.08) saturate(1.05);
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(255, 224, 170, 0.5) inset, 0 18px 44px -12px rgba(255, 122, 30, 0.9);
}

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

.btn--ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn--ghost:hover {
    border-color: rgba(127, 208, 255, 0.6);
    background: rgba(79, 183, 245, 0.1);
    box-shadow: var(--glow-arcane);
    transform: translateY(-2px);
}

.btn--sm {
    min-height: 2.5rem;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
}

.btn--xl {
    min-height: 3.75rem;
    padding: 0.9rem 1.8rem;
    font-size: 0.98rem;
}

.btn__price {
    margin-left: 0.35rem;
    padding-left: 0.85rem;
    border-left: 1px solid rgba(31, 16, 4, 0.3);
    font-variant-numeric: tabular-nums;
}

.btn__play {
    display: inline-grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid rgba(127, 208, 255, 0.6);
    border-radius: 50%;
    color: var(--arcane-200);
    box-shadow: 0 0 18px rgba(79, 183, 245, 0.45);
}

.btn__play .icon {
    transform: translateX(1px);
}

.icon-link {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: var(--text-muted);
    transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.icon-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-strong);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 -40px;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 4, 8, 0.75), transparent);
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
}

.site-header[data-scrolled] {
    border-bottom-color: var(--line);
    background: rgba(9, 8, 14, 0.8);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
}

.site-header[data-scrolled]::before {
    opacity: 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: calc(1440px + 2 * var(--gutter));
    height: var(--header-h);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex-shrink: 0;
    text-decoration: none;
}

.brand__mark {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
    transition: transform 0.5s var(--ease);
}

.brand:hover .brand__mark {
    transform: rotate(-8deg) scale(1.06);
}

.brand__wordmark {
    width: 150px;
    height: auto;
    opacity: 0.95;
}

.site-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-inline: auto;
}

.site-nav__list a {
    position: relative;
    display: block;
    padding: 0.5rem 0.8rem;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s var(--ease);
}

.site-nav__list a::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.2rem;
    height: 1px;
    background: var(--grad-hairline);
    transform: scaleX(0);
    transition: transform 0.35s var(--ease);
}

.site-nav__list a:hover {
    color: var(--gold-100);
}

.site-nav__list a:hover::after {
    transform: scaleX(1);
}

.site-nav__aside {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switch {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: rgba(0, 0, 0, 0.25);
}

.lang-switch a {
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-switch a[aria-current="true"] {
    background: rgba(242, 185, 74, 0.18);
    color: var(--gold-100);
}

.lang-switch a:hover {
    color: var(--text-strong);
}

.nav-toggle {
    display: none;
    width: 2.9rem;
    height: 2.9rem;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.3);
}

.nav-toggle__bars {
    position: relative;
    display: block;
    width: 18px;
    height: 12px;
    margin: auto;
}

.nav-toggle__bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--text-strong);
    transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.nav-toggle__bars span:first-child {
    top: 1px;
}

.nav-toggle__bars span:last-child {
    top: 9px;
}

.site-header[data-nav-open] .nav-toggle__bars span:first-child {
    top: 5px;
    transform: rotate(45deg);
}

.site-header[data-nav-open] .nav-toggle__bars span:last-child {
    top: 5px;
    transform: rotate(-45deg);
}

/* ---------- Sections ---------- */
.section {
    position: relative;
    padding-block: var(--section-space);
    isolation: isolate;
}

.section__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.section__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.16;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%);
}

.section__art--strong img {
    opacity: 0.42;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 75%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 75%, transparent 100%);
}

.frame {
    position: relative;
    padding: 6px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(160deg, rgba(255, 231, 168, 0.75), rgba(242, 185, 74, 0.15) 40%, rgba(79, 183, 245, 0.45)) border-box;
    border: 1px solid transparent;
    box-shadow: var(--shadow-lg);
}

.frame img {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 6px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: #050409;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.hero__media picture,
.hero__media img {
    width: 100%;
    height: 100%;
}

.hero__media img {
    object-fit: cover;
    object-position: 50% 28%;
    transform-origin: 50% 100%;
    transform: scale(1.14);
}

@media (prefers-reduced-motion: no-preference) {
    .hero__media img {
        animation: hero-drift 26s var(--ease) both;
    }
}

@keyframes hero-drift {
    from {
        transform: scale(1.22) translate3d(0, 1.5%, 0);
        filter: brightness(0.6) saturate(0.9);
    }

    to {
        transform: scale(1.14);
        filter: none;
    }
}

.hero__embers {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
}

.hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(120% 70% at 50% 30%, transparent 40%, rgba(5, 4, 9, 0.55) 100%),
        linear-gradient(180deg, rgba(5, 4, 9, 0.55) 0%, rgba(5, 4, 9, 0) 18%, rgba(5, 4, 9, 0) 40%, rgba(9, 8, 14, 0.78) 68%, var(--bg) 100%);
    pointer-events: none;
}

.hero__content {
    display: flex;
    align-self: end;
    flex-direction: column;
    align-items: center;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: clamp(2.5rem, 5vh, 3.5rem);
    text-align: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.25rem;
    padding: 0.45rem 1rem 0.45rem 0.85rem;
    border: 1px solid rgba(127, 208, 255, 0.35);
    border-radius: var(--radius-pill);
    background: rgba(8, 20, 38, 0.55);
    color: var(--arcane-200);
    font-size: 0.74rem;
    font-weight: 650;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--arcane-300);
    box-shadow: 0 0 10px var(--arcane-300);
}

@media (prefers-reduced-motion: no-preference) {
    .pulse-dot::after {
        content: "";
        position: absolute;
        inset: -4px;
        border: 1px solid var(--arcane-300);
        border-radius: 50%;
        animation: pulse 2.2s var(--ease) infinite;
    }
}

@keyframes pulse {
    from {
        opacity: 0.9;
        transform: scale(0.6);
    }

    to {
        opacity: 0;
        transform: scale(1.9);
    }
}

.hero__logo {
    margin: 0;
    line-height: 0;
}

.hero__logo img {
    width: min(560px, 84vw);
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 60px rgba(79, 183, 245, 0.22));
}

.hero__headline {
    margin: 0.2rem 0 0;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.6vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.9));
}

.hero__support {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: var(--text);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 1.9rem;
}

.hero__rating {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.4rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    text-decoration: none;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
    transition: color 0.25s var(--ease);
}

.hero__rating strong {
    color: var(--text-strong);
    font-weight: 600;
}

.hero__rating:hover {
    color: var(--text);
}

.stars {
    --rating: 0;
    position: relative;
    display: inline-block;
    width: 5.6em;
    height: 1em;
    font-size: 0.95rem;
    background:
        linear-gradient(90deg, var(--gold-400) calc(var(--rating) * 1%), rgba(255, 255, 255, 0.18) calc(var(--rating) * 1%));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9Z'/%3E%3C/svg%3E") 0 0 / 1.12em 1em repeat-x;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9Z'/%3E%3C/svg%3E") 0 0 / 1.12em 1em repeat-x;
}

.hero__stats {
    padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.stats {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.stats__item {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 0.15rem;
    padding: 1.15rem 1rem;
    text-align: center;
}

.stats__item + .stats__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}

.stats__value {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    line-height: 1.1;
}

.stats__label {
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 0.35rem;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--text-muted);
    transform: translateX(-50%);
    transition: color 0.25s var(--ease);
}

.hero__scroll:hover {
    color: var(--gold-100);
}

@media (prefers-reduced-motion: no-preference) {
    .hero__scroll .icon {
        animation: nudge 2.4s var(--ease-in-out) infinite;
    }

    .hero__content > * {
        animation: rise 1.1s var(--ease) both;
    }

    .hero__content > :nth-child(2) { animation-delay: 0.12s; }
    .hero__content > :nth-child(3) { animation-delay: 0.24s; }
    .hero__content > :nth-child(4) { animation-delay: 0.34s; }
    .hero__content > :nth-child(5) { animation-delay: 0.44s; }
    .hero__content > :nth-child(6) { animation-delay: 0.54s; }

    .hero__stats {
        animation: rise 1.2s 0.6s var(--ease) both;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

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

/* ---------- Trailer ---------- */
.section--trailer {
    padding-top: clamp(4rem, 8vw, 6.5rem);
    background: radial-gradient(60rem 30rem at 50% 0%, rgba(47, 143, 220, 0.12), transparent 70%);
}

.video-frame {
    position: relative;
    max-width: 1080px;
    margin-inline: auto;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: #000;
    box-shadow: var(--shadow-lg), 0 0 120px -40px rgba(79, 183, 245, 0.45);
}

.video-frame__poster,
.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-frame__poster {
    filter: brightness(0.62) saturate(1.05);
    transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}

.video-frame:hover .video-frame__poster {
    transform: scale(1.03);
    filter: brightness(0.72);
}

.video-frame__overlay {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    justify-items: center;
    padding: 1.25rem;
    background: radial-gradient(circle at 50% 45%, transparent 20%, rgba(0, 0, 0, 0.45) 100%);
}

.video-frame__play {
    align-self: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
}

.video-frame__ring {
    display: grid;
    place-items: center;
    width: clamp(4.5rem, 9vw, 6.5rem);
    height: clamp(4.5rem, 9vw, 6.5rem);
    border-radius: 50%;
    background: var(--grad-ember);
    color: #1f1004;
    box-shadow: 0 0 0 8px rgba(240, 122, 30, 0.18), 0 0 0 1px rgba(255, 224, 170, 0.5) inset, 0 20px 50px -10px rgba(255, 122, 30, 0.8);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.video-frame__ring .icon {
    transform: translateX(3px);
}

.video-frame__play:hover .video-frame__ring,
.video-frame__play:focus-visible .video-frame__ring {
    transform: scale(1.08);
    box-shadow: 0 0 0 14px rgba(240, 122, 30, 0.16), 0 0 0 1px rgba(255, 224, 170, 0.6) inset, 0 24px 60px -10px rgba(255, 122, 30, 0.95);
}

@media (prefers-reduced-motion: no-preference) {
    .video-frame__ring {
        animation: breathe 3s var(--ease-in-out) infinite;
    }
}

@keyframes breathe {
    0%, 100% { box-shadow: 0 0 0 8px rgba(240, 122, 30, 0.18), 0 0 0 1px rgba(255, 224, 170, 0.5) inset, 0 20px 50px -10px rgba(255, 122, 30, 0.8); }
    50% { box-shadow: 0 0 0 16px rgba(240, 122, 30, 0.06), 0 0 0 1px rgba(255, 224, 170, 0.5) inset, 0 20px 60px -10px rgba(255, 122, 30, 0.9); }
}

.video-frame__consent {
    max-width: 40rem;
    margin: 0;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.55);
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: center;
    backdrop-filter: blur(6px);
}

.video-frame__consent a {
    color: var(--arcane-200);
}

.video-frame[data-loaded] .video-frame__overlay,
.video-frame[data-loaded] .video-frame__poster {
    display: none;
}

/* ---------- About ---------- */
.section--about {
    background:
        radial-gradient(50rem 30rem at 0% 30%, rgba(240, 122, 30, 0.08), transparent 70%),
        radial-gradient(40rem 30rem at 100% 70%, rgba(79, 183, 245, 0.07), transparent 70%);
}

.about {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5.5rem);
}

.about__media {
    position: relative;
}

.about__frame img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about__emblem {
    position: absolute;
    right: -1.5rem;
    bottom: -2rem;
    width: clamp(5.5rem, 10vw, 8rem);
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.7));
}

.letter {
    color: var(--text);
    font-size: 1.07rem;
}

.letter p:first-child::first-letter {
    float: left;
    margin: 0.08em 0.12em 0 0;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--font-display);
    font-size: 3.4em;
    font-weight: 800;
    line-height: 0.82;
}

.about .section-title {
    font-size: clamp(2rem, 3.4vw, 2.85rem);
}

.about__signature {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.8rem;
    color: var(--gold-300);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.about__signature::before {
    content: "";
    width: 2.5rem;
    height: 1px;
    background: var(--gold-400);
}

.pillars {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 0;
    margin-top: clamp(4rem, 8vw, 6rem);
    padding: 1.6rem 1rem;
    border-block: 1px solid transparent;
    border-image: var(--grad-hairline) 1;
    background: linear-gradient(90deg, transparent, rgba(240, 122, 30, 0.07), transparent);
}

.pillars li {
    display: inline-flex;
    align-items: center;
    text-align: center;
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pillars li + li::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-inline: clamp(0.9rem, 2.2vw, 1.8rem);
    border: 1px solid var(--gold-400);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(242, 185, 74, 0.6);
}

.pillars li:last-child:not(:first-child) {
    flex-basis: 100%;
    justify-content: center;
    margin-top: 0.35rem;
    color: var(--gold-100);
    font-size: clamp(0.85rem, 1.3vw, 1.05rem);
    letter-spacing: 0.22em;
}

.pillars li:last-child:not(:first-child)::before {
    display: none;
}

/* ---------- Features ---------- */
.section--features {
    background: linear-gradient(180deg, transparent, rgba(20, 17, 29, 0.6) 30%, rgba(20, 17, 29, 0.6) 70%, transparent);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.2vw, 1.75rem);
}

.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(30rem 12rem at 50% 0%, rgba(242, 185, 74, 0.12), transparent 70%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
}

.feature-card:hover {
    border-color: var(--line-gold);
    box-shadow: var(--shadow), 0 0 50px -25px rgba(242, 185, 74, 0.6);
    transform: translateY(-6px);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.feature-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, var(--surface-2));
}

.feature-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.feature-card:hover .feature-card__media img {
    transform: scale(1.06);
}

.feature-card__body {
    position: relative;
    flex: 1;
    padding: 0 1.6rem 1.8rem;
}

.feature-card__icon {
    display: grid;
    place-items: center;
    width: 3.1rem;
    height: 3.1rem;
    margin: -1.55rem 0 1.1rem;
    border-radius: 12px;
    background:
        linear-gradient(var(--surface-3), var(--surface-3)) padding-box,
        var(--grad-gold) border-box;
    border: 1px solid transparent;
    color: var(--gold-100);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.9), 0 0 24px -8px rgba(242, 185, 74, 0.55);
    transform: rotate(45deg);
}

.feature-card__icon .icon {
    transform: rotate(-45deg);
}

.feature-card__body:not(:first-child) .feature-card__icon {
    position: relative;
    z-index: 1;
}

.feature-card:not(:has(.feature-card__media)) .feature-card__icon {
    margin-top: 1.8rem;
}

.feature-card__title {
    margin-bottom: 0.65rem;
    font-size: 1.22rem;
    letter-spacing: 0.02em;
}

.feature-card__text {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* ---------- Modes ---------- */
.mode-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 1.8vw, 1.5rem);
}

.mode-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 460px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
    isolation: isolate;
    transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.mode-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(9, 8, 14, 0.05) 0%, rgba(9, 8, 14, 0.35) 40%, rgba(9, 8, 14, 0.94) 78%, var(--bg) 100%);
}

.mode-card__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}

.mode-card:hover {
    border-color: rgba(127, 208, 255, 0.45);
    box-shadow: var(--shadow-lg), 0 0 60px -25px rgba(79, 183, 245, 0.7);
    transform: translateY(-6px);
}

.mode-card:hover .mode-card__img {
    transform: scale(1.08);
    filter: saturate(1.15) brightness(1.05);
}

.mode-card__body {
    padding: 1.6rem 1.5rem 1.7rem;
}

.mode-card__title {
    margin: 0.85rem 0 0.55rem;
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    letter-spacing: 0.04em;
}

.mode-card__text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.6rem, 1.2vw, 1rem);
}

.gallery-grid__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.shot {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.shot img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
}

.shot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 231, 168, 0);
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: opacity 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.shot__zoom {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: rgba(9, 8, 14, 0.7);
    color: var(--gold-100);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.shot:hover img,
.shot:focus-visible img {
    transform: scale(1.05);
    filter: brightness(1.08);
}

.shot:hover::after,
.shot:focus-visible::after {
    opacity: 1;
    box-shadow: inset 0 0 0 1px rgba(255, 231, 168, 0.55);
}

.shot:hover .shot__zoom,
.shot:focus-visible .shot__zoom {
    opacity: 1;
    transform: none;
}

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(4, 3, 7, 0.94);
    color: var(--text);
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}

.lightbox[open] {
    display: grid;
    place-items: center;
}

.lightbox__stage {
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    max-width: min(92vw, 1600px);
}

.lightbox__img {
    max-width: 100%;
    max-height: 82vh;
    max-height: 82dvh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.lightbox__caption {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-align: center;
}

.lightbox__caption:empty {
    display: none;
}

.lightbox__btn,
.lightbox__close {
    position: fixed;
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(20, 17, 29, 0.8);
    color: var(--text-strong);
    transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.lightbox__btn:hover,
.lightbox__close:hover {
    border-color: var(--gold-400);
    background: rgba(242, 185, 74, 0.18);
}

.lightbox__btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.lightbox__btn--prev {
    left: clamp(0.5rem, 2vw, 2rem);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__btn--next {
    right: clamp(0.5rem, 2vw, 2rem);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__close {
    top: clamp(0.75rem, 2vw, 1.5rem);
    right: clamp(0.75rem, 2vw, 1.5rem);
}

.lightbox__counter {
    position: fixed;
    top: clamp(1.2rem, 2.5vw, 2rem);
    left: 50%;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.12em;
    transform: translateX(-50%);
}

/* ---------- Roadmap ---------- */
.section--roadmap {
    background: radial-gradient(50rem 30rem at 50% 100%, rgba(79, 183, 245, 0.08), transparent 70%);
}

.roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
    gap: clamp(1rem, 2vw, 1.5rem);
}

.roadmap__col {
    --status: var(--gold-300);
    --status-bg: rgba(242, 185, 74, 0.14);
    position: relative;
    padding: 1.6rem 1.5rem 1.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(20, 17, 29, 0.78);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.roadmap__col::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: linear-gradient(90deg, transparent, var(--status), transparent);
}

.roadmap__col--inprogress {
    --status: var(--arcane-300);
    --status-bg: rgba(79, 183, 245, 0.14);
}

.roadmap__col--planned {
    --status: var(--violet-400);
    --status-bg: rgba(167, 139, 250, 0.14);
}

.roadmap__status {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
    color: var(--status);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.roadmap__badge {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--status);
    border-radius: 50%;
    background: var(--status-bg);
    box-shadow: 0 0 16px -4px var(--status);
}

.roadmap__list {
    display: grid;
    gap: 1.15rem;
}

.roadmap-item {
    position: relative;
    padding-left: 1.3rem;
}

.roadmap-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border: 1px solid var(--status);
    background: var(--status-bg);
    transform: rotate(45deg);
}

.roadmap-item + .roadmap-item::after {
    content: "";
    position: absolute;
    left: 3px;
    top: -0.95rem;
    height: 1rem;
    border-left: 1px dashed var(--line-strong);
}

.roadmap-item__title {
    color: var(--text-strong);
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 650;
    letter-spacing: 0;
}

.roadmap-item__text {
    margin-top: 0.25rem;
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

/* ---------- Reviews ---------- */
.rating-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(20rem 12rem at 0% 50%, rgba(242, 185, 74, 0.12), transparent 70%),
        var(--surface);
    box-shadow: var(--shadow);
}

.rating-ring {
    --p: 0;
    position: relative;
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, var(--surface) 80%, transparent 81%),
        conic-gradient(var(--gold-300) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
    box-shadow: 0 0 40px -12px rgba(242, 185, 74, 0.7);
}

.rating-ring__value {
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.rating-ring__value small {
    margin-left: 0.1rem;
    color: var(--gold-300);
    font-size: 0.5em;
}

.rating-card__label {
    margin-bottom: 0.35rem;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 800;
}

.rating-card__meta {
    margin-bottom: 1.1rem;
    color: var(--text-muted);
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.quote-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.quote-card__mark {
    color: var(--gold-400);
    opacity: 0.8;
}

.quote-card__text {
    flex: 1;
    color: var(--text-strong);
    font-size: 1.05rem;
    font-style: italic;
}

.quote-card__author {
    display: grid;
    gap: 0.1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.quote-card__author strong {
    color: var(--gold-100);
    font-weight: 600;
}

.quote-card__author a {
    color: var(--arcane-200);
}

/* ---------- Specs ---------- */
.section--specs {
    background: linear-gradient(180deg, transparent, rgba(20, 17, 29, 0.55) 30%, rgba(20, 17, 29, 0.55) 70%, transparent);
}

.specs {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.specs__table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.96rem;
}

.spec-table th,
.spec-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    vertical-align: top;
}

.spec-table thead th {
    border-bottom: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.02);
    color: var(--gold-300);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.spec-table tbody tr + tr {
    border-top: 1px solid var(--line);
}

.spec-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.spec-table tbody th {
    width: 24%;
    color: var(--text-muted);
    font-weight: 600;
}

.spec-table td {
    color: var(--text-strong);
}

.specs__aside {
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.specs__heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    color: var(--text-strong);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.specs__heading .icon {
    color: var(--arcane-300);
}

.specs__heading:not(:first-child) {
    margin-top: 1.8rem;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.chips li {
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 0.85rem;
}

.specs__platform {
    color: var(--text);
}

/* ---------- Press ---------- */
.press {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.press .section-heading {
    margin-bottom: 2rem;
}

.press__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.press__logos {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.logo-tile {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 0.9rem;
    padding: 1.4rem 1.2rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 50% 35%, rgba(79, 183, 245, 0.14), transparent 65%),
        repeating-conic-gradient(rgba(255, 255, 255, 0.025) 0% 25%, transparent 0% 50%) 50% / 18px 18px,
        var(--surface);
    text-decoration: none;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.logo-tile img {
    align-self: center;
    justify-self: center;
    max-height: 130px;
    width: auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.6));
}

.logo-tile span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-tile:hover {
    border-color: var(--line-gold);
    transform: translateY(-3px);
}

.logo-tile:hover span {
    color: var(--gold-100);
}

.factsheet {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(170deg, rgba(242, 185, 74, 0.5), rgba(242, 185, 74, 0.05) 40%, rgba(79, 183, 245, 0.35)) border-box;
    border-color: transparent;
    box-shadow: var(--shadow);
}

.factsheet__title {
    margin-bottom: 1.2rem;
    color: var(--gold-100);
    font-size: 1.35rem;
    letter-spacing: 0.06em;
}

.facts__row {
    display: grid;
    grid-template-columns: minmax(7rem, 0.7fr) minmax(0, 1.3fr);
    gap: 1rem;
    padding: 0.8rem 0;
    border-top: 1px solid var(--line);
}

.facts dt {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.facts dd {
    color: var(--text-strong);
}

.facts a {
    color: var(--arcane-200);
}

/* ---------- FAQ ---------- */
.faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.faq__intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}

.faq__intro .section-heading {
    margin-bottom: 2rem;
}

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

.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.faq-item[open] {
    border-color: var(--line-gold);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    color: var(--text-strong);
    font-size: 1.05rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--gold-300);
    transition: transform 0.4s var(--ease), background-color 0.3s var(--ease);
}

.faq-item[open] .faq-item__icon {
    background: rgba(242, 185, 74, 0.15);
    transform: rotate(45deg);
}

.faq-item__answer {
    padding: 0 1.4rem 1.35rem;
    color: var(--text-muted);
}

/* ---------- Community ---------- */
.section--community {
    padding-bottom: calc(var(--section-space) * 1.1);
    overflow: hidden;
}

.section--community::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -30rem;
    z-index: -1;
    width: 70rem;
    height: 40rem;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(240, 122, 30, 0.18), transparent);
    transform: translateX(-50%);
}

.community__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    max-width: 1080px;
    margin-inline: auto;
}

.community-card {
    --brand: var(--gold-300);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    height: 100%;
    padding: 1.3rem 1.4rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(14, 12, 21, 0.78);
    text-decoration: none;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.community-card--discord {
    --brand: #8c9bff;
}

.community-card--youtube {
    --brand: #ff5a5a;
}

.community-card--steam {
    --brand: var(--arcane-300);
}

.community-card--x,
.community-card--threads,
.community-card--github {
    --brand: #e9e6f2;
}

.community-card--reddit {
    --brand: #ff7a45;
}

.community-card--tiktok {
    --brand: #4de8e0;
}

.community-card--instagram {
    --brand: #f56fa6;
}

.community-card--facebook,
.community-card--bluesky {
    --brand: #5aa2ff;
}

.community-card--twitch,
.community-card--mastodon {
    --brand: #a98bff;
}

.community-card--patreon,
.community-card--itchio {
    --brand: #ff6f61;
}

.community-card--kickstarter {
    --brand: #4ce08a;
}

/* Non-featured links: a little more compact. */
.community-card:not(.community-card--featured) {
    padding: 1rem 1.2rem;
}

.community-card:not(.community-card--featured) .community-card__icon {
    width: 2.7rem;
    height: 2.7rem;
}

.community-card__icon {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 14px;
    background: color-mix(in srgb, var(--brand) 16%, transparent);
    color: var(--brand);
}

.community-card__text {
    display: grid;
    gap: 0.15rem;
    line-height: 1.35;
}

.community-card__text strong {
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.community-card__text span {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.community-card__arrow {
    color: var(--text-faint);
    transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}

.community-card:hover {
    border-color: color-mix(in srgb, var(--brand) 60%, transparent);
    box-shadow: var(--shadow-lg), 0 0 50px -20px var(--brand);
    transform: translateY(-4px);
}

.community-card:hover .community-card__arrow {
    color: var(--brand);
    transform: translate(3px, -3px);
}

/* ---------- Footer ---------- */
.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: clamp(3.5rem, 7vw, 5.5rem);
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #0c0a12, #060509);
}

.site-footer__glow {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(900px, 90%);
    height: 1px;
    background: var(--grad-hairline);
    transform: translateX(-50%);
    box-shadow: 0 0 30px 2px rgba(242, 185, 74, 0.35);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
}

.site-footer__logo img {
    width: 240px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7));
}

.site-footer__claim {
    margin: 1.25rem 0 1.5rem;
    color: var(--gold-100);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__heading {
    margin-bottom: 1.1rem;
    color: var(--text-strong);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.site-footer__col ul {
    display: grid;
    gap: 0.6rem;
}

.site-footer__col a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

.site-footer__col a:hover {
    color: var(--gold-100);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: clamp(3rem, 6vw, 4.5rem);
    padding-block: 1.6rem calc(1.6rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    color: var(--text-faint);
    font-size: 0.85rem;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.site-footer__legal a {
    color: var(--text-muted);
    text-decoration: none;
}

.site-footer__legal a:hover {
    color: var(--text-strong);
}

/* ---------- Buy bar (mobile) ---------- */
.buy-bar {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    z-index: 90;
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.6rem 0.6rem 0.75rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(14, 12, 21, 0.9);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(140%);
    transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

.buy-bar[data-visible] {
    opacity: 1;
    transform: none;
}

.buy-bar__mark {
    width: 36px;
    height: 36px;
}

.buy-bar__text {
    display: grid;
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.buy-bar__text strong {
    color: var(--text-strong);
    font-family: var(--font-display);
    font-size: 0.95rem;
}

.buy-bar__text span {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- Legal & status pages ---------- */
.legal__hero {
    position: relative;
    padding: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)) 0 clamp(2.5rem, 5vw, 3.5rem);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(40rem 20rem at 50% 0%, rgba(240, 122, 30, 0.12), transparent 70%),
        var(--bg-2);
}

.legal__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.legal__back:hover {
    color: var(--gold-100);
}

.legal__title {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.legal__body {
    padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--section-space);
}

.prose {
    color: var(--text);
}

.prose h2 {
    margin: 2.2rem 0 0.8rem;
    color: var(--gold-100);
    font-size: 1.4rem;
}

.prose a {
    color: var(--arcane-200);
    overflow-wrap: anywhere;
}

.status-page {
    position: relative;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

.status-page__art {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.status-page__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: saturate(0.9);
    -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
    mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
}

.status-page__inner {
    display: grid;
    justify-items: center;
    gap: 1rem;
}

.status-page__code {
    margin: 0;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--font-display);
    font-size: clamp(5rem, 16vw, 9rem);
    font-weight: 900;
    line-height: 1;
    filter: drop-shadow(0 10px 30px rgba(240, 122, 30, 0.35));
}

.status-page__code .icon {
    color: var(--gold-300);
}

.status-page__title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.status-page__text {
    max-width: 34rem;
    color: var(--text-muted);
}

.status-page__meta {
    color: var(--text-faint);
    font-size: 0.85rem;
}

/* ---------- Reveal on scroll (content stays visible without JS or with reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal-ready [data-reveal]:not([data-revealed]) {
        opacity: 0;
        transform: translateY(28px);
    }

    .reveal-ready [data-reveal] {
        transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    }
}

/* ---------- Blazor error UI ---------- */
#blazor-error-ui {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 1rem;
    width: min(calc(100% - 2rem), 34rem);
    padding: 0.9rem 1rem 0.9rem 1.25rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface-2);
    box-shadow: var(--shadow-lg);
    color: var(--text-strong);
    font-size: 0.95rem;
    transform: translateX(-50%);
}

#blazor-error-ui .reload {
    margin-left: auto;
    color: var(--gold-300);
    font-weight: 600;
}

#blazor-error-ui .dismiss {
    padding: 0 0.4rem;
    border: 0;
    background: none;
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
    .site-nav__list a {
        padding-inline: 0.55rem;
        letter-spacing: 0.1em;
    }

    .site-nav__list a::after {
        left: 0.55rem;
        right: 0.55rem;
    }

    .brand__wordmark {
        display: none;
    }
}

@media (max-width: 1100px) {
    .mode-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mode-card {
        min-height: 400px;
    }

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

@media (max-width: 1023px) {
    .nav-toggle {
        display: block;
    }

    .brand__wordmark {
        display: block;
    }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 0;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        gap: 2rem;
        padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
        overflow-y: auto;
        background:
            radial-gradient(40rem 30rem at 100% 0%, rgba(240, 122, 30, 0.12), transparent 70%),
            #09080e;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
    }

    .site-header[data-nav-open] {
        background: rgba(9, 8, 14, 0.98);
    }

    .site-header[data-nav-open] .site-nav {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
    }

    .site-nav__list a {
        padding: 1rem 0.25rem;
        border-bottom: 1px solid var(--line);
        color: var(--text-strong);
        font-family: var(--font-display);
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: 0.06em;
    }

    .site-nav__list a::after {
        display: none;
    }

    .site-nav__aside {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .site-nav__aside .btn {
        flex: 1 1 100%;
        min-height: 3.4rem;
    }

    .about,
    .specs,
    .press,
    .faq {
        grid-template-columns: minmax(0, 1fr);
    }

    .about__media {
        max-width: 640px;
    }

    .faq__intro {
        position: static;
    }

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

    .gallery-grid__item:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .site-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .buy-bar {
        display: flex;
    }

    .site-footer {
        padding-bottom: 5rem;
    }
}

@media (max-width: 720px) {
    :root {
        --header-h: 66px;
    }

    body {
        font-size: 1rem;
    }

    .brand__wordmark {
        width: 128px;
    }

    .hero__content {
        padding-top: calc(var(--header-h) + 2rem);
    }

    .hero__media img {
        object-position: 62% 30%;
    }

    .hero__actions {
        width: 100%;
    }

    .btn {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .press__actions .btn,
    .faq__intro .btn {
        width: 100%;
    }

    .hero__actions .btn {
        flex: 1 1 100%;
    }

    .hero__support {
        font-size: 0.98rem;
    }

    .stats {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats__item:nth-child(odd)::before {
        display: none;
    }

    .stats__item:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .feature-grid,
    .mode-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mode-card {
        min-height: 360px;
    }

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

    .gallery-grid__item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .about__emblem {
        right: -0.5rem;
    }

    .pillars {
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
    }

    .pillars li + li::before {
        display: none;
    }

    .rating-card {
        flex-direction: column;
        text-align: center;
    }

    .spec-table thead {
        display: none;
    }

    .spec-table,
    .spec-table tbody,
    .spec-table tr,
    .spec-table th,
    .spec-table td {
        display: block;
        width: 100%;
    }

    .spec-table tbody tr {
        padding: 0.9rem 1.1rem;
    }

    .spec-table tbody th,
    .spec-table td {
        width: auto;
        padding: 0.15rem 0;
    }

    .spec-table tbody th {
        margin-bottom: 0.3rem;
        color: var(--gold-300);
        font-size: 0.78rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .spec-table td::before {
        content: attr(data-label) ": ";
        color: var(--text-muted);
    }

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

    .facts__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.2rem;
    }

    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.25rem;
    }

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

@media (max-width: 420px) {
    .brand__wordmark {
        display: none;
    }

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

    .gallery-grid__item:first-child {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .site-header,
    .hero__embers,
    .buy-bar,
    .video-frame,
    #blazor-error-ui {
        display: none !important;
    }
}
