/* Novaara - Elegant Warm Theme */
/* Fonts: Cormorant Garamond + Lato */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4a574;
    --gold-dark: #c48b59;
    --gold-light: #e8c9a8;
    --cream: #faf8f5;
    --cream-dark: #f0ebe3;
    --charcoal: #2c2c2c;
    --charcoal-light: #4a4a4a;
    --text: #3d3d3d;
    --text-light: #6b6b6b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

/* Age Verification */
.age-screen {
    position: fixed;
    inset: 0;
    background: rgba(44, 44, 44, 0.97);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.age-screen.hidden {
    display: none;
}

.age-box {
    background: var(--cream);
    border-radius: 4px;
    padding: 56px 48px;
    max-width: 460px;
    text-align: center;
}

.age-emblem {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 700;
    color: white;
}

.age-box h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--charcoal);
}

.age-box p {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.age-choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-confirm, .btn-exit {
    padding: 16px 32px;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.4);
}

.btn-exit {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-exit:hover {
    border-color: #c44;
    color: #c44;
}

/* Header */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--cream-dark);
}

.header-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--charcoal);
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-btn .bar {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--charcoal);
    transition: all 0.3s;
}

.top-nav {
    display: flex;
    gap: 8px;
}

.top-nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 400;
    border-radius: 4px;
    transition: all 0.3s;
}

.top-nav a:hover, .top-nav a.active {
    color: var(--gold-dark);
    background: rgba(212, 165, 116, 0.1);
}

/* Welcome Section */
.welcome-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 28px 100px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.welcome-inner {
    max-width: 750px;
    text-align: center;
}

.welcome-tag {
    display: inline-block;
    background: rgba(212, 165, 116, 0.2);
    color: var(--gold-dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.section-label {
    display: inline-block;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.welcome-inner h1 {
    font-size: clamp(42px, 7vw, 68px);
    line-height: 1.15;
    margin-bottom: 28px;
    color: var(--charcoal);
}

.welcome-inner p {
    font-size: 19px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 165, 116, 0.4);
}

/* Principles */
.principles {
    padding: 100px 28px;
    background: var(--charcoal);
}

.principles-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.principle {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.principle-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
}

.principle h3 {
    font-size: 26px;
    color: white;
    margin-bottom: 14px;
}

.principle p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Showcase */
.showcase {
    padding: 100px 28px;
}

.showcase-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.showcase-header {
    text-align: center;
    margin-bottom: 48px;
}

.showcase-header h2 {
    font-size: 42px;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.showcase-header p {
    color: var(--text-light);
    font-size: 18px;
}

.game-display {
    aspect-ratio: 16/10;
    border: 3px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.game-display iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Story Section */
.story-section {
    padding: 100px 28px;
    background: var(--cream-dark);
}

.story-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.story-text h2 {
    font-size: 38px;
    color: var(--charcoal);
    margin-bottom: 24px;
}

.story-text p {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.9;
}

.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight {
    background: var(--cream);
    padding: 28px;
    border-radius: 4px;
    border-left: 3px solid var(--gold);
}

.highlight-icon {
    color: var(--gold);
    font-size: 20px;
    display: block;
    margin-bottom: 12px;
}

.highlight h4 {
    font-size: 20px;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.highlight p {
    color: var(--text-light);
    font-size: 15px;
}

/* Extras */
.extras {
    padding: 80px 28px;
}

.extras-row {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.extra-card {
    background: var(--cream-dark);
    padding: 36px;
    border-radius: 4px;
}

.extra-card h3 {
    font-size: 22px;
    color: var(--charcoal);
    margin-bottom: 14px;
}

.extra-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Play Page */
.play-page {
    padding-top: 90px;
}

.play-intro {
    padding: 60px 28px 40px;
    text-align: center;
}

.play-intro h1 {
    font-size: 48px;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.play-intro p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 550px;
    margin: 0 auto;
}

.play-stage {
    padding: 28px;
}

.stage-frame {
    max-width: 1100px;
    margin: 0 auto;
    aspect-ratio: 16/10;
    border: 3px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.stage-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.play-guidance {
    padding: 60px 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.guidance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.guidance-card {
    background: var(--cream-dark);
    padding: 28px;
    border-radius: 4px;
}

.guidance-card h3 {
    font-size: 20px;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.guidance-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

.play-reminder {
    padding: 28px 28px 80px;
    max-width: 700px;
    margin: 0 auto;
}

.reminder-content {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15) 0%, rgba(196, 139, 89, 0.15) 100%);
    border: 1px solid var(--gold);
    border-radius: 4px;
    padding: 36px;
    text-align: center;
}

.reminder-content h3 {
    color: var(--gold-dark);
    font-size: 24px;
    margin-bottom: 12px;
}

.reminder-content p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Legal Pages */
.legal-page {
    padding: 140px 28px 80px;
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 48px;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.legal-date {
    color: var(--text-light);
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section.featured {
    background: var(--cream-dark);
    padding: 32px;
    border-radius: 4px;
    border-left: 4px solid var(--gold);
}

.legal-section h2 {
    font-size: 26px;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 14px;
}

.legal-section ul {
    color: var(--text-light);
    margin-left: 24px;
    line-height: 2;
}

/* Footer */
.site-footer {
    background: var(--charcoal);
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: white;
    display: block;
    margin-bottom: 16px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.7;
}

.footer-menu h4, .footer-resources h4 {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
}

.footer-menu a, .footer-resources a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 8px 0;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-menu a:hover, .footer-resources a:hover {
    color: var(--gold);
}

.footer-base {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 28px;
    text-align: center;
}

.footer-base p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .top-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        display: none;
        border-bottom: 1px solid var(--cream-dark);
    }

    .top-nav.open {
        display: flex;
    }

    .top-nav a {
        padding: 14px 16px;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .game-display, .stage-frame {
        aspect-ratio: 4/3;
    }

    .age-box {
        padding: 40px 28px;
    }
}
