:root {
    --yellow: #f2c012;
    --yellow-soft: #fbe38c;
    --yellow-tint: #fef6d9;
    --ink: #1c1a12;
    --muted: #6b6552;
    --white: #ffffff;
    --border: #efe7c8;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(242, 192, 18, 0.15);
    --maxw: 1080px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    font-weight: 500;
}

.nav-links a {
    color: var(--muted);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--yellow);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(242, 192, 18, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--yellow);
    transform: translateY(-2px);
}

/* ---------- Sections ---------- */
.section {
    padding: 96px 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--yellow);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.section-text {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 52ch;
}

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1200px 500px at 70% -10%, var(--yellow-tint), transparent 60%),
        linear-gradient(180deg, #fffdf6 0%, var(--white) 100%);
    padding: 120px 0 110px;
    text-align: center;
}

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

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 22px;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 48ch;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------- Game ---------- */
.game {
    background: var(--white);
}

.game-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.game-art {
    background: linear-gradient(160deg, var(--yellow-tint), #fffdf3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list {
    list-style: none;
    margin: 26px 0 32px;
    display: grid;
    gap: 12px;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    font-weight: 500;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: inset 0 0 0 4px var(--yellow-soft);
}

/* ---------- About ---------- */
.about {
    background: linear-gradient(180deg, #fffdf6, var(--white));
    text-align: center;
}

.about-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text {
    max-width: 60ch;
}

/* ---------- Contact ---------- */
.contact {
    text-align: center;
    background: var(--white);
}

.contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact .btn {
    margin-top: 18px;
}

/* ---------- Legal Pages ---------- */
.legal-hero {
    background:
        radial-gradient(1000px 420px at 75% -5%, var(--yellow-tint), transparent 60%),
        linear-gradient(180deg, #fffdf6 0%, var(--white) 100%);
    padding: 94px 0 78px;
}

.legal-hero-inner {
    max-width: 760px;
}

.legal-title {
    margin-bottom: 12px;
}

.legal-section {
    padding-top: 64px;
}

.legal-container {
    max-width: 860px;
}

.legal-doc {
    background: #fffef8;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 38px;
    box-shadow: 0 8px 26px rgba(28, 26, 18, 0.04);
}

.legal-doc h2 {
    font-size: clamp(1.18rem, 2.1vw, 1.52rem);
    font-weight: 700;
    margin: 30px 0 12px;
    letter-spacing: -0.01em;
}

.legal-doc h2:first-child {
    margin-top: 0;
}

.legal-doc p,
.legal-doc li {
    color: var(--muted);
    font-size: 1rem;
}

.legal-doc p {
    margin-bottom: 12px;
}

.legal-doc ul {
    margin: 10px 0 16px;
    padding-left: 22px;
    display: grid;
    gap: 8px;
}

.legal-doc a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    background: #fffdf8;
    padding: 30px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.footer-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-copy {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
    .game-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .game-art {
        order: -1;
        padding: 36px;
    }

    .nav-links {
        display: none;
    }

    .section {
        padding: 72px 0;
    }

    .legal-doc {
        padding: 26px;
    }
}
