@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Sora:wght@600;700;800&display=swap');

:root {
    --bg: #081812;
    --bg-soft: #0d241b;
    --panel: #103224;
    --panel-strong: #16442f;
    --line: rgba(197, 241, 206, 0.14);
    --text: #edf7ef;
    --muted: #b9d5c0;
    --green: #72d18c;
    --green-strong: #3fb769;
    --gold: #d6b86b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(83, 158, 97, 0.24), transparent 34%),
        radial-gradient(circle at bottom right, rgba(214, 184, 107, 0.14), transparent 28%),
        linear-gradient(180deg, #06140f 0%, #081812 45%, #0d2319 100%);
    min-height: 100vh;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

iframe {
    border: 0;
}

.shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(6, 20, 15, 0.72);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
}

.site-header.is-legal {
    position: relative;
}

.header-inner,
.brand-wrap,
.top-nav,
.gate-brand,
.gate-actions,
.gate-links,
.hero-actions,
.signal-grid,
.disclosure-grid,
.section-heading,
.footer-grid,
.footer-links,
.footer-bottom,
.contact-layout,
.contact-stack,
.team-grid,
.contact-line,
.checkbox-row,
.support-links,
.cookie-actions {
    display: flex;
}

.header-inner,
.footer-bottom {
    justify-content: space-between;
    align-items: center;
}

.header-inner {
    padding: 16px 0;
    gap: 20px;
}

.brand-wrap,
.gate-brand {
    align-items: center;
    gap: 14px;
}

.brand-mark,
.brand-mark a {
    display: inline-flex;
}

.brand-mark svg {
    width: 54px;
    height: 54px;
}

.brand-eyebrow,
.gate-site-name,
.section-kicker,
.team-role,
.pill,
.legal-updated,
.contact-line strong {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
}

.brand-eyebrow,
.section-kicker,
.team-role,
.legal-updated,
.contact-line strong {
    color: #8fb69b;
}

.brand-title,
.gate-site-name,
.footer-brand {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

.brand-title {
    font-size: 1.05rem;
}

.top-nav {
    flex-wrap: wrap;
    gap: 8px;
}

.top-nav a {
    padding: 11px 14px;
    border-radius: 999px;
    color: var(--muted);
    transition: 180ms ease;
}

.top-nav a:hover,
.top-nav a.is-active {
    background: rgba(114, 209, 140, 0.12);
    color: var(--text);
}

.gate-screen,
.denied-screen {
    min-height: calc(100vh - 180px);
    display: grid;
    place-items: center;
    padding: 40px 16px 24px;
}

.gate-panel,
.denied-card,
.contact-card,
.contact-form,
.map-card,
.info-card,
.article-card,
.prose-card,
.support-link,
.floating-card,
.game-card,
.planner-form,
.planner-result,
.team-card {
    background: linear-gradient(180deg, rgba(21, 56, 40, 0.92), rgba(10, 30, 22, 0.96));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.gate-panel {
    width: min(760px, 100%);
    padding: 40px;
    border-radius: 34px;
    text-align: center;
}

.gate-panel h1,
.hero-copy h1,
.article-hero h1,
.denied-card h1 {
    margin: 10px 0 16px;
    font-family: 'Sora', sans-serif;
    line-height: 1.03;
}

.gate-panel h1 {
    font-size: clamp(2.4rem, 6vw, 4.3rem);
}

.gate-kicker {
    margin: 18px 0 0;
    color: var(--green);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.gate-text {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
}

.gate-actions,
.hero-actions,
.gate-links,
.signal-grid,
.disclosure-grid,
.footer-links,
.footer-bottom,
.checkbox-row,
.cookie-actions {
    gap: 14px;
}

.gate-actions,
.hero-actions,
.cookie-actions {
    justify-content: center;
}

.gate-links {
    justify-content: center;
    margin-top: 20px;
}

.gate-links a,
.inline-link {
    color: #dff7dd;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: 180ms ease;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-1px);
}

.button-xl {
    min-width: 210px;
    min-height: 60px;
    font-size: 1.05rem;
}

.button-primary {
    background: linear-gradient(135deg, #96f18f 0%, #3eb868 100%);
    color: #062114;
}

.button-secondary,
.button-dark {
    background: transparent;
    border-color: rgba(214, 184, 107, 0.35);
    color: var(--text);
}

.button-dark {
    background: #103224;
}

.button-light {
    background: #ffffff;
    border-color: #c9d0da;
    color: #112038;
}

.button-dark-solid {
    background: #111a2d;
    color: #ffffff;
    border-color: #111a2d;
}

.hero-section,
.games-section,
.planner-section,
.feature-slice,
.contact-team-section,
.article-hero,
.article-grid,
.prose-section,
.support-panel,
.info-stripe {
    padding: 48px 0;
}

.hero-section,
.feature-slice,
.planner-section,
.contact-layout,
.support-panel {
    display: grid;
    gap: 24px;
}

.hero-section,
.feature-slice {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
}

.hero-text,
.article-hero p,
.prose-card p,
.article-card p,
.info-card p,
.contact-line span,
.contact-form label,
.support-copy p,
.notice p,
.denied-card p,
.footer-note,
.cookie-copy span,
.planner-copy p {
    color: var(--muted);
    line-height: 1.7;
}

.split-visual {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 18px;
    align-items: end;
}

.floating-card {
    overflow: hidden;
    border-radius: 28px;
}

.floating-card img,
.feature-media img,
.article-figure img,
.team-card img {
    height: 100%;
    object-fit: cover;
}

.tall-card {
    min-height: 430px;
}

.short-card {
    min-height: 320px;
    transform: translateY(42px);
}

.signal-grid {
    flex-wrap: wrap;
    margin-top: 26px;
}

.signal-grid div {
    min-width: 155px;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.signal-grid strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.25rem;
}

.signal-grid span {
    color: var(--muted);
    font-size: 0.94rem;
}

.disclosure-band {
    background: rgba(214, 184, 107, 0.08);
    border-top: 1px solid rgba(214, 184, 107, 0.16);
    border-bottom: 1px solid rgba(214, 184, 107, 0.16);
}

.disclosure-grid {
    padding: 18px 0;
    justify-content: space-between;
    flex-wrap: wrap;
}

.disclosure-grid p {
    margin: 0;
    flex: 1 1 320px;
    line-height: 1.6;
}

.section-heading {
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.section-heading h2,
.planner-copy h2,
.feature-copy h2,
.support-copy h2 {
    margin: 6px 0 0;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.game-grid,
.three-col-grid,
.article-grid,
.team-grid,
.footer-grid {
    display: grid;
    gap: 20px;
}

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

.game-card {
    padding: 22px;
    border-radius: var(--radius-lg);
}

.game-copy h3,
.article-card h2,
.prose-card h2,
.support-copy h2,
.team-card h3,
.denied-card h2 {
    margin: 10px 0 12px;
    font-family: 'Sora', sans-serif;
}

.pill {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(114, 209, 140, 0.14);
    color: var(--green);
}

.game-frame {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #07120d;
}

.game-frame iframe,
.map-card iframe {
    width: 100%;
    height: 100%;
}

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

.info-card,
.article-card,
.prose-card {
    border-radius: 24px;
    padding: 24px;
}

.planner-section,
.support-panel {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: start;
}

.planner-form,
.planner-result,
.contact-card,
.contact-form,
.map-card {
    border-radius: 24px;
    padding: 24px;
}

.planner-form,
.contact-form,
.contact-stack {
    gap: 16px;
}

.contact-stack {
    flex-direction: column;
    min-width: 0;
}

.planner-form label,
.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--text);
    font-weight: 700;
}

.planner-form select,
.contact-form select,
.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(4, 17, 12, 0.8);
    color: var(--text);
    padding: 14px 16px;
    font: inherit;
}

.planner-result {
    min-height: 170px;
    align-content: center;
}

.planner-result strong {
    display: block;
    margin-bottom: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem;
}

.feature-media {
    min-height: 420px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.feature-copy {
    max-width: 520px;
}

.contact-layout {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    align-items: start;
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 16px;
    border-radius: 24px;
    overflow: hidden;
}

.team-photo {
    width: 108px;
    height: 108px;
    display: grid;
    place-items: center;
    padding: 10px;
    background:
        radial-gradient(circle at top, rgba(114, 209, 140, 0.12), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border-radius: 20px;
    flex-shrink: 0;
}

.team-card img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
}

.team-card > div:last-child {
    padding: 18px;
    min-width: 0;
}

.team-card h3 {
    margin: 6px 0 0;
    font-size: 1.5rem;
    line-height: 1.1;
    word-break: break-word;
}

.contact-line {
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkbox-row {
    align-items: center;
}

.checkbox-row input {
    width: auto;
    margin: 0;
}

.map-card {
    min-height: 320px;
    overflow: hidden;
}

.map-card iframe {
    min-height: 320px;
}

.notice {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
}

.notice-success {
    background: rgba(114, 209, 140, 0.12);
}

.notice-error {
    background: rgba(196, 102, 102, 0.12);
}

.article-page {
    padding-bottom: 20px;
}

.article-hero {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
}

.article-hero.narrow {
    grid-template-columns: 1fr;
}

.article-figure {
    min-height: 360px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.prose-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.support-links {
    display: grid;
    gap: 16px;
}

.support-link {
    padding: 20px;
    border-radius: 20px;
}

.support-link strong {
    display: inline-block;
    margin-top: 10px;
    color: var(--green);
}

.legal-page {
    padding: 32px 0 56px;
}

.legal-shell {
    max-width: 860px;
    padding: 32px;
    border-radius: 28px;
    background: rgba(10, 30, 22, 0.9);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.legal-shell h1 {
    margin-top: 8px;
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.legal-shell h2 {
    margin-top: 28px;
    font-family: 'Sora', sans-serif;
}

.legal-shell p {
    color: var(--muted);
    line-height: 1.75;
}

.denied-card {
    padding: 34px;
    border-radius: 30px;
}

.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0 30px;
}

.reason-card {
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer {
    margin-top: 32px;
    padding: 28px 0 34px;
    border-top: 1px solid var(--line);
    background: rgba(3, 11, 8, 0.54);
}

.footer-grid {
    grid-template-columns: 1.3fr 0.9fr 1fr;
    gap: 22px;
}

.footer-heading {
    margin: 0 0 12px;
    color: var(--green);
    font-family: 'Sora', sans-serif;
}

.footer-links {
    flex-direction: column;
}

.footer-links a {
    color: var(--muted);
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #89a492;
    flex-wrap: wrap;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1px solid #dce3eb;
    border-radius: 22px;
    box-shadow: var(--shadow);
    z-index: 40;
}

.cookie-banner.is-hidden {
    display: none !important;
}

.cookie-copy {
    display: grid;
    gap: 6px;
    flex: 1 1 420px;
}

.cookie-copy strong,
.cookie-copy span {
    color: #253247;
}

.cookie-policy-link {
    color: #2f63d6;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.cookie-actions {
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-settings-panel {
    width: 100%;
    display: grid;
    gap: 12px;
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid #e5ebf2;
}

.cookie-settings-panel.is-open {
    display: grid;
}

.cookie-setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f5f7fb;
}

.cookie-setting-row strong,
.cookie-setting-row p,
.cookie-switch span {
    color: #1f2b3d;
}

.cookie-setting-row p {
    margin: 6px 0 0;
    line-height: 1.55;
}

.cookie-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.cookie-switch input {
    width: 18px;
    height: 18px;
}

.cookie-switch.is-locked {
    opacity: 0.8;
}

.cookie-settings-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cookie-feedback {
    position: fixed;
    right: 16px;
    bottom: 142px;
    z-index: 41;
    max-width: min(420px, calc(100% - 32px));
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(9, 33, 23, 0.96);
    color: #edf7ef;
    border: 1px solid rgba(114, 209, 140, 0.2);
    box-shadow: var(--shadow);
}

.cookie-feedback.is-visible {
    display: block;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 1180px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 960px) {
    .hero-section,
    .feature-slice,
    .planner-section,
    .support-panel,
    .article-hero,
    .game-grid,
    .three-col-grid,
    .article-grid,
    .prose-section,
    .footer-grid,
    .reason-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .split-visual {
        grid-template-columns: 1fr;
    }

    .short-card {
        transform: none;
        min-height: 280px;
    }
}

@media (max-width: 720px) {
    .header-inner,
    .top-nav,
    .cookie-banner,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-setting-row,
    .cookie-settings-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-feedback {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .gate-panel,
    .denied-card,
    .legal-shell,
    .game-card {
        padding: 24px;
    }

    .gate-actions,
    .hero-actions,
    .signal-grid,
    .disclosure-grid {
        flex-direction: column;
    }

    .button-xl {
        width: 100%;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .team-photo {
        width: 88px;
        height: 88px;
    }

    .team-card > div:last-child {
        padding: 4px 0;
    }

    .team-card h3 {
        font-size: 1.2rem;
    }

    .contact-line {
        flex-direction: column;
        align-items: flex-start;
    }

    .map-card,
    .map-card iframe {
        min-height: 260px;
    }
}
