@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@400;500;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

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

:root {
    --obsidian: #12100e;
    --ember-dark: #2a1810;
    --flame-orange: #e85d04;
    --solar-gold: #fca311;
    --warm-sand: #f4e4c9;
    --pure-white: #fffcf5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--obsidian);
    color: var(--warm-sand);
    line-height: 1.75;
}

h1, h2, h3, h4 {
    font-family: 'Spectral', serif;
    font-weight: 600;
}

a {
    color: var(--solar-gold);
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: var(--flame-orange);
}

/* Sticky Nav */
.sticky-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 16, 14, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(252, 163, 17, 0.15);
}

.nav-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.brand-mark span {
    font-family: 'Spectral', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--solar-gold);
}

.mobile-menu {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-menu span {
    height: 3px;
    background: var(--solar-gold);
    transition: all 0.3s;
}

.mobile-menu.engaged span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu.engaged span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.engaged span:last-child {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-items {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-items a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--warm-sand);
}

.nav-items a:hover {
    color: var(--solar-gold);
}

/* Intro Section */
.intro-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 80px;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(232, 93, 4, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(252, 163, 17, 0.1) 0%, transparent 40%),
        var(--obsidian);
    text-align: center;
}

.intro-content {
    max-width: 850px;
}

.intro-content h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.intro-content h1 .highlight {
    color: var(--solar-gold);
}

.intro-text {
    font-size: 1.2rem;
    color: rgba(244, 228, 201, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.intro-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--flame-orange), var(--solar-gold));
    color: var(--obsidian);
    padding: 1rem 3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 3px;
    transition: all 0.3s;
}

.intro-btn:hover {
    color: var(--obsidian);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(252, 163, 17, 0.35);
}

/* Highlights Row */
.highlights-row {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--obsidian), var(--ember-dark));
}

.highlights-flex {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.highlight-box {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background: rgba(42, 24, 16, 0.6);
    border: 1px solid rgba(252, 163, 17, 0.2);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s;
}

.highlight-box:hover {
    border-color: var(--solar-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.box-icon {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.highlight-box h3 {
    font-size: 1.3rem;
    color: var(--solar-gold);
    margin-bottom: 0.75rem;
}

.highlight-box p {
    color: rgba(244, 228, 201, 0.75);
    font-size: 0.95rem;
}

/* Game Display */
.game-display {
    padding: 5rem 2rem;
    background: var(--obsidian);
}

.display-wrap {
    max-width: 1400px;
    margin: 0 auto;
}

.display-header {
    text-align: center;
    margin-bottom: 3rem;
}

.display-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.display-header p {
    color: var(--solar-gold);
}

.game-screen {
    background: var(--ember-dark);
    border: 2px solid var(--flame-orange);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.game-screen iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Story Section */
.story-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--obsidian), rgba(42, 24, 16, 0.5));
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    font-size: 2.5rem;
    color: var(--solar-gold);
    margin-bottom: 2rem;
}

.story-content p {
    font-size: 1.1rem;
    color: rgba(244, 228, 201, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

/* Footer */
.main-footer {
    background: rgba(18, 16, 14, 0.98);
    border-top: 1px solid rgba(252, 163, 17, 0.15);
    padding: 3rem 2rem;
}

.footer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-menu a {
    color: var(--warm-sand);
    font-size: 0.9rem;
}

.help-area {
    padding-top: 2rem;
    border-top: 1px solid rgba(252, 163, 17, 0.1);
}

.help-area p {
    font-size: 0.85rem;
    color: rgba(244, 228, 201, 0.6);
    margin-bottom: 1rem;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.help-links a {
    font-size: 0.85rem;
}

.footer-note {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: rgba(244, 228, 201, 0.4);
}

/* Age Check */
.age-check {
    position: fixed;
    inset: 0;
    background: rgba(18, 16, 14, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.age-check.passed {
    display: none;
}

.check-box {
    background: linear-gradient(145deg, var(--ember-dark), var(--obsidian));
    border: 2px solid var(--solar-gold);
    border-radius: 12px;
    padding: 3rem;
    max-width: 480px;
    text-align: center;
}

.check-box h2 {
    font-size: 2rem;
    color: var(--solar-gold);
    margin-bottom: 1.5rem;
}

.check-box p {
    color: var(--warm-sand);
    margin-bottom: 2rem;
}

.check-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.check-btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 5px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
}

.check-btn.allow {
    background: linear-gradient(135deg, var(--flame-orange), var(--solar-gold));
    color: var(--obsidian);
}

.check-btn.allow:hover {
    transform: scale(1.05);
}

.check-btn.deny {
    background: transparent;
    color: var(--warm-sand);
    border: 2px solid rgba(252, 163, 17, 0.5);
}

.check-btn.deny:hover {
    background: rgba(252, 163, 17, 0.2);
}

/* Page Body */
.page-body {
    padding: 120px 2rem 4rem;
    max-width: 950px;
    margin: 0 auto;
    min-height: calc(100vh - 250px);
}

.page-body h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--solar-gold);
    margin-bottom: 2.5rem;
    text-align: center;
}

.page-body h2 {
    font-size: 1.4rem;
    color: var(--flame-orange);
    margin: 2.5rem 0 1rem;
}

.page-body p {
    color: rgba(244, 228, 201, 0.9);
    margin-bottom: 1.2rem;
}

.page-body ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.page-body li {
    color: rgba(244, 228, 201, 0.85);
    margin-bottom: 0.5rem;
}

/* Play Section */
.play-section {
    padding: 120px 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.play-section h1 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--solar-gold);
    margin-bottom: 1rem;
}

.play-section .info-text {
    text-align: center;
    color: rgba(244, 228, 201, 0.7);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }

    .nav-items {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--obsidian);
        flex-direction: column;
        padding: 100px 2rem;
        gap: 2rem;
        transition: right 0.35s;
        border-left: 1px solid rgba(252, 163, 17, 0.2);
    }

    .nav-items.showing {
        right: 0;
    }

    .nav-items a {
        font-size: 1.1rem;
    }

    .intro-section {
        padding: 100px 1.5rem 60px;
    }

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

    .highlight-box {
        max-width: 100%;
    }

    .game-screen iframe {
        height: 480px;
    }

    .check-btns {
        flex-direction: column;
    }

    .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .brand-mark span {
        font-size: 1.3rem;
    }

    .game-screen iframe {
        height: 380px;
    }
}
