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

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

:root {
    --mint: #00d4aa;
    --lavender: #7c3aed;
    --charcoal: #18181b;
    --slate: #27272a;
    --pearl: #fafafa;
    --rose: #f43f5e;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--charcoal);
    color: var(--pearl);
    line-height: 1.7;
}

.navbar {
    background: rgba(24, 24, 27, 0.9);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.brand-logo svg {
    width: 40px;
    height: 40px;
}

.brand-title {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--mint), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.nav-items a {
    color: var(--pearl);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: 0.25s;
}

.nav-items a:hover {
    background: var(--lavender);
}

.page-body {
    padding-top: 80px;
}

.welcome-section {
    background: linear-gradient(135deg, var(--lavender) 0%, var(--charcoal) 60%);
    padding: 5rem 1.5rem;
    text-align: center;
}

.welcome-section h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.welcome-section h1 span {
    color: var(--mint);
}

.welcome-section .intro {
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    font-weight: 300;
}

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

.tag {
    background: rgba(0, 212, 170, 0.2);
    border: 1px solid var(--mint);
    color: var(--mint);
    padding: 0.6rem 1.25rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
}

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

.area-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--mint);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.game-box {
    background: var(--slate);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.game-embed {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 3rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: var(--slate);
    padding: 1.75rem;
    border-radius: 12px;
    border-left: 4px solid var(--lavender);
    transition: transform 0.25s;
}

.card:hover {
    transform: translateY(-4px);
}

.card h3 {
    color: var(--mint);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.card p {
    font-weight: 300;
    opacity: 0.85;
}

.content-section {
    background: var(--slate);
    margin: 2rem 1.5rem;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.content-section h2 {
    color: var(--mint);
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1rem;
    font-weight: 300;
}

.content-section ul {
    margin: 1.25rem 0 1.25rem 1.5rem;
    font-weight: 300;
}

.content-section li {
    margin-bottom: 0.6rem;
}

.page-heading {
    background: linear-gradient(135deg, var(--lavender), var(--slate));
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.page-heading h1 {
    font-size: 2.25rem;
    font-weight: 700;
}

.site-footer {
    background: var(--slate);
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin-top: 3rem;
}

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

.footer-menu a {
    color: var(--mint);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    text-decoration: underline;
}

.footer-copy {
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

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

.help-links a {
    color: var(--pearl);
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.5;
}

.help-links a:hover {
    opacity: 1;
}

.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(24, 24, 27, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

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

.modal-card {
    background: var(--slate);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 450px;
    text-align: center;
    border: 2px solid var(--mint);
    margin: 1rem;
}

.modal-card h2 {
    color: var(--mint);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.modal-card p {
    margin-bottom: 1.75rem;
    font-weight: 300;
}

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

.modal-btn {
    padding: 0.85rem 2rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s;
}

.modal-accept {
    background: linear-gradient(135deg, var(--mint), var(--lavender));
    color: var(--charcoal);
}

.modal-accept:hover {
    transform: scale(1.03);
}

.modal-decline {
    background: transparent;
    border: 2px solid var(--mint);
    color: var(--mint);
}

.modal-decline:hover {
    background: var(--mint);
    color: var(--charcoal);
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }
    
    .nav-items {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--slate);
        flex-direction: column;
        padding: 1rem;
        display: none;
    }
    
    .nav-items.open {
        display: flex;
    }
    
    .nav-items a {
        text-align: center;
        padding: 1rem;
    }
    
    .welcome-section {
        padding: 3rem 1rem;
    }
    
    .tags-row {
        flex-direction: column;
        align-items: center;
    }
    
    .content-section {
        margin: 2rem 1rem;
        padding: 1.75rem;
    }
    
    .modal-card {
        padding: 2rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}
