@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
    --royal-purple: #7c3aed;
    --champion-gold: #fbbf24;
    --dark-void: #0c0a1d;
    --midnight: #1a1632;
    --soft-violet: #a78bfa;
    --silver: #e5e7eb;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Source Sans 3', sans-serif; background: var(--dark-void); color: var(--silver); line-height: 1.7; }
h1, h2, h3 { font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; }
a { color: var(--soft-violet); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--champion-gold); }

.header { background: linear-gradient(180deg, var(--midnight) 0%, rgba(26,22,50,0.95) 100%); position: fixed; top: 0; left: 0; right: 0; z-index: 1000; border-bottom: 2px solid var(--royal-purple); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; max-width: 1400px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-emblem { width: 48px; height: 48px; background: linear-gradient(135deg, var(--royal-purple) 0%, var(--soft-violet) 100%); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-size: 1.6rem; color: var(--white); }
.logo-title { font-family: 'Oswald', sans-serif; font-size: 2rem; color: var(--champion-gold); letter-spacing: 4px; }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-btn span { width: 26px; height: 2px; background: var(--champion-gold); transition: 0.3s; }
.nav ul { display: flex; list-style: none; gap: 28px; }
.nav a { font-family: 'Oswald', sans-serif; font-weight: 500; color: var(--silver); text-transform: uppercase; letter-spacing: 1px; font-size: 0.95rem; }

.hero { padding: 160px 24px 100px; text-align: center; background: radial-gradient(ellipse at center, rgba(124,58,237,0.15) 0%, transparent 60%); }
.hero h1 { font-size: 3.5rem; color: var(--champion-gold); margin-bottom: 20px; text-shadow: 0 0 30px rgba(251,191,36,0.3); }
.hero p { font-size: 1.2rem; color: var(--soft-violet); max-width: 700px; margin: 0 auto; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 50px 24px; max-width: 1200px; margin: 0 auto; }
.pillar { background: var(--midnight); border: 1px solid rgba(124,58,237,0.4); border-radius: 16px; padding: 35px 28px; text-align: center; transition: 0.4s; }
.pillar:hover { border-color: var(--champion-gold); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(124,58,237,0.2); }
.pillar-icon { font-size: 2.8rem; margin-bottom: 16px; }
.pillar h3 { font-size: 1.3rem; color: var(--champion-gold); margin-bottom: 10px; }
.pillar p { color: var(--soft-violet); }

.game-zone { padding: 70px 24px; text-align: center; }
.game-zone h2 { font-size: 2.4rem; color: var(--champion-gold); margin-bottom: 35px; }
.game-container { max-width: 950px; margin: 0 auto; background: var(--midnight); border: 3px solid var(--royal-purple); border-radius: 20px; padding: 18px; box-shadow: 0 0 50px rgba(124,58,237,0.3); }
.game-container iframe { width: 100%; height: 580px; border: none; border-radius: 12px; }

.page-top { padding: 150px 24px 60px; text-align: center; background: linear-gradient(180deg, var(--midnight) 0%, var(--dark-void) 100%); }
.page-top h1 { font-size: 2.8rem; color: var(--champion-gold); margin-bottom: 10px; }
.page-top p { color: var(--soft-violet); font-size: 1.1rem; }

.content { padding: 55px 24px; max-width: 860px; margin: 0 auto; }
.content h2 { font-size: 1.7rem; color: var(--royal-purple); margin: 35px 0 16px; }
.content h2:first-child { margin-top: 0; }
.content p { color: var(--silver); font-size: 1.05rem; margin-bottom: 16px; }
.content ul { list-style: none; margin: 20px 0; }
.content li { padding: 12px 0 12px 28px; position: relative; color: var(--silver); }
.content li::before { content: '👑'; position: absolute; left: 0; }

.footer { background: var(--midnight); border-top: 2px solid var(--royal-purple); padding: 50px 24px 35px; margin-top: 70px; }
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer h4 { color: var(--champion-gold); margin-bottom: 18px; font-family: 'Oswald', sans-serif; letter-spacing: 2px; }
.footer-links a { color: var(--soft-violet); margin: 0 16px; }
.footer-copy { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(124,58,237,0.3); color: var(--silver); opacity: 0.7; font-size: 0.9rem; }

.age-gate { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(12,10,29,0.98); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.age-gate.gone { display: none; }
.age-panel { background: var(--midnight); border: 2px solid var(--royal-purple); border-radius: 20px; padding: 45px; text-align: center; max-width: 450px; margin: 20px; box-shadow: 0 0 60px rgba(124,58,237,0.4); }
.age-panel h2 { font-size: 1.8rem; color: var(--champion-gold); margin-bottom: 16px; }
.age-panel p { color: var(--soft-violet); margin-bottom: 30px; }
.age-actions { display: flex; gap: 16px; justify-content: center; }
.age-action { padding: 14px 38px; font-family: 'Oswald', sans-serif; font-size: 1rem; border: none; border-radius: 8px; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.age-action.enter { background: linear-gradient(135deg, var(--royal-purple) 0%, var(--soft-violet) 100%); color: var(--white); }
.age-action.enter:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(124,58,237,0.4); }
.age-action.exit { background: transparent; border: 2px solid var(--silver); color: var(--silver); }
.age-action.exit:hover { border-color: var(--champion-gold); color: var(--champion-gold); }

@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; max-width: 500px; } }
@media (max-width: 768px) {
    .menu-btn { display: flex; }
    .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--midnight); padding: 24px; display: none; border-top: 1px solid var(--royal-purple); }
    .nav.show { display: block; }
    .nav ul { flex-direction: column; gap: 16px; text-align: center; }
    .hero h1 { font-size: 2.4rem; }
    .game-container iframe { height: 450px; }
    .age-actions { flex-direction: column; }
    .age-action { width: 100%; }
}
@media (max-width: 480px) { .logo-title { font-size: 1.5rem; } .hero h1 { font-size: 2rem; } .game-container iframe { height: 360px; } }
