@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --peach: #fef3e2;
    --coral: #fb923c;
    --burnt-orange: #ea580c;
    --deep-brown: #431407;
    --warm-white: #fffbf5;
    --text-dark: #292524;
    --text-mid: #57534e;
    --border-warm: rgba(234, 88, 12, 0.15);
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--warm-white);
    color: var(--text-dark);
    line-height: 1.75;
}

.wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.top-header {
    background: var(--warm-white);
    border-bottom: 1px solid var(--border-warm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--burnt-orange);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--coral), var(--burnt-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--burnt-orange);
    transition: 0.3s;
}

.menu-toggle.on span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.on span:nth-child(2) { opacity: 0; }
.menu-toggle.on span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.current { color: var(--burnt-orange); }

/* Hero */
.hero-area {
    padding: 90px 0 70px;
    background: linear-gradient(180deg, var(--peach) 0%, var(--warm-white) 100%);
    text-align: center;
}

.hero-pill {
    display: inline-block;
    padding: 10px 24px;
    background: white;
    border: 1px solid var(--border-warm);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--burnt-orange);
    margin-bottom: 28px;
}

h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 3.4rem;
    font-weight: 400;
    color: var(--deep-brown);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 680px;
    margin: 0 auto;
}

/* Info Boxes */
.info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 60px 0;
}

.info-box {
    background: white;
    border: 1px solid var(--border-warm);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.info-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.1);
}

.info-emoji {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.info-box h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--burnt-orange);
    margin-bottom: 12px;
}

.info-box p {
    font-size: 0.95rem;
    color: var(--text-mid);
}

/* Game Section */
.game-area {
    padding: 50px 0 70px;
}

.section-top {
    text-align: center;
    margin-bottom: 40px;
}

h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--deep-brown);
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-mid);
    max-width: 580px;
    margin: 0 auto;
}

.game-holder {
    background: var(--peach);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.game-view {
    width: 100%;
    height: 560px;
    border: none;
    border-radius: 16px;
}

/* Features */
.feature-area {
    padding: 70px 0;
    background: var(--peach);
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feat-box {
    background: white;
    border-radius: 20px;
    padding: 34px 24px;
    text-align: center;
    border: 1px solid var(--border-warm);
}

.feat-emoji {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.feat-box h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--coral);
    margin-bottom: 10px;
}

.feat-box p {
    font-size: 0.9rem;
    color: var(--text-mid);
}

/* Content */
.content-area {
    padding: 60px 0;
}

.content-card {
    background: white;
    border: 1px solid var(--border-warm);
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 28px;
}

.content-card h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 20px;
}

.content-card p {
    color: var(--text-mid);
    margin-bottom: 18px;
}

.content-card ul {
    list-style: none;
    margin: 24px 0;
}

.content-card li {
    padding: 14px 0 14px 30px;
    position: relative;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border-warm);
}

.content-card li:last-child { border-bottom: none; }

.content-card li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: var(--coral);
}

/* Page Header */
.page-top {
    padding: 90px 0 50px;
    background: var(--peach);
    text-align: center;
    border-bottom: 1px solid var(--border-warm);
}

.page-top h1 { font-size: 2.8rem; }

/* Footer */
.site-footer {
    background: var(--deep-brown);
    color: var(--warm-white);
    padding: 55px 0 30px;
    margin-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand .brand { color: var(--coral); margin-bottom: 14px; }
.footer-brand p { opacity: 0.8; font-size: 0.95rem; }

.footer-menu h4,
.footer-help h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.footer-menu ul { list-style: none; }
.footer-menu li { margin-bottom: 12px; }

.footer-menu a,
.footer-help a {
    color: var(--warm-white);
    opacity: 0.8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.footer-menu a:hover,
.footer-help a:hover { opacity: 1; }

.help-list { display: flex; flex-direction: column; gap: 10px; }

.footer-bar {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Age Check */
.age-check {
    position: fixed;
    inset: 0;
    background: rgba(67, 20, 7, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-check.gone { display: none; }

.age-dialog {
    background: var(--warm-white);
    border-radius: 28px;
    padding: 50px 45px;
    text-align: center;
    max-width: 480px;
}

.age-dialog h2 {
    color: var(--deep-brown);
    margin-bottom: 16px;
    font-size: 1.8rem;
}

.age-dialog p {
    color: var(--text-mid);
    margin-bottom: 30px;
}

.age-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-accept,
.btn-decline {
    padding: 14px 38px;
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-accept {
    background: linear-gradient(135deg, var(--coral), var(--burnt-orange));
    color: white;
}

.btn-accept:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
}

.btn-decline {
    background: transparent;
    border: 2px solid var(--text-mid);
    color: var(--text-mid);
}

.btn-decline:hover {
    border-color: var(--burnt-orange);
    color: var(--burnt-orange);
}

.age-note {
    font-size: 0.8rem;
    color: var(--text-mid);
    margin-top: 25px;
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-boxes { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--warm-white);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.4s;
        z-index: 999;
    }
    
    .nav-links.show { transform: translateX(0); }
    .nav-links ul { flex-direction: column; text-align: center; gap: 28px; }
    .nav-links a { font-size: 1.3rem; }
    
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
    
    .info-row { grid-template-columns: 1fr; }
    .feature-boxes { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    
    .game-view { height: 380px; }
    .content-card { padding: 35px 25px; }
    .age-dialog { margin: 20px; padding: 40px 28px; }
    .age-actions { flex-direction: column; }
}
