@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root { --primary: #6366f1; --secondary: #ec4899; --dark: #0f0f10; --card: #1a1a1c; --text: #e5e5e5; --muted: #71717a; }

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Inter', sans-serif; background: var(--dark); color: var(--text); line-height: 1.7; }

header { position: fixed; top: 0; width: 100%; background: rgba(15, 15, 16, 0.95); z-index: 1000; border-bottom: 1px solid var(--primary); }

.header-wrap { max-width: 1400px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.8rem; font-weight: 700; color: var(--primary); text-decoration: none; }

nav.desktop { display: flex; gap: 2rem; }

nav.desktop a { color: var(--text); text-decoration: none; font-weight: 500; transition: color 0.3s; }

nav.desktop a:hover { color: var(--primary); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }

.nav-toggle span { width: 25px; height: 3px; background: var(--primary); transition: 0.3s; }

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-menu { position: fixed; top: 70px; right: -100%; width: 260px; height: calc(100vh - 70px); background: var(--dark); transition: right 0.3s; z-index: 999; padding: 2rem; }

.mobile-menu.open { right: 0; }

.mobile-menu a { display: block; color: var(--text); text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--card); }

.hero { min-height: 100vh; padding: 120px 2rem 60px; background: radial-gradient(ellipse at center, var(--card) 0%, var(--dark) 70%); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }

.badge { display: inline-block; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 0.5rem 1.5rem; border-radius: 50px; font-weight: 600; margin-bottom: 2rem; }

.hero h1 { font-size: clamp(2.5rem, 8vw, 5rem); margin-bottom: 1.5rem; }

.hero h1 span { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero p { font-size: 1.2rem; color: var(--muted); max-width: 650px; margin-bottom: 2.5rem; }

.btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn-main { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s; }

.btn-main:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3); }

.btn-sec { background: transparent; color: var(--primary); padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; border: 2px solid var(--primary); transition: all 0.3s; }

.btn-sec:hover { background: var(--primary); color: white; }

.notices { padding: 4rem 2rem; background: var(--card); }

.notices-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

.notice { background: var(--dark); padding: 2rem; text-align: center; border-radius: 16px; border: 1px solid rgba(99, 102, 241, 0.2); }

.notice .icon { font-size: 2.5rem; margin-bottom: 1rem; }

.notice h3 { color: var(--primary); margin-bottom: 0.5rem; }

.notice p { color: var(--muted); }

.game-section { padding: 5rem 2rem; background: var(--dark); }

.section-title { text-align: center; margin-bottom: 3rem; }

.section-title h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }

.section-title h2 span { color: var(--secondary); }

.game-container { max-width: 1100px; margin: 0 auto; background: var(--card); border-radius: 20px; overflow: hidden; border: 2px solid var(--primary); }

.game-container iframe { width: 100%; height: 620px; border: none; }

.features { padding: 5rem 2rem; background: var(--card); }

.features-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

.feature { background: var(--dark); padding: 2rem; text-align: center; border-radius: 12px; }

.feature .f-icon { font-size: 2rem; margin-bottom: 1rem; }

.feature h4 { color: var(--primary); margin-bottom: 0.5rem; }

.feature p { color: var(--muted); font-size: 0.9rem; }

footer { background: var(--dark); padding: 4rem 2rem 1.5rem; border-top: 1px solid var(--card); }

.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }

.footer-brand .logo { display: inline-block; margin-bottom: 1rem; }

.footer-brand p { color: var(--muted); font-size: 0.9rem; }

.footer-nav h5 { color: var(--primary); margin-bottom: 1rem; }

.footer-nav a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 0.5rem; }

.footer-help h5 { color: var(--primary); margin-bottom: 1rem; }

.footer-help a { display: inline-block; background: var(--card); color: var(--text); padding: 0.4rem 0.8rem; border-radius: 8px; text-decoration: none; font-size: 0.85rem; margin: 0.2rem; }

.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--card); color: var(--muted); font-size: 0.85rem; }

#ageModal { position: fixed; inset: 0; background: rgba(15, 15, 16, 0.98); display: flex; align-items: center; justify-content: center; z-index: 10000; }

#ageModal.hidden { display: none; }

.modal-content { background: var(--card); padding: 3rem; text-align: center; max-width: 450px; border-radius: 20px; border: 2px solid var(--primary); }

.modal-content .m-icon { font-size: 3.5rem; margin-bottom: 1rem; }

.modal-content h2 { color: var(--primary); margin-bottom: 1rem; }

.modal-content p { color: var(--muted); margin-bottom: 2rem; }

.modal-btns { display: flex; gap: 1rem; justify-content: center; }

.modal-btns button { padding: 0.8rem 2rem; font-size: 1rem; font-weight: 600; cursor: pointer; border: none; border-radius: 50px; }

#ageYes { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }

#ageNo { background: transparent; border: 2px solid var(--text) !important; color: var(--text); }

.page-content { padding: 120px 2rem 60px; min-height: 75vh; }

.page-inner { max-width: 900px; margin: 0 auto; }

.page-title { font-size: clamp(1.8rem, 5vw, 2.5rem); color: var(--primary); text-align: center; margin-bottom: 2rem; }

.content-box { background: var(--card); padding: 2rem; margin-bottom: 1.5rem; border-radius: 12px; border-left: 4px solid var(--secondary); }

.content-box h2 { color: var(--primary); margin-bottom: 1rem; }

.content-box p { color: var(--muted); margin-bottom: 0.8rem; }

.content-box ul { color: var(--muted); padding-left: 1.5rem; }

.content-box li { margin-bottom: 0.4rem; }

@media (max-width: 768px) {
    nav.desktop { display: none; }
    .nav-toggle { display: flex; }
    .game-container iframe { height: 450px; }
    .modal-btns { flex-direction: column; }
    .btns { flex-direction: column; align-items: center; }
}
