@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Poiret+One&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --cos-dark: #080818;
    --cos-deep: #10102a;
    --cos-mid: #1a1a40;
    --cos-rose: #ff4d6d;
    --cos-coral: #ff758f;
    --cos-light: #fff0f3;
    --cos-teal: #00cec9;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--cos-dark);
    color: var(--cos-light);
    min-height: 100vh;
    line-height: 1.7;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 8, 24, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 77, 109, 0.3);
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    max-width: 1700px;
    margin: 0 auto;
}

.logo {
    font-family: 'Poiret One', sans-serif;
    font-size: 2.4rem;
    color: var(--cos-rose);
    text-decoration: none;
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--cos-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--cos-rose); }

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--cos-rose);
    transition: 0.3s;
}

.hamburger.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

.main-content { padding-top: 80px; }

.cosmic-hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at 30% 30%, rgba(255, 77, 109, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 70%, rgba(0, 206, 201, 0.1) 0%, transparent 50%),
                var(--cos-dark);
}

.hero-content { max-width: 800px; }

.hero-content h1 {
    font-family: 'Poiret One', sans-serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--cos-rose) 0%, var(--cos-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .desc {
    font-size: 1.2rem;
    color: rgba(255, 240, 243, 0.8);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--cos-rose), var(--cos-coral));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 77, 109, 0.5);
}

.badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 77, 109, 0.15);
    border: 1px solid var(--cos-rose);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--cos-coral);
}

.game-section {
    padding: 5rem 2rem;
    background: var(--cos-deep);
}

.section-title {
    font-family: 'Poiret One', sans-serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--cos-teal);
}

.game-box {
    max-width: 920px;
    margin: 0 auto;
    background: var(--cos-dark);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 77, 109, 0.2);
}

.game-box iframe {
    width: 100%;
    height: 560px;
    border: none;
    border-radius: 10px;
}

.features-section {
    padding: 6rem 2rem;
    background: var(--cos-dark);
}

.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: linear-gradient(145deg, var(--cos-deep), var(--cos-mid));
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 77, 109, 0.15);
    transition: transform 0.3s;
}

.feature-item:hover { transform: translateY(-8px); }

.feature-item .icon { font-size: 2.5rem; margin-bottom: 1rem; }

.feature-item h3 {
    font-family: 'Poiret One', sans-serif;
    font-size: 1.4rem;
    color: var(--cos-rose);
    margin-bottom: 1rem;
}

.feature-item p {
    color: rgba(255, 240, 243, 0.75);
    font-size: 0.95rem;
}

.about-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--cos-deep) 0%, var(--cos-dark) 100%);
}

.about-wrap {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-wrap h2 {
    font-family: 'Poiret One', sans-serif;
    font-size: 2rem;
    color: var(--cos-coral);
    margin-bottom: 2rem;
}

.about-wrap p {
    font-size: 1.1rem;
    color: rgba(255, 240, 243, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.site-footer {
    background: var(--cos-dark);
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255, 77, 109, 0.2);
}

.footer-wrap {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Poiret One', sans-serif;
    font-size: 2rem;
    color: var(--cos-rose);
    margin-bottom: 2rem;
}

.help-section h4 {
    font-size: 0.9rem;
    color: var(--cos-teal);
    margin-bottom: 1rem;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.help-links a {
    color: rgba(255, 240, 243, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.help-links a:hover { color: var(--cos-rose); }

.footer-text {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 77, 109, 0.15);
    font-size: 0.85rem;
    color: rgba(255, 240, 243, 0.5);
}

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 24, 0.98);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.age-modal.hidden { display: none; }

.age-content {
    background: linear-gradient(145deg, var(--cos-deep), var(--cos-mid));
    padding: 3.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 480px;
    border: 1px solid var(--cos-rose);
}

.age-content h2 {
    font-family: 'Poiret One', sans-serif;
    font-size: 2rem;
    color: var(--cos-rose);
    margin-bottom: 1.5rem;
}

.age-content p {
    color: rgba(255, 240, 243, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    border-radius: 50px;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--cos-rose), var(--cos-coral));
    color: #fff;
}

.age-btn.no {
    background: transparent;
    border: 1px solid var(--cos-light);
    color: var(--cos-light);
}

.age-btn:hover { transform: scale(1.05); }

.inner-page {
    padding: 6rem 2rem 4rem;
    min-height: calc(100vh - 200px);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--cos-deep);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 77, 109, 0.15);
}

.page-content h1 {
    font-family: 'Poiret One', sans-serif;
    font-size: 2.5rem;
    color: var(--cos-rose);
    margin-bottom: 2rem;
}

.page-content h2 {
    font-family: 'Poiret One', sans-serif;
    font-size: 1.4rem;
    color: var(--cos-teal);
    margin: 2.5rem 0 1rem;
}

.page-content p {
    color: rgba(255, 240, 243, 0.85);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.page-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: rgba(255, 240, 243, 0.85);
}

.page-content li { margin-bottom: 0.6rem; }

.info-box {
    background: rgba(255, 77, 109, 0.1);
    border-left: 4px solid var(--cos-rose);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-bottom: 2rem;
}

@media (max-width: 968px) {
    .features-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(8, 8, 24, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .nav-links.active { transform: translateX(0); }
    .header-wrap { padding: 1rem 1.5rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .badges { flex-direction: column; align-items: center; }
    .features-row { grid-template-columns: 1fr; }
    .game-section, .features-section, .about-section, .site-footer, .inner-page { padding: 3rem 1.5rem; }
    .page-content { padding: 2rem 1.5rem; }
    .game-box iframe { height: 400px; }
}
