:root {
    --bg: #090d11;
    --bg-soft: #10161d;
    --surface: #151f28;
    --surface-alt: #1a2733;
    --text: #eff4f2;
    --muted: #a8b7bf;
    --accent-bone: #f8e6c6;
    --accent-rust: #d86a37;
    --accent-cyan: #3ec5bc;
    --accent-lime: #99d65b;
    --ring: rgba(248, 230, 198, 0.35);
    --radius: 14px;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(60rem 36rem at 85% -10%, rgba(216, 106, 55, 0.25), transparent),
        radial-gradient(48rem 30rem at 8% 10%, rgba(62, 197, 188, 0.2), transparent),
        linear-gradient(180deg, #06080c 0%, #0b1017 60%, #0a0f15 100%);
    font-family: "Exo 2", "Segoe UI", sans-serif;
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: #fff;
    color: #111;
    padding: 0.45rem 0.75rem;
    z-index: 999;
}

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

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(6, 10, 14, 0.72);
    border-bottom: 1px solid rgba(168, 183, 191, 0.18);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-family: "Cinzel", serif;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.15rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--text);
}

h1,
h2,
h3 {
    font-family: "Cinzel", serif;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(1.9rem, 4.4vw, 3.4rem);
    margin: 0.3rem 0 1rem;
}

h2 {
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    margin: 0 0 1rem;
}

h3 {
    font-size: clamp(1.12rem, 2.2vw, 1.35rem);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 0.78rem;
    margin: 0;
}

.hero {
    padding: clamp(3rem, 9vw, 6.2rem) 0 2.3rem;
}

.hero-grid {
    display: grid;
    gap: 2.2rem;
}

.hero-text {
    color: var(--muted);
    max-width: 58ch;
    margin: 0 0 1.3rem;
}

.hero-logo {
    width: min(420px, 88%);
    margin: 0.25rem 0 0.45rem;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.btn {
    text-decoration: none;
    border-radius: 999px;
    padding: 0.7rem 1.05rem;
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.btn-steam {
    background: linear-gradient(120deg, #1c4f84, #2f83c9);
}

.btn-android {
    background: linear-gradient(120deg, #56852e, #92c83e);
    color: #0f1a09;
}

.btn-ios {
    background: linear-gradient(120deg, #f0f4f7, #b7c4d1);
    color: #111a23;
}

.hero-art {
    position: relative;
    padding: 1rem;
}

.hero-art img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(168, 183, 191, 0.24);
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(22px);
    z-index: -1;
}

.orb-a {
    width: 180px;
    height: 180px;
    right: -8px;
    top: -16px;
    background: rgba(216, 106, 55, 0.4);
}

.orb-b {
    width: 140px;
    height: 140px;
    left: -8px;
    bottom: -10px;
    background: rgba(62, 197, 188, 0.35);
}

.platform-cta {
    padding: 1rem 0 2rem;
}

.platform-grid,
.feature-grid,
.shot-grid,
.community-links,
.news-grid {
    display: grid;
    gap: 1rem;
}

.platform-card,
.feature-card,
.news-card,
.trailer-shell,
.community,
.screenshots,
.features,
.news {
    border-radius: var(--radius);
}

.platform-card,
.feature-card,
.news-card {
    background: linear-gradient(180deg, var(--surface-alt), #121b24);
    border: 1px solid rgba(168, 183, 191, 0.2);
    box-shadow: var(--shadow);
    padding: 1.1rem;
}

.platform-card p,
.feature-card p,
.news-card p {
    color: var(--muted);
}

.trailer,
.features,
.screenshots,
.community,
.news {
    padding: 2.4rem 0;
}

.trailer-shell {
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(26, 39, 51, 0.8), rgba(16, 22, 29, 0.9));
    border: 1px solid rgba(168, 183, 191, 0.2);
}

.trailer-shell p {
    color: var(--muted);
}

.trailer-promo {
    display: grid;
    gap: 0.9rem;
}

.trailer-promo img {
    border-radius: var(--radius);
    border: 1px solid rgba(168, 183, 191, 0.2);
    box-shadow: var(--shadow);
}

.trailer-promo .btn {
    width: fit-content;
}

.trailer-player {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(168, 183, 191, 0.2);
    box-shadow: var(--shadow);
    background: #0a0f15;
}

.trailer-play-btn {
    all: unset;
    cursor: pointer;
    width: 100%;
    display: block;
    position: relative;
}

.trailer-play-btn img {
    width: 100%;
    height: auto;
    display: block;
}

.play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: rgba(6, 10, 14, 0.72);
    border: 2px solid rgba(248, 230, 198, 0.85);
}

.play-icon::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 22px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid var(--accent-bone);
}

.play-label {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    background: rgba(6, 10, 14, 0.82);
    border: 1px solid rgba(248, 230, 198, 0.6);
    color: var(--accent-bone);
    border-radius: 999px;
    padding: 0.34rem 0.72rem;
    font-weight: 700;
    font-size: 0.82rem;
}

.trailer-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.shot-grid img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(168, 183, 191, 0.2);
    box-shadow: var(--shadow);
}

.screenshot-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.community {
    background: linear-gradient(180deg, rgba(20, 30, 39, 0.6), rgba(12, 18, 24, 0.9));
}

.community p {
    color: var(--muted);
}

.community-links {
    grid-template-columns: 1fr;
}

.community-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid rgba(168, 183, 191, 0.3);
    background: rgba(26, 39, 51, 0.8);
}

.community-link:hover,
.community-link:focus-visible {
    border-color: var(--accent-bone);
}

.news-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin: 0 0 0.45rem;
}

.news-card a {
    font-weight: 700;
    color: var(--accent-bone);
}

.site-footer {
    padding: 1.2rem 0 2rem;
    border-top: 1px solid rgba(168, 183, 191, 0.2);
}

.site-footer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--accent-bone);
    text-decoration: none;
    font-weight: 700;
}

.footer-link:hover,
.footer-link:focus-visible {
    text-decoration: underline;
}

.legal-main {
    padding: 2.4rem 0;
}

.legal-section {
    padding: 1rem 0 2rem;
}

.legal-content {
    max-width: 900px;
    background: linear-gradient(180deg, rgba(20, 30, 39, 0.9), rgba(12, 18, 24, 0.95));
    border: 1px solid rgba(168, 183, 191, 0.2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem;
}

.legal-content h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.legal-content p {
    margin: 0 0 0.95rem;
    color: var(--muted);
}

.news-article-body h2,
.news-article-body h3 {
    margin-top: 1.3rem;
    margin-bottom: 0.55rem;
}

.news-article-body p,
.news-article-body li {
    color: var(--muted);
}

.news-article-body ul {
    padding-left: 1.15rem;
}

.news-article-body a {
    color: var(--accent-bone);
}

.news-inline-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid rgba(168, 183, 191, 0.2);
    box-shadow: var(--shadow);
    margin: 0.65rem 0 0.85rem;
}

.presskit-hero {
    display: grid;
    gap: 1.2rem;
    align-items: center;
}

.presskit-banner {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(168, 183, 191, 0.2);
    box-shadow: var(--shadow);
}

.presskit-grid {
    display: grid;
    gap: 1rem;
}

.presskit-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--muted);
}

.presskit-list li {
    margin: 0.3rem 0;
}

.presskit-text {
    color: var(--muted);
    margin: 0 0 0.95rem;
}

.presskit-media-link {
    display: block;
    border-radius: var(--radius);
}

.presskit-logos {
    display: grid;
    gap: 1rem;
}

.presskit-logo-item {
    text-decoration: none;
    border-radius: var(--radius);
    padding: 0.75rem;
    background: linear-gradient(180deg, var(--surface-alt), #121b24);
    border: 1px solid rgba(168, 183, 191, 0.2);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.6rem;
}

.presskit-logo-item img {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(9, 13, 17, 0.7);
}

.presskit-logo-item span {
    color: var(--muted);
    font-size: 0.86rem;
    word-break: break-word;
}

.section-glow {
    position: relative;
}

.section-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 75% 0, rgba(216, 106, 55, 0.1), transparent 48%);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

@media (max-width: 760px) {
    .nav-shell {
        min-height: 64px;
    }

    .brand span {
        display: none;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .main-nav {
        gap: 0.65rem;
    }

    .main-nav a {
        font-size: 0.88rem;
    }

    .cta-group {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        scrollbar-width: thin;
    }

    .cta-group .btn {
        flex: 0 0 auto;
        font-size: 0.8rem;
        padding: 0.62rem 0.78rem;
    }
}

@media (min-width: 840px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }

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

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

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

    .community-links {
        grid-template-columns: repeat(3, max-content);
        justify-content: flex-start;
    }

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

    .presskit-hero {
        grid-template-columns: 1fr 1.05fr;
    }

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

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