@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Nunito:wght@400;600;700&display=swap');

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

:root {
    --emerald-dark: #064e3b;
    --emerald-mid: #059669;
    --emerald-light: #10b981;
    --gold: #fbbf24;
    --cream: #fef3c7;
    --black: #0c1f1a;
    --white: #ffffff;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(180deg, var(--black) 0%, #0f2922 100%);
    color: var(--cream);
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Righteous', cursive;
}

a {
    color: var(--gold);
    text-decoration: none;
}

/* Navigation */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(12, 31, 26, 0.97);
    z-index: 999;
    border-bottom: 2px solid var(--emerald-mid);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

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

.brand svg {
    width: 44px;
    height: 44px;
}

.brand-name {
    font-family: 'Righteous', cursive;
    font-size: 1.6rem;
    color: var(--emerald-light);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--gold);
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--cream);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--emerald-mid);
    color: var(--white);
}

/* Banner */
.main-banner {
    padding: 9rem 2rem 4rem;
    background: radial-gradient(circle at 50% 0%, rgba(5, 150, 105, 0.25) 0%, transparent 50%);
}

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

.banner-content h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--emerald-light);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.banner-text {
    font-size: 1.15rem;
    color: rgba(254, 243, 199, 0.85);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Alert Boxes */
.alert-section {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.alert-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.alert-box {
    flex: 1 1 300px;
    max-width: 400px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2) 0%, rgba(6, 78, 59, 0.4) 100%);
    border: 1px solid var(--emerald-mid);
    border-radius: 12px;
    padding: 1.8rem;
    text-align: center;
}

.alert-box .emoji {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 0.8rem;
}

.alert-box h3 {
    color: var(--gold);
    margin-bottom: 0.7rem;
    font-size: 1.3rem;
}

.alert-box p {
    color: rgba(254, 243, 199, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Game Area */
.game-container {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-card {
    background: var(--black);
    border: 3px solid var(--emerald-mid);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
}

.game-embed {
    width: 100%;
    height: 580px;
    border: none;
}

/* Features */
.features-area {
    padding: 4rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.features-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--emerald-light);
    margin-bottom: 2.5rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: rgba(6, 78, 59, 0.3);
    padding: 1.8rem;
    border-radius: 10px;
    border-left: 4px solid var(--gold);
}

.feature-item h3 {
    color: var(--gold);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: rgba(254, 243, 199, 0.75);
    line-height: 1.7;
}

/* Page Header */
.page-header {
    padding: 8rem 2rem 2rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(5, 150, 105, 0.15) 0%, transparent 60%);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--emerald-light);
}

/* Article Content */
.article-body {
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

.article-body h2 {
    color: var(--gold);
    margin: 2rem 0 0.8rem;
    font-size: 1.5rem;
}

.article-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: rgba(254, 243, 199, 0.85);
}

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

.article-body li {
    margin-bottom: 0.5rem;
    color: rgba(254, 243, 199, 0.8);
}

/* Game Info */
.game-info {
    background: rgba(6, 78, 59, 0.4);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.game-info h3 {
    color: var(--emerald-light);
    margin-bottom: 0.8rem;
}

.game-info p {
    margin-bottom: 0.8rem;
}

/* Footer */
.main-footer {
    background: rgba(6, 78, 59, 0.3);
    border-top: 2px solid var(--emerald-mid);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

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

.footer-resources a {
    font-weight: 700;
}

.footer-text {
    color: rgba(254, 243, 199, 0.5);
    font-size: 0.85rem;
}

/* Age Gate */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(12, 31, 26, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-gate.closed {
    display: none;
}

.age-gate-box {
    background: linear-gradient(145deg, var(--emerald-dark), var(--black));
    border: 2px solid var(--emerald-mid);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 440px;
    margin: 1rem;
    text-align: center;
}

.age-gate-box h2 {
    color: var(--emerald-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.age-gate-box p {
    margin-bottom: 1.5rem;
    color: rgba(254, 243, 199, 0.85);
}

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

.btn-confirm {
    background: linear-gradient(135deg, var(--emerald-mid), var(--emerald-light));
    color: var(--white);
    border: none;
    padding: 0.9rem 2rem;
    font-family: 'Righteous', cursive;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-deny {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.9rem 2rem;
    font-family: 'Righteous', cursive;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-confirm:hover, .btn-deny:hover {
    transform: scale(1.05);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--black);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.open {
        max-height: 300px;
        padding: 1rem;
        border-bottom: 2px solid var(--emerald-mid);
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem;
    }

    .main-banner {
        padding: 7rem 1.5rem 3rem;
    }

    .game-embed {
        height: 380px;
    }

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

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