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

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

:root {
  --primary: #4a1a8a;
  --primary-dark: #2d0e54;
  --accent: #d4a017;
  --accent-light: #f0c95a;
  --bg-dark: #1a0a2e;
  --bg-medium: #2a1545;
  --text-light: #f5f0ff;
  --text-muted: #c4b5d8;
  --white: #ffffff;
  --gradient-hero: linear-gradient(135deg, #1a0a2e 0%, #4a1a8a 50%, #2d0e54 100%);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-light); background: var(--bg-dark); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; }

/* HEADER */
.site-header { background: var(--primary-dark); padding: 0 2rem; position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid var(--accent); }
.header-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--accent); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.logo-icon { width: 40px; height: 40px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--primary-dark); font-weight: 800; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--text-light); text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.5px; transition: color 0.3s; padding: 0.5rem 0; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { width: 28px; height: 3px; background: var(--accent); border-radius: 2px; transition: 0.3s; }

/* HERO */
.hero { background: var(--gradient-hero); padding: 5rem 2rem 4rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 30% 70%, rgba(212,160,23,0.1) 0%, transparent 50%); }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; background: linear-gradient(90deg, var(--accent-light), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 2rem; color: var(--text-muted); }
.hero-badges { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.badge { background: rgba(212,160,23,0.15); border: 1px solid var(--accent); color: var(--accent-light); padding: 0.5rem 1.2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; font-family: 'Montserrat', sans-serif; }

/* SECTIONS */
.section { padding: 4rem 2rem; }
.section-inner { max-width: 1400px; margin: 0 auto; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 2rem; color: var(--accent-light); }
.section-alt { background: var(--bg-medium); }

/* NOTICE CARDS */
.notice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.notice-card { background: rgba(74,26,138,0.3); border: 1px solid rgba(212,160,23,0.3); border-radius: 12px; padding: 2rem; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.notice-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(212,160,23,0.15); }
.notice-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.notice-card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; color: var(--accent-light); }
.notice-card p { color: var(--text-muted); font-size: 0.95rem; }

/* GAME AREA */
.game-container { max-width: 900px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 3px solid var(--accent); box-shadow: 0 0 40px rgba(212,160,23,0.2); }
.game-container iframe { width: 100%; height: 600px; border: none; display: block; }

/* FEATURES */
.features-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature-box { background: var(--bg-medium); border-radius: 10px; padding: 1.8rem; text-align: center; border-bottom: 3px solid var(--accent); }
.feature-box .feat-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.feature-box h4 { font-family: 'Montserrat', sans-serif; color: var(--accent-light); margin-bottom: 0.5rem; }
.feature-box p { color: var(--text-muted); font-size: 0.9rem; }

/* INFO STRIPS */
.info-strip { background: linear-gradient(90deg, var(--primary), var(--accent)); padding: 2.5rem 2rem; text-align: center; }
.info-strip h2 { font-size: 1.8rem; color: var(--white); margin-bottom: 0.5rem; }
.info-strip p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto; }

/* CONTENT PAGE */
.content-page { padding: 3rem 2rem; min-height: 60vh; }
.content-page .content-inner { max-width: 900px; margin: 0 auto; }
.content-page h1 { font-size: 2.5rem; color: var(--accent-light); margin-bottom: 1.5rem; padding-top: 1rem; }
.content-page h2 { font-size: 1.5rem; color: var(--accent); margin: 2rem 0 1rem; }
.content-page p, .content-page li { color: var(--text-muted); margin-bottom: 1rem; }
.content-page ul { padding-left: 1.5rem; }
.content-page ul li { margin-bottom: 0.5rem; }

/* FOOTER */
.site-footer { background: var(--primary-dark); border-top: 2px solid var(--accent); padding: 2.5rem 2rem; text-align: center; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--accent-light); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-text { color: var(--text-muted); font-size: 0.85rem; }

/* AGE POPUP */
.age-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.92); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.age-overlay.hidden { display: none; }
.age-box { background: var(--bg-medium); border: 2px solid var(--accent); border-radius: 16px; padding: 3rem; text-align: center; max-width: 450px; width: 90%; }
.age-box h2 { font-size: 1.8rem; color: var(--accent-light); margin-bottom: 1rem; }
.age-box p { color: var(--text-muted); margin-bottom: 2rem; }
.age-btns { display: flex; gap: 1rem; justify-content: center; }
.age-btn { padding: 0.8rem 2.5rem; border: none; border-radius: 8px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; cursor: pointer; transition: 0.3s; }
.age-btn.yes { background: var(--accent); color: var(--primary-dark); }
.age-btn.yes:hover { background: var(--accent-light); }
.age-btn.no { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.age-btn.no:hover { background: rgba(212,160,23,0.1); }

/* PLAY PAGE */
.play-section { padding: 3rem 2rem; }
.play-section .play-inner { max-width: 1000px; margin: 0 auto; }
.play-section h1 { text-align: center; font-size: 2.5rem; color: var(--accent-light); margin-bottom: 1rem; }
.play-note { text-align: center; color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

/* MOBILE */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--primary-dark); flex-direction: column; padding: 1rem 2rem; gap: 0.5rem; border-bottom: 2px solid var(--accent); }
  .nav-links.open { display: flex; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .notice-grid { grid-template-columns: 1fr; }
  .features-row { grid-template-columns: 1fr 1fr; }
  .game-container iframe { height: 400px; }
  .hero-badges { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .features-row { grid-template-columns: 1fr; }
  .header-inner { padding: 0; }
  .hero { padding: 3rem 1rem 2rem; }
  .section { padding: 2.5rem 1rem; }
}
