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

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

:root {
    --stellar-gold: #f59e0b;
    --stellar-amber: #d97706;
    --cosmic-black: #0c0a09;
    --deep-space: #1c1917;
    --warm-stone: #292524;
    --star-white: #fef3c7;
    --light-cream: #fef9e9;
}

body { font-family: 'Lora', serif; background: var(--light-cream); color: var(--cosmic-black); line-height: 1.8; }

.stellar-notice { background: linear-gradient(90deg, var(--stellar-amber), var(--stellar-gold), var(--stellar-amber)); padding: 10px; text-align: center; font-weight: 600; color: var(--cosmic-black); }

header { background: var(--cosmic-black); padding: 20px 30px; position: sticky; top: 0; z-index: 1000; }

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

.stellar-logo { font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 800; color: var(--stellar-gold); text-decoration: none; letter-spacing: 3px; }

.mobile-btn { display: none; background: none; border: 2px solid var(--stellar-gold); padding: 8px 10px; cursor: pointer; border-radius: 5px; }

.mobile-btn span { display: block; width: 22px; height: 2px; background: var(--stellar-gold); margin: 5px 0; transition: 0.3s; }

.mobile-btn.open span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.mobile-btn.open span:nth-child(2) { opacity: 0; }
.mobile-btn.open span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

.stellar-nav { display: flex; list-style: none; gap: 5px; }

.stellar-nav a { color: var(--star-white); text-decoration: none; padding: 10px 22px; font-family: 'Montserrat', sans-serif; font-weight: 500; transition: 0.3s; }

.stellar-nav a:hover { color: var(--stellar-gold); }

.hero-stellar { padding: 100px 30px; background: linear-gradient(135deg, var(--cosmic-black) 0%, var(--deep-space) 50%, var(--warm-stone) 100%); text-align: center; }

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

.hero-inner h1 { font-family: 'Montserrat', sans-serif; font-size: 3.5rem; font-weight: 800; color: var(--stellar-gold); margin-bottom: 25px; letter-spacing: 2px; }

.hero-inner .lead { font-size: 1.2rem; color: var(--star-white); margin-bottom: 40px; }

.stellar-btn { display: inline-block; background: var(--stellar-gold); color: var(--cosmic-black); padding: 16px 45px; text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 700; border-radius: 5px; transition: 0.3s; }

.stellar-btn:hover { background: var(--stellar-amber); transform: translateY(-2px); }

.notice-flex { display: flex; justify-content: center; gap: 50px; margin-top: 60px; flex-wrap: wrap; }

.notice-star { text-align: center; color: var(--star-white); }

.notice-star .icon { font-size: 2.5rem; margin-bottom: 10px; }

.notice-star .text { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; }

.game-stellar { padding: 80px 30px; background: var(--light-cream); }

.section-title { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 50px; color: var(--cosmic-black); }

.game-frame-wrap { max-width: 1200px; margin: 0 auto; background: var(--cosmic-black); padding: 20px; border-radius: 15px; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2); }

.game-iframe { width: 100%; height: 620px; border: none; border-radius: 10px; }

.features-stellar { padding: 100px 30px; background: var(--deep-space); }

.features-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

.feature-box { background: var(--warm-stone); padding: 40px 30px; border-radius: 12px; text-align: center; border-top: 4px solid var(--stellar-gold); }

.feature-box .emoji { font-size: 3rem; margin-bottom: 20px; }

.feature-box h3 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--stellar-gold); margin-bottom: 15px; }

.feature-box p { color: var(--star-white); }

.about-stellar { padding: 80px 30px; background: var(--light-cream); text-align: center; }

.about-container { max-width: 850px; margin: 0 auto; }

.about-container h2 { font-family: 'Montserrat', sans-serif; font-size: 2rem; color: var(--cosmic-black); margin-bottom: 30px; }

.about-container p { color: var(--warm-stone); margin-bottom: 20px; }

footer { background: var(--cosmic-black); padding: 50px 30px; text-align: center; }

.footer-links { margin-bottom: 25px; }

.footer-links a { color: var(--stellar-gold); text-decoration: none; margin: 0 18px; font-weight: 500; transition: 0.3s; }

.footer-links a:hover { color: var(--star-white); }

.footer-copy { color: var(--star-white); opacity: 0.7; font-size: 0.9rem; }

.page-stellar { padding: 100px 30px 80px; background: var(--light-cream); min-height: 80vh; }

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

.page-inner h1 { font-family: 'Montserrat', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--cosmic-black); margin-bottom: 30px; }

.page-inner h2 { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; color: var(--stellar-amber); margin: 35px 0 15px; }

.page-inner p { color: var(--warm-stone); margin-bottom: 15px; }

.page-inner ul { margin: 15px 0 15px 30px; color: var(--warm-stone); }

.page-inner li { margin-bottom: 10px; }

.age-stellar { position: fixed; inset: 0; background: rgba(12, 10, 9, 0.97); z-index: 9999; display: flex; align-items: center; justify-content: center; }

.age-box { background: var(--deep-space); padding: 50px; border-radius: 15px; text-align: center; max-width: 480px; border: 3px solid var(--stellar-gold); }

.age-box h2 { font-family: 'Montserrat', sans-serif; font-size: 1.8rem; color: var(--stellar-gold); margin-bottom: 20px; }

.age-box p { color: var(--star-white); margin-bottom: 30px; }

.age-actions { display: flex; gap: 15px; justify-content: center; }

.age-yes, .age-no { padding: 14px 35px; font-size: 1rem; font-weight: 700; cursor: pointer; border: none; border-radius: 5px; transition: 0.3s; }

.age-yes { background: var(--stellar-gold); color: var(--cosmic-black); }
.age-yes:hover { background: var(--stellar-amber); }

.age-no { background: transparent; border: 2px solid var(--star-white); color: var(--star-white); }
.age-no:hover { background: var(--star-white); color: var(--cosmic-black); }

.hidden { display: none !important; }

@media (max-width: 768px) {
    .mobile-btn { display: block; }
    .stellar-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cosmic-black); flex-direction: column; padding: 20px; display: none; }
    .stellar-nav.active { display: flex; }
    .stellar-nav a { text-align: center; }
    .hero-inner h1 { font-size: 2.2rem; }
    .notice-flex { flex-direction: column; align-items: center; gap: 20px; }
    .game-iframe { height: 420px; }
    .age-box { margin: 20px; padding: 35px; }
    .age-actions { flex-direction: column; }
}
