@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=Staatliches&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --stell-void: #030312;
    --stell-deep: #0a0a25;
    --stell-mid: #141440;
    --stell-gold: #ffd700;
    --stell-amber: #ffb700;
    --stell-white: #f5f5ff;
    --stell-purple: #8b5cf6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sora', sans-serif;
    background: var(--stell-void);
    color: var(--stell-white);
    min-height: 100vh;
    line-height: 1.7;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.5), transparent),
                      radial-gradient(1px 1px at 150px 80px, rgba(255,215,0,0.4), transparent),
                      radial-gradient(1px 1px at 300px 150px, rgba(255,255,255,0.6), transparent);
    background-size: 400px 300px;
    pointer-events: none;
    z-index: 0;
}

.header-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 3, 18, 0.95);
    border-bottom: 2px solid var(--stell-gold);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    max-width: 1700px;
    margin: 0 auto;
}

.site-brand {
    font-family: 'Staatliches', sans-serif;
    font-size: 2.2rem;
    color: var(--stell-gold);
    text-decoration: none;
    letter-spacing: 4px;
}

.main-menu {
    display: flex;
    gap: 2.5rem;
}

.main-menu a {
    color: var(--stell-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.main-menu a:hover {
    color: var(--stell-gold);
}

.mobile-btn {
    display: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.mobile-btn span {
    width: 26px;
    height: 2px;
    background: var(--stell-gold);
    transition: 0.3s;
}

.mobile-btn.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.mobile-btn.active span:nth-child(2) { opacity: 0; }
.mobile-btn.active span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

.main-section {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.star-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at center, var(--stell-mid) 0%, var(--stell-void) 70%);
}

.hero-block {
    max-width: 850px;
}

.hero-block h1 {
    font-family: 'Staatliches', sans-serif;
    font-size: 4rem;
    color: var(--stell-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.hero-block .tagline {
    font-size: 1.2rem;
    color: rgba(245, 245, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.gold-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--stell-gold), var(--stell-amber));
    color: var(--stell-void);
    text-decoration: none;
    font-family: 'Staatliches', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.gold-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.badges-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--stell-gold);
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    color: var(--stell-gold);
}

.game-area {
    padding: 5rem 2rem;
    background: var(--stell-deep);
}

.area-heading {
    font-family: 'Staatliches', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--stell-gold);
    letter-spacing: 3px;
}

.game-wrapper {
    max-width: 920px;
    margin: 0 auto;
    background: var(--stell-void);
    padding: 1.5rem;
    border: 2px solid var(--stell-gold);
}

.game-wrapper iframe {
    width: 100%;
    height: 550px;
    border: none;
}

.features-area {
    padding: 6rem 2rem;
    background: var(--stell-void);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--stell-deep);
    padding: 2.5rem;
    text-align: center;
    border-bottom: 3px solid var(--stell-gold);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card .symbol {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Staatliches', sans-serif;
    font-size: 1.3rem;
    color: var(--stell-gold);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.feature-card p {
    color: rgba(245, 245, 255, 0.75);
    font-size: 0.95rem;
}

.story-area {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--stell-deep) 0%, var(--stell-void) 100%);
}

.story-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story-wrapper h2 {
    font-family: 'Staatliches', sans-serif;
    font-size: 2rem;
    color: var(--stell-amber);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.story-wrapper p {
    font-size: 1.1rem;
    color: rgba(245, 245, 255, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.footer-bar {
    background: var(--stell-void);
    padding: 4rem 2rem;
    border-top: 2px solid var(--stell-gold);
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-family: 'Staatliches', sans-serif;
    font-size: 1.8rem;
    color: var(--stell-gold);
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.help-area h4 {
    font-size: 0.9rem;
    color: var(--stell-amber);
    margin-bottom: 1rem;
}

.help-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.help-row a {
    color: rgba(245, 245, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.help-row a:hover {
    color: var(--stell-gold);
}

.footer-note {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 0.85rem;
    color: rgba(245, 245, 255, 0.5);
}

.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 18, 0.98);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.age-overlay.hidden {
    display: none;
}

.age-card {
    background: var(--stell-deep);
    padding: 3.5rem;
    text-align: center;
    max-width: 480px;
    border: 2px solid var(--stell-gold);
}

.age-card h2 {
    font-family: 'Staatliches', sans-serif;
    font-size: 2rem;
    color: var(--stell-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.age-card p {
    color: rgba(245, 245, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.age-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    font-family: 'Staatliches', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--stell-gold), var(--stell-amber));
    color: var(--stell-void);
}

.age-btn.no {
    background: transparent;
    border: 1px solid var(--stell-white);
    color: var(--stell-white);
}

.age-btn:hover {
    transform: scale(1.05);
}

.content-page {
    padding: 6rem 2rem 4rem;
    min-height: calc(100vh - 200px);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--stell-deep);
    padding: 3rem;
    border-left: 4px solid var(--stell-gold);
}

.content-container h1 {
    font-family: 'Staatliches', sans-serif;
    font-size: 2.5rem;
    color: var(--stell-gold);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.content-container h2 {
    font-family: 'Staatliches', sans-serif;
    font-size: 1.4rem;
    color: var(--stell-amber);
    margin: 2.5rem 0 1rem;
    letter-spacing: 1px;
}

.content-container p {
    color: rgba(245, 245, 255, 0.85);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-container ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: rgba(245, 245, 255, 0.85);
}

.content-container li {
    margin-bottom: 0.6rem;
}

.guide-note {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--stell-gold);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-btn {
        display: flex;
    }

    .main-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(3, 3, 18, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .main-menu.active {
        transform: translateX(0);
    }

    .header-inner {
        padding: 1rem 1.5rem;
    }

    .hero-block h1 {
        font-size: 2.5rem;
    }

    .badges-row {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-area, .features-area, .story-area, .footer-bar, .content-page {
        padding: 3rem 1.5rem;
    }

    .content-container {
        padding: 2rem 1.5rem;
    }

    .game-wrapper iframe {
        height: 400px;
    }
}
