@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Satisfy&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #20c997;
    --aqua: #17a2b8;
    --mint: #a8edea;
    --dark: #0d1b1a;
    --darker: #071211;
    --light: #f8f9fa;
    --muted: #adb5bd;
    --coral: #ff6b6b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.75;
}

h1, h2, h3, h4 {
    font-weight: 600;
}

.fancy-text {
    font-family: 'Satisfy', cursive;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

/* Navigation */
.nav-wrapper {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(13, 27, 26, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(32, 201, 151, 0.3);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--teal), var(--aqua));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Satisfy', cursive;
    font-size: 24px;
    color: var(--darker);
}

.brand-word {
    font-family: 'Satisfy', cursive;
    font-size: 1.8rem;
    color: var(--teal);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--light);
}

.nav-list a:hover {
    color: var(--teal);
}

.toggle-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.toggle-btn span {
    width: 26px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    background: radial-gradient(ellipse at center top, rgba(32, 201, 151, 0.08), transparent 50%),
                linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
    padding: 130px 2rem 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-box {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.hero-box h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.hero-box h1 span {
    color: var(--teal);
    font-family: 'Satisfy', cursive;
    font-size: 3.5rem;
}

.hero-para {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Info Pills */
.info-pills {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.pill {
    background: rgba(32, 201, 151, 0.12);
    border: 1px solid var(--teal);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.pill-icon {
    font-size: 1.2rem;
}

/* Game Section */
.game-section {
    max-width: 1150px;
    margin: 0 auto;
    width: 100%;
}

.game-card {
    background: linear-gradient(145deg, rgba(32, 201, 151, 0.08), rgba(23, 162, 184, 0.08));
    border: 2px solid rgba(32, 201, 151, 0.4);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.game-window {
    width: 100%;
    height: 530px;
    border: none;
    border-radius: 16px;
}

/* Features */
.features {
    padding: 6rem 2rem;
    background: var(--dark);
}

.features-box {
    max-width: 1200px;
    margin: 0 auto;
}

.features-head {
    text-align: center;
    margin-bottom: 4rem;
}

.features-head h2 {
    font-size: 2.5rem;
    color: var(--light);
}

.features-head h2 span {
    color: var(--teal);
    font-family: 'Satisfy', cursive;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-tile {
    background: rgba(32, 201, 151, 0.05);
    border: 1px solid rgba(32, 201, 151, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s;
}

.feature-tile:hover {
    border-color: var(--teal);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(32, 201, 151, 0.15);
}

.feature-emoji {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-tile h3 {
    color: var(--teal);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-tile p {
    color: var(--muted);
    line-height: 1.7;
}

/* About */
.about {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--darker), var(--dark));
}

.about-box {
    max-width: 900px;
    margin: 0 auto;
}

.about-item {
    background: rgba(32, 201, 151, 0.06);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--teal);
}

.about-item h3 {
    color: var(--teal);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.about-item p {
    color: var(--muted);
}

/* Footer */
.footer {
    background: var(--darker);
    border-top: 1px solid rgba(32, 201, 151, 0.2);
    padding: 3.5rem 2rem;
}

.footer-box {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--light);
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--teal);
}

.responsible {
    padding-top: 2rem;
    border-top: 1px solid rgba(32, 201, 151, 0.15);
}

.responsible p {
    color: var(--muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.responsible-urls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.responsible-urls a {
    color: var(--coral);
    font-size: 0.9rem;
}

.footer-copy {
    margin-top: 2rem;
    color: rgba(248, 249, 250, 0.4);
    font-size: 0.85rem;
}

/* Age Overlay */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 18, 17, 0.98);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.age-box {
    background: linear-gradient(145deg, var(--dark), var(--darker));
    border: 2px solid var(--teal);
    border-radius: 24px;
    padding: 3rem;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 0 60px rgba(32, 201, 151, 0.2);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.age-box h2 {
    font-size: 1.8rem;
    color: var(--teal);
    margin-bottom: 1rem;
}

.age-box p {
    color: var(--muted);
    margin-bottom: 2rem;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--teal), var(--aqua));
    color: var(--darker);
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(32, 201, 151, 0.4);
}

.btn-leave {
    background: transparent;
    border: 2px solid var(--muted);
    color: var(--muted);
}

.btn-leave:hover {
    background: var(--muted);
    color: var(--darker);
}

.hidden {
    display: none !important;
}

/* Pages */
.page-content {
    padding: 130px 2rem 5rem;
    max-width: 900px;
    margin: 0 auto;
    min-height: calc(100vh - 200px);
}

.page-content h1 {
    font-size: 2.5rem;
    color: var(--teal);
    margin-bottom: 2rem;
}

.page-content h2 {
    font-size: 1.4rem;
    color: var(--teal);
    margin: 2.5rem 0 1rem;
}

.page-content p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.page-content ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--muted);
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Play Page */
.play-page {
    padding: 130px 2rem 5rem;
    background: var(--dark);
    min-height: 100vh;
}

.play-box {
    max-width: 1250px;
    margin: 0 auto;
}

.play-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.play-head h1 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 1rem;
}

.play-head h1 span {
    color: var(--teal);
    font-family: 'Satisfy', cursive;
}

.play-head p {
    color: var(--muted);
    font-size: 1.1rem;
}

.play-tips {
    background: rgba(32, 201, 151, 0.1);
    border: 1px solid var(--teal);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.play-tips h3 {
    color: var(--teal);
    margin-bottom: 1rem;
}

.play-tips p {
    color: var(--muted);
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 78px;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s;
        border-bottom: 1px solid rgba(32, 201, 151, 0.3);
    }

    .nav-list.active {
        transform: translateY(0);
    }

    .toggle-btn {
        display: flex;
    }

    .toggle-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .toggle-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .toggle-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-box h1 {
        font-size: 2rem;
    }

    .hero-box h1 span {
        font-size: 2.5rem;
    }

    .info-pills {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-window {
        height: 380px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .age-btns {
        flex-direction: column;
    }

    .age-box {
        padding: 2rem;
    }

    .page-content h1 {
        font-size: 2rem;
    }
}
