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

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

:root {
    --teal: #14B8A6;
    --sky: #0EA5E9;
    --sand: #F5E6D3;
    --bg-main: #0A1A1F;
    --bg-panel: #0F252C;
    --bg-light: #153640;
    --text-main: #E8F5F3;
    --text-dim: #8BB5AE;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.75;
}

h1, h2, h3 {
    font-family: 'Abril Fatface', cursive;
    font-weight: 400;
}

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

a:hover {
    color: var(--sky);
}

/* Header Bar */
.header-bar {
    background: rgba(10,26,31,0.95);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(20,184,166,0.15);
}

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

.brand-name {
    font-family: 'Abril Fatface', cursive;
    font-size: 1.9rem;
    color: var(--teal);
}

.nav-row {
    display: flex;
    gap: 2.5rem;
}

.nav-row a {
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-row a:hover {
    color: var(--teal);
}

.hamburger-icon {
    display: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-icon div {
    width: 26px;
    height: 3px;
    background: var(--teal);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-panel);
    flex-direction: column;
    padding: 1rem;
}

.mobile-drawer.show {
    display: flex;
}

.mobile-drawer a {
    color: var(--text-main);
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(20,184,166,0.1);
}

/* Main */
main {
    padding-top: 72px;
}

/* Intro Section */
.intro-section {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    background: linear-gradient(160deg, var(--bg-main) 0%, var(--bg-panel) 100%);
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20,184,166,0.1), transparent 60%);
    top: -200px;
    right: -200px;
}

.intro-content {
    text-align: center;
    max-width: 850px;
    position: relative;
    z-index: 1;
}

.intro-content h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: var(--sand);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.intro-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
}

.intro-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-teal {
    background: linear-gradient(135deg, var(--teal), var(--sky));
    color: var(--bg-main);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(20,184,166,0.35);
}

.btn-teal:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(20,184,166,0.5);
    color: var(--bg-main);
}

.btn-outline-teal {
    background: transparent;
    color: var(--teal);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border: 2px solid var(--teal);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline-teal:hover {
    background: var(--teal);
    color: var(--bg-main);
}

/* Features Strip */
.features-strip {
    display: flex;
    flex-wrap: wrap;
    background: var(--bg-panel);
}

.feature-box {
    flex: 1;
    min-width: 280px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    border-right: 1px solid rgba(20,184,166,0.1);
}

.feature-box:last-child {
    border-right: none;
}

.feature-emoji {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-size: 1.5rem;
    color: var(--sand);
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Game Stage */
.game-stage {
    padding: 5rem 2rem;
    background: var(--bg-main);
}

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

.stage-header h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--sand);
    margin-bottom: 0.5rem;
}

.stage-header p {
    color: var(--text-dim);
}

.game-viewport {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-panel);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(20,184,166,0.25);
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

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

/* Story Section */
.story-section {
    padding: 5rem 2rem;
    background: var(--bg-panel);
}

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

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

.story-content p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
    background: var(--bg-main);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(20,184,166,0.15);
}

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

.footer-name {
    font-family: 'Abril Fatface', cursive;
    font-size: 1.7rem;
    color: var(--teal);
    margin-bottom: 2rem;
}

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

.footer-nav a {
    color: var(--text-dim);
}

.footer-nav a:hover {
    color: var(--teal);
}

.responsible-area {
    padding-top: 2rem;
    border-top: 1px solid rgba(20,184,166,0.1);
}

.responsible-area h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.responsible-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.responsible-row a {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-legal {
    margin-top: 2rem;
    color: var(--text-dim);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Age Overlay */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,26,31,0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 2rem;
}

.age-overlay.hidden {
    display: none;
}

.age-box {
    background: var(--bg-panel);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--teal);
    box-shadow: 0 0 50px rgba(20,184,166,0.2);
}

.age-box h2 {
    font-size: 2rem;
    color: var(--sand);
    margin-bottom: 1.5rem;
}

.age-box p {
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-yes-btn {
    background: linear-gradient(135deg, var(--teal), var(--sky));
    color: var(--bg-main);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.age-yes-btn:hover {
    transform: scale(1.05);
}

.age-no-btn {
    background: transparent;
    color: var(--text-dim);
    padding: 1rem 2.5rem;
    font-weight: 700;
    border: 2px solid var(--text-dim);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.age-no-btn:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

/* Page Layout */
.page-banner {
    padding: 9rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-panel), var(--bg-main));
}

.page-banner h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--sand);
    margin-bottom: 0.5rem;
}

.page-banner p {
    color: var(--text-dim);
}

.page-text {
    max-width: 950px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-text h2 {
    font-size: 2rem;
    color: var(--sand);
    margin: 2.5rem 0 1rem;
}

.page-text h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--teal);
    margin: 2rem 0 0.8rem;
}

.page-text p {
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.page-text ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.page-text li {
    color: var(--text-dim);
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    position: relative;
}

.page-text li::before {
    content: '▪';
    color: var(--teal);
    position: absolute;
    left: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-row {
        display: none;
    }
    
    .hamburger-icon {
        display: block;
    }
    
    .intro-section {
        padding: 3rem 1.5rem;
    }
    
    .features-strip {
        flex-direction: column;
    }
    
    .feature-box {
        border-right: none;
        border-bottom: 1px solid rgba(20,184,166,0.1);
    }
    
    .game-viewport iframe {
        height: 500px;
    }
    
    .age-box {
        padding: 2rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .responsible-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}
