:root {
    --bg: #050505;
    --panel: rgba(255, 255, 255, 0.05);
    --panel-strong: rgba(255, 255, 255, 0.08);
    --text: #f7f4ef;
    --muted: #b7b0a7;
    --gold: #d9a24b;
    --gold-strong: #ffca6b;
    --accent: #8f1d1d;
    --border: rgba(217, 162, 75, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(217, 162, 75, 0.2), transparent 28%),
        linear-gradient(135deg, #020202 0%, #111111 55%, #050505 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

.page-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px 40px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 16px;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a,
.nav-cta {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-cta:hover {
    color: var(--gold-strong);
}

.nav-cta {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(217, 162, 75, 0.12);
    color: var(--gold-strong);
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 72px 36px 56px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.78rem;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 800;
}

.hero h1,
.section-heading h2,
.join-card h2 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero h1 {
    font-size: clamp(2.4rem, 4.2vw, 4.2rem);
    max-width: 700px;
}

.hero-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 620px;
    margin: 20px 0 0;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.hero-actions-prompt {
    margin: 0;
    max-width: 380px;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    color: #120b04;
    background: linear-gradient(135deg, var(--gold), var(--gold-strong));
    box-shadow: 0 12px 28px rgba(217, 162, 75, 0.2);
}

.btn.secondary {
    color: var(--text);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.hero-metrics {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-metrics>div {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--panel);
    min-width: 120px;
    text-align: center;
}

.hero-metrics strong {
    display: block;
    font-size: 1.25rem;
    color: var(--gold-strong);
}

.hero-metrics span {
    font-size: 0.9rem;
    color: var(--muted);
}

.btn-hero {
    padding: 22px 46px;
    font-size: 1.15rem;
    box-shadow: 0 20px 48px rgba(217, 162, 75, 0.4);
}

.btn-hero:hover {
    box-shadow: 0 26px 58px rgba(217, 162, 75, 0.5);
}

section {
    margin-top: 24px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--panel);
    backdrop-filter: blur(16px);
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    max-width: 720px;
}

.section-copy {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.8;
    max-width: 760px;
}

.about-grid,
.benefit-grid,
.pillar-grid,
.gallery-grid {
    display: grid;
    gap: 16px;
}

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

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

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

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

.about-card,
.pillar-card,
.benefit-card,
.gallery-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--panel-strong);
}

.about-card h3,
.pillar-card h3,
.benefit-card h3,
.gallery-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--gold-strong);
}

.about-card p,
.pillar-card p,
.benefit-card p,
.gallery-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.gallery-card {
    min-height: 100%;
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 14px;
    border: 1px solid rgba(217, 162, 75, 0.2);
}

.gallery-card--wide {
    grid-column: 1 / -1;
}

.gallery-card--wide img {
    height: 320px;
}

.join-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(217, 162, 75, 0.2), rgba(143, 29, 29, 0.18));
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.join-card p {
    color: var(--muted);
    max-width: 640px;
    line-height: 1.7;
}

.form-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: calc(100vh - 220px);
    padding: 40px 0;
}

.form-card {
    max-width: 560px;
    width: 100%;
    padding: 40px 32px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(217, 162, 75, 0.2), rgba(143, 29, 29, 0.18));
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.form-card h1 {
    margin: 12px 0 16px;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
}

.form-card p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 28px;
}

.form-card p.eyebrow {
    color: var(--gold);
    margin-bottom: 12px;
}

.game-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
}

.guidelines-card {
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
}

.guidelines-list {
    margin: 0;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.guidelines-list li {
    color: var(--muted);
    line-height: 1.7;
}

.guidelines-list li strong {
    color: var(--text);
}

.guidelines-standard {
    margin: 20px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    line-height: 1.7;
}

.guidelines-standard strong {
    color: var(--gold-strong);
}

.game-question p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.game-options {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-option {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    text-align: left;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.game-option:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: var(--gold-strong);
}

.game-option.correct {
    border-color: rgba(79, 183, 77, 0.9);
    background: rgba(79, 183, 77, 0.12);
}

.game-option.incorrect {
    border-color: rgba(243, 102, 102, 0.9);
    background: rgba(243, 102, 102, 0.12);
}

.game-feedback {
    min-height: 24px;
    color: var(--muted);
    font-weight: 600;
}

.game-feedback.correct {
    color: #9dcc7c;
}

.game-feedback.incorrect {
    color: #f28f8f;
}

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

.game-score span {
    color: var(--muted);
}

.game-score strong {
    color: var(--gold-strong);
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 28px;
        padding: 44px 20px 34px;
    }

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

    .hero-text {
        max-width: 680px;
        margin: 20px auto 0;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-metrics {
        justify-content: center;
    }

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

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

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

    .gallery-card--wide {
        grid-column: auto;
    }
}

@media (max-width: 720px) {
    .page-shell {
        padding: 16px 14px 28px;
    }

    .topbar {
        border-radius: 24px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding-top: 32px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-metrics>div {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }

    .about-grid,
    .benefit-grid,
    .pillar-grid,
    .game-options {
        grid-template-columns: 1fr;
    }

    .join-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .game-footer {
        flex-direction: column;
        align-items: stretch;
    }

    section {
        padding: 20px;
    }

    .gallery-card img {
        height: 200px;
    }

    .gallery-card--wide img {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .page-shell {
        padding: 12px 10px 24px;
    }

    .topbar {
        padding: 12px 14px;
    }

    .brand {
        gap: 10px;
        font-size: 0.95rem;
    }

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

    .nav-links a {
        font-size: 0.92rem;
    }

    .hero-metrics>div {
        flex-basis: 100%;
    }

    .join-card,
    .game-card,
    .guidelines-card,
    .about-card,
    .pillar-card,
    .benefit-card,
    .gallery-card {
        padding: 16px;
    }

    .gallery-card img {
        height: 180px;
    }

    .gallery-card--wide img {
        height: 210px;
    }
}