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

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

:root {
    --emerald: #10b981;
    --emerald-light: #34d399;
    --emerald-dark: #059669;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-100: #f1f5f9;
    --slate-300: #cbd5e1;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--slate-900);
    color: var(--slate-100);
    line-height: 1.65;
}

.navbar {
    background: rgba(15, 23, 42, 0.95);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--emerald);
}

.navbar-content {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--emerald);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.burger-menu span {
    width: 26px;
    height: 3px;
    background: var(--emerald);
    border-radius: 2px;
}

.nav-items {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-items a {
    color: var(--slate-300);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.25s;
}

.nav-items a:hover {
    background: var(--emerald);
    color: var(--slate-900);
}

.main-hero {
    padding: 9rem 2rem 4rem;
    background: linear-gradient(180deg, var(--slate-800) 0%, var(--slate-900) 100%);
    text-align: center;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.main-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--slate-100);
}

.main-hero h1 em {
    color: var(--emerald-light);
    font-style: normal;
}

.main-hero p {
    font-size: 1.15rem;
    color: var(--slate-300);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.alert-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.alert-tag {
    background: var(--slate-800);
    border: 2px solid var(--emerald-dark);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--emerald-light);
    font-size: 0.9rem;
}

.game-area {
    padding: 3rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.game-box {
    background: var(--slate-800);
    border-radius: 20px;
    padding: 1.2rem;
    border: 2px solid var(--emerald);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.1);
}

.game-box iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 14px;
    background: #000;
}

.info-blocks {
    padding: 4rem 2rem;
    background: var(--slate-800);
}

.info-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.info-blocks h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--emerald);
}

.info-blocks .subtitle {
    text-align: center;
    color: var(--slate-300);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: var(--slate-900);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--emerald);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateX(5px);
}

.info-card h3 {
    color: var(--emerald-light);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.info-card p {
    color: var(--slate-300);
    font-size: 0.95rem;
}

.site-footer {
    background: #0a0f1c;
    padding: 3rem 2rem;
    border-top: 2px solid var(--slate-700);
}

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

.footer-inner h4 {
    color: var(--emerald);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.resource-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.resource-links a {
    color: var(--slate-300);
    text-decoration: none;
    transition: color 0.3s;
}

.resource-links a:hover {
    color: var(--emerald-light);
}

.footer-text {
    color: var(--slate-300);
    font-size: 0.85rem;
    opacity: 0.8;
}

.content-area {
    max-width: 950px;
    margin: 0 auto;
    padding: 7rem 2rem 4rem;
}

.content-area h1 {
    font-size: 2.5rem;
    color: var(--emerald);
    margin-bottom: 1.5rem;
}

.content-area h2 {
    font-size: 1.5rem;
    color: var(--emerald-light);
    margin: 2rem 0 1rem;
}

.content-area p {
    color: var(--slate-300);
    margin-bottom: 1.2rem;
}

.content-area ul {
    color: var(--slate-300);
    margin: 0 0 1.5rem 1.8rem;
}

.content-area li {
    margin-bottom: 0.5rem;
}

.play-intro {
    text-align: center;
    padding: 7rem 2rem 2rem;
}

.play-intro h1 {
    font-size: 2.3rem;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.play-intro p {
    color: var(--slate-300);
    max-width: 650px;
    margin: 0 auto;
}

.age-screen {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 28, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-panel {
    background: var(--slate-800);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 450px;
    text-align: center;
    border: 2px solid var(--emerald);
}

.age-panel h2 {
    color: var(--emerald);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.age-panel p {
    color: var(--slate-300);
    margin-bottom: 1rem;
}

.age-panel .strong-text {
    color: var(--slate-100);
    font-weight: 700;
}

.age-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-accept, .btn-decline {
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-accept {
    background: var(--emerald);
    color: var(--slate-900);
    border: none;
}

.btn-accept:hover {
    background: var(--emerald-light);
}

.btn-decline {
    background: transparent;
    color: var(--slate-100);
    border: 2px solid var(--emerald-dark);
}

.btn-decline:hover {
    background: rgba(16, 185, 129, 0.1);
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-items {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--slate-800);
        flex-direction: column;
        padding: 1rem;
        display: none;
        border-bottom: 2px solid var(--emerald);
    }

    .nav-items.show {
        display: flex;
    }

    .nav-items a {
        padding: 1rem;
        border-radius: 0;
    }

    .main-hero h1 {
        font-size: 1.9rem;
    }

    .game-box iframe {
        height: 400px;
    }

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

    .age-panel {
        margin: 1rem;
        padding: 1.5rem;
    }

    .age-actions {
        flex-direction: column;
    }
}
