@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --midnight: #0f172a;
    --slate-dark: #1e293b;
    --slate-mid: #334155;
    --gold-bright: #fbbf24;
    --gold-muted: #d97706;
    --white: #f8fafc;
    --gray-light: #e2e8f0;
    --gray-mid: #94a3b8;
    --teal-accent: #14b8a6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--midnight);
    color: var(--white);
    line-height: 1.7;
    font-weight: 400;
}

.wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.15);
    z-index: 1000;
    padding: 16px 0;
}

.topnav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link {
    font-family: 'Instrument Serif', serif;
    font-size: 1.9rem;
    color: var(--gold-bright);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-bright);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.burger span {
    width: 28px;
    height: 2px;
    background: var(--gold-bright);
    transition: 0.3s;
}

.burger.on span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.on span:nth-child(2) {
    opacity: 0;
}

.burger.on span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

.links ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-mid);
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.links a:hover,
.links a.on {
    color: var(--gold-bright);
}

/* Hero */
.intro {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--slate-dark) 0%, var(--midnight) 100%);
    position: relative;
    overflow: hidden;
}

.intro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.intro-content {
    position: relative;
    z-index: 1;
}

.intro-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--gold-bright);
    margin-bottom: 32px;
}

h1 {
    font-family: 'Instrument Serif', serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--white);
}

h1 em {
    font-style: italic;
    color: var(--gold-bright);
}

.intro-text {
    font-size: 1.15rem;
    color: var(--gray-mid);
    max-width: 720px;
    margin: 0 auto;
}

/* Cards Row */
.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 60px 0;
}

.card {
    background: var(--slate-dark);
    border: 1px solid var(--slate-mid);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
    border-color: var(--gold-muted);
    transform: translateY(-4px);
}

.card-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.card h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.2rem;
    color: var(--gold-bright);
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: var(--gray-mid);
}

/* Game Section */
.play-area {
    padding: 50px 0 70px;
}

.section-head {
    text-align: center;
    margin-bottom: 40px;
}

h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.section-sub {
    color: var(--gray-mid);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.game-shell {
    background: var(--slate-dark);
    border: 1px solid var(--slate-mid);
    border-radius: 20px;
    padding: 24px;
}

.game-window {
    width: 100%;
    height: 560px;
    border: none;
    border-radius: 12px;
}

/* Features Grid */
.highlights {
    padding: 70px 0;
    background: var(--slate-dark);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.highlight {
    background: var(--midnight);
    border: 1px solid var(--slate-mid);
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    transition: border-color 0.3s;
}

.highlight:hover {
    border-color: var(--teal-accent);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 18px;
}

.highlight h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--teal-accent);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight p {
    font-size: 0.9rem;
    color: var(--gray-mid);
}

/* Content Block */
.article {
    padding: 60px 0;
}

.article-box {
    background: var(--slate-dark);
    border: 1px solid var(--slate-mid);
    border-radius: 20px;
    padding: 48px;
    margin-bottom: 28px;
}

.article-box h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 20px;
}

.article-box p {
    color: var(--gray-mid);
    margin-bottom: 18px;
}

.article-box ul {
    list-style: none;
    margin: 24px 0;
}

.article-box li {
    padding: 14px 0 14px 32px;
    position: relative;
    color: var(--gray-mid);
    border-bottom: 1px solid var(--slate-mid);
}

.article-box li:last-child {
    border-bottom: none;
}

.article-box li::before {
    content: '⬡';
    position: absolute;
    left: 0;
    color: var(--gold-bright);
}

/* Page Title */
.page-title {
    padding: 120px 0 50px;
    text-align: center;
    background: var(--slate-dark);
    border-bottom: 1px solid var(--slate-mid);
}

.page-title h1 {
    font-size: 3rem;
}

/* Footer */
.bottom {
    background: var(--slate-dark);
    border-top: 1px solid var(--slate-mid);
    padding: 50px 0 28px;
    margin-top: 70px;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.bottom-brand .brand-link {
    margin-bottom: 14px;
    display: inline-flex;
}

.bottom-brand p {
    color: var(--gray-mid);
    font-size: 0.95rem;
}

.bottom-nav h4,
.bottom-help h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bottom-nav ul {
    list-style: none;
}

.bottom-nav li {
    margin-bottom: 12px;
}

.bottom-nav a,
.bottom-help a {
    color: var(--gray-mid);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.bottom-nav a:hover,
.bottom-help a:hover {
    color: var(--gold-bright);
}

.help-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bottom-line {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid var(--slate-mid);
    font-size: 0.85rem;
    color: var(--gray-mid);
}

/* Age Gate */
.gate {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gate.away {
    display: none;
}

.gate-box {
    background: var(--slate-dark);
    border: 2px solid var(--gold-bright);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    max-width: 480px;
}

.gate-box h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.gate-box p {
    color: var(--gray-mid);
    margin-bottom: 32px;
}

.gate-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-allow,
.btn-deny {
    padding: 14px 36px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-allow {
    background: var(--gold-bright);
    color: var(--midnight);
}

.btn-allow:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
}

.btn-deny {
    background: transparent;
    border: 1px solid var(--gray-mid);
    color: var(--gray-mid);
}

.btn-deny:hover {
    border-color: var(--gold-bright);
    color: var(--gold-bright);
}

.gate-note {
    font-size: 0.8rem;
    color: var(--gray-mid);
    margin-top: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bottom-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    
    .links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--midnight);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.4s;
        z-index: 999;
    }
    
    .links.show {
        transform: translateX(0);
    }
    
    .links ul {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }
    
    .links a {
        font-size: 1.3rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .cards-row {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .bottom-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-window {
        height: 380px;
    }
    
    .article-box {
        padding: 32px 22px;
    }
    
    .gate-box {
        margin: 20px;
        padding: 36px 24px;
    }
    
    .gate-btns {
        flex-direction: column;
    }
}
