@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Roboto:wght@300;400;500&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --midnight-blue: #1a237e;
    --deep-indigo: #0d1442;
    --electric: #3f51b5;
    --silver-moon: #e8eaf6;
    --star-gold: #ffc107;
    --night-black: #070b1f;
}

body { font-family: 'Roboto', sans-serif; background: var(--night-black); color: var(--silver-moon); line-height: 1.7; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 600; }
a { color: var(--star-gold); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--electric); }

.top-bar { background: linear-gradient(180deg, var(--deep-indigo) 0%, transparent 100%); position: fixed; width: 100%; top: 0; z-index: 1000; padding: 1rem 2rem; }
.bar-content { max-width: 1700px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 48px; height: 48px; }
.logo-name { font-family: 'Montserrat', sans-serif; font-size: 1.9rem; font-weight: 700; color: var(--star-gold); }

.nav-toggle { display: none; background: none; border: 2px solid var(--star-gold); padding: 8px 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--star-gold); margin: 5px 0; transition: 0.3s; }
.nav-toggle.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

.nav-menu { display: flex; list-style: none; gap: 2.5rem; }
.nav-menu a { color: var(--silver-moon); font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--star-gold); }

.main-body { padding-top: 85px; }

.intro-section { padding: 5rem 2rem; text-align: center; background: radial-gradient(ellipse at top, rgba(63, 81, 181, 0.2) 0%, transparent 60%); }
.intro-section h1 { font-size: 3rem; color: var(--star-gold); margin-bottom: 1.5rem; }
.intro-section p { font-size: 1.15rem; max-width: 780px; margin: 0 auto; }

.feature-row { display: flex; justify-content: center; gap: 2rem; padding: 2rem; flex-wrap: wrap; max-width: 1400px; margin: 0 auto; }
.feature-box { background: var(--deep-indigo); border: 1px solid rgba(63, 81, 181, 0.4); border-radius: 16px; padding: 2.5rem; text-align: center; flex: 1; min-width: 280px; max-width: 380px; }
.feature-box .icon { font-size: 2.8rem; margin-bottom: 1rem; }
.feature-box h3 { color: var(--star-gold); font-size: 1.3rem; margin-bottom: 0.75rem; }

.game-zone { padding: 4rem 2rem; background: var(--deep-indigo); }
.game-zone h2 { text-align: center; color: var(--star-gold); font-size: 2rem; margin-bottom: 2rem; }
.game-box { max-width: 1100px; margin: 0 auto; aspect-ratio: 16/9; background: #000; border: 3px solid var(--electric); border-radius: 12px; overflow: hidden; box-shadow: 0 0 40px rgba(63, 81, 181, 0.4); }
.game-box iframe { width: 100%; height: 100%; border: none; }

.info-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; max-width: 1600px; margin: 2rem auto; background: rgba(63, 81, 181, 0.2); }
.info-block { background: var(--night-black); padding: 3rem; }
.info-block h3 { color: var(--electric); font-size: 1.3rem; margin-bottom: 1rem; }

.text-section { max-width: 950px; margin: 3rem auto; padding: 0 2rem; }
.text-box { background: var(--deep-indigo); padding: 3.5rem; border-radius: 12px; border-left: 5px solid var(--star-gold); }
.text-box h1 { color: var(--star-gold); font-size: 2.4rem; margin-bottom: 2rem; }
.text-box h2 { color: var(--electric); font-size: 1.4rem; margin: 2.5rem 0 1rem; }
.text-box p { margin-bottom: 1.2rem; }
.text-box ul { margin: 1rem 0 1.5rem 2rem; }
.text-box li { margin-bottom: 0.5rem; }

.bottom-footer { background: var(--deep-indigo); padding: 3rem 2rem; text-align: center; border-top: 2px solid var(--electric); }
.footer-head { color: var(--star-gold); font-size: 1.1rem; margin-bottom: 1.5rem; }
.help-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.help-links a { color: var(--silver-moon); padding: 0.7rem 1.8rem; border: 1px solid var(--electric); border-radius: 30px; font-size: 0.9rem; }
.help-links a:hover { background: var(--electric); }
.footer-tiny { color: rgba(232, 234, 246, 0.5); font-size: 0.85rem; }

.age-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(7, 11, 31, 0.98); display: flex; justify-content: center; align-items: center; z-index: 9999; }
.age-card { background: var(--deep-indigo); border: 2px solid var(--star-gold); padding: 3.5rem; text-align: center; max-width: 480px; margin: 1rem; border-radius: 16px; box-shadow: 0 0 60px rgba(255, 193, 7, 0.3); }
.age-card h2 { color: var(--star-gold); font-size: 1.8rem; margin-bottom: 1.5rem; }
.age-card p { margin-bottom: 2rem; }
.age-btns { display: flex; gap: 1rem; justify-content: center; }
.age-btns button { padding: 1rem 2.5rem; font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 600; border: none; border-radius: 30px; cursor: pointer; transition: 0.3s; }
.btn-confirm { background: var(--star-gold); color: var(--night-black); }
.btn-confirm:hover { background: var(--electric); color: var(--silver-moon); }
.btn-deny { background: transparent; color: var(--silver-moon); border: 1px solid rgba(232, 234, 246, 0.3); }
.btn-deny:hover { border-color: var(--silver-moon); }
.hidden { display: none !important; }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; background: var(--deep-indigo); flex-direction: column; padding: 100px 2rem 2rem; gap: 0; transition: right 0.3s; }
    .nav-menu.open { right: 0; }
    .nav-menu li { border-bottom: 1px solid rgba(63, 81, 181, 0.3); }
    .nav-menu a { display: block; padding: 1.2rem 0; }
    .info-blocks { grid-template-columns: 1fr; }
    .intro-section h1 { font-size: 2.2rem; }
}

@media (max-width: 600px) {
    .logo-name { font-size: 1.5rem; }
    .intro-section { padding: 3rem 1rem; }
    .text-box { padding: 2rem; }
    .age-card { padding: 2.5rem; }
    .age-btns { flex-direction: column; }
}
