:root {
    --bg: #080403;
    --bg-deep: #000000;
    --panel: rgba(18, 9, 5, 0.88);
    --panel-soft: rgba(255, 236, 182, 0.08);
    --text: #fff3c4;
    --muted: #d8ae70;
    --line: rgba(255, 185, 66, 0.32);
    --ember: #c53d09;
    --ember-hot: #f47a12;
    --gold: #ffd267;
    --gold-deep: #a46208;
    --shadow: rgba(0, 0, 0, 0.52);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 20% 78%, rgba(244, 122, 18, 0.18), transparent 22rem),
        linear-gradient(180deg, #050000 0%, var(--bg) 42%, var(--bg-deep) 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(90deg, rgba(255, 211, 103, 0.08), transparent 22%, transparent 78%, rgba(255, 211, 103, 0.08)),
        radial-gradient(circle at 50% 120%, rgba(255, 210, 103, 0.18), transparent 34rem);
}

a {
    color: var(--gold);
    font-weight: 900;
}

.site-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: clamp(1.1rem, 4vw, 3.5rem);
}

.inner-shell {
    width: min(100%, 1080px);
}

.hero {
    position: relative;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: clamp(2.6rem, 5vw, 4.5rem) clamp(1.1rem, 4vw, 3.5rem) clamp(4rem, 8vw, 7.5rem);
    min-height: min(860px, 92vh);
    display: grid;
    place-items: center;
    align-content: center;
    gap: clamp(0.75rem, 2vw, 1.35rem);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #000000 0%, #000000 76%, rgba(8, 4, 3, 0) 100%);
}

.logo-stage {
    position: relative;
    width: min(92vw, 620px);
}

.logo-stage::before,
.logo-stage::after {
    position: absolute;
    top: -4%;
    bottom: -4%;
    z-index: -1;
    width: 50vw;
    pointer-events: none;
    content: "";
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.logo-stage::before {
    right: 100%;
    background:
        linear-gradient(180deg,
            #000000 0%,
            #000000 24%,
            #0e0000 40%,
            #8b1900 52%,
            #3c0900 66%,
            #000000 84%,
            #000000 100%);
}

.logo-stage::after {
    left: 100%;
    background:
        linear-gradient(180deg,
            #000000 0%,
            #000000 24%,
            #060000 40%,
            #871a00 52%,
            #731b00 66%,
            #000000 84%,
            #000000 100%);
}

.hero-logo {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 34px 50px var(--shadow));
}

.page-hero {
    display: grid;
    justify-items: center;
    gap: 0.85rem;
    padding: clamp(1rem, 4vw, 2rem) 0 clamp(1.5rem, 4vw, 3rem);
    text-align: center;
}

.compact-hero h1 {
    font-size: clamp(3.5rem, 12vw, 7.5rem);
}

.small-logo-link img {
    display: block;
    width: min(88vw, 390px);
    height: auto;
    filter: drop-shadow(0 26px 42px var(--shadow));
}

.kicker {
    margin: 0;
    color: var(--gold);
    font-size: clamp(0.78rem, 1.6vw, 0.95rem);
    font-weight: 1000;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1 {
    max-width: 900px;
    margin: 0;
    color: #fff7da;
    font-size: clamp(3.25rem, 11vw, 9rem);
    line-height: 0.86;
    letter-spacing: 0;
    text-shadow: 0 4px 0 rgba(117, 39, 0, 0.8), 0 24px 48px var(--shadow);
}

h2 {
    margin: 0 0 0.65rem;
    color: #fff0bc;
    font-size: clamp(1.5rem, 3vw, 2.45rem);
    line-height: 1.05;
    letter-spacing: 0;
}

p {
    max-width: 760px;
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.72;
}

.hero-copy {
    max-width: 790px;
    color: #ffe6a1;
    font-size: clamp(1.15rem, 2.1vw, 1.55rem);
    font-weight: 750;
    line-height: 1.48;
}

.purpose-band {
    max-width: 980px;
    margin: 0 auto clamp(1.2rem, 4vw, 2.5rem);
    padding: clamp(1.25rem, 3vw, 2rem);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.purpose-band p {
    max-width: 900px;
    margin: 0 auto;
    color: #f4c784;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

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

.path-card,
.game-card {
    min-height: 16rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1rem, 2.3vw, 1.45rem);
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 211, 103, 0.1), rgba(197, 61, 9, 0.08)),
        var(--panel);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 22px 60px var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.path-card:hover,
.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 210, 103, 0.75);
    background:
        linear-gradient(180deg, rgba(255, 211, 103, 0.18), rgba(244, 122, 18, 0.16)),
        var(--panel);
}

.path-card.featured {
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 210, 103, 0.25), transparent 9rem),
        linear-gradient(160deg, rgba(244, 122, 18, 0.25), rgba(14, 6, 3, 0.9)),
        var(--panel);
}

.game-list {
    display: grid;
    gap: 1rem;
}

.game-card {
    min-height: 13rem;
    justify-content: flex-end;
}

.card-label {
    margin-bottom: auto;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 1000;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.path-card p,
.game-card p {
    margin: 0;
    color: #d9b075;
}

.site-footer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: clamp(2rem, 5vw, 3rem);
    color: var(--muted);
    font-size: 0.95rem;
}

.policy-shell {
    width: min(100%, 980px);
}

.policy-card {
    margin: clamp(1rem, 5vh, 3rem) 0;
    padding: clamp(1.2rem, 4vw, 3.25rem);
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 236, 182, 0.07), rgba(0, 0, 0, 0)),
        rgba(10, 5, 3, 0.92);
    box-shadow: 0 24px 70px var(--shadow);
}

.policy-header {
    display: grid;
    justify-items: center;
    gap: clamp(1rem, 3vw, 1.75rem);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
}

.policy-logo {
    display: block;
    width: min(100%, 500px);
    height: auto;
    filter: drop-shadow(0 22px 34px var(--shadow));
}

.policy-card h1 {
    max-width: 760px;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.92;
}

.intro {
    max-width: 680px;
    margin-inline: auto;
    color: #ffe6a1;
    font-size: clamp(1.08rem, 2vw, 1.35rem);
    font-weight: 800;
    line-height: 1.45;
}

.updated {
    margin-inline: auto;
    font-size: 0.95rem;
    font-weight: 800;
}

.policy-card h2 {
    margin-top: 2rem;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.policy-card h2:first-of-type {
    margin-top: 1.5rem;
}

.back-link {
    margin-top: 2rem;
}

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

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 2rem 0 1rem;
    }

    .logo-stage {
        width: min(96vw, 460px);
    }

    .path-grid,
    .policy-header {
        grid-template-columns: 1fr;
    }

    .path-card {
        min-height: 12rem;
    }

    .policy-logo {
        width: min(100%, 24rem);
        margin: 0 auto;
    }

    .site-footer {
        flex-direction: column;
        align-items: center;
    }
}
