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

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

:root {
  --warm-dark: #2a2725;
  --warm-mid: #3d3a38;
  --warm-light: #575350;
  --coral: #e87461;
  --coral-light: #f09585;
  --coral-pale: #fcd5cf;
  --bg-warm: #f7f3f0;
  --bg-card: #ffffff;
  --text-body: #4a4543;
  --text-light: #8a8280;
  --text-heading: #2a2725;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'PT Sans', sans-serif; color: var(--text-body); background: var(--bg-warm); line-height: 1.8; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; font-weight: 800; color: var(--text-heading); }

/* HEADER - ROUNDED WARM */
.header { background: var(--bg-card); box-shadow: 0 2px 15px rgba(42,39,37,0.06); position: sticky; top: 0; z-index: 1000; }
.header-container { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; padding: 0 2rem; }
.logo-area { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-circle { width: 38px; height: 38px; background: var(--coral); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.1rem; color: white; }
.logo-name { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--text-heading); }
.site-nav { display: flex; gap: 1.5rem; list-style: none; }
.site-nav a { color: var(--text-light); text-decoration: none; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.9rem; transition: color 0.3s; }
.site-nav a:hover, .site-nav a.active { color: var(--coral); }
.mobile-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.mobile-btn span { width: 26px; height: 3px; background: var(--coral); border-radius: 3px; }

/* HERO - WARM ROUNDED */
.welcome { padding: 5rem 2rem; background: linear-gradient(135deg, var(--warm-dark) 0%, var(--warm-mid) 100%); border-radius: 0 0 40px 40px; text-align: center; color: white; }
.welcome h1 { font-size: 3rem; margin-bottom: 1rem; color: var(--coral-pale); }
.welcome p { font-size: 1.1rem; max-width: 650px; margin: 0 auto 2rem; opacity: 0.85; }
.welcome-chips { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.chip { background: rgba(232,116,97,0.2); border: 1px solid rgba(232,116,97,0.4); color: var(--coral-pale); padding: 0.5rem 1.2rem; border-radius: 30px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.82rem; }

/* SECTIONS */
.part { padding: 4rem 2rem; }
.part-wrap { max-width: 1400px; margin: 0 auto; }
.part h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.part .intro { color: var(--text-light); margin-bottom: 2.5rem; max-width: 550px; }

/* ROUNDED CARD GRID */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.rcard { background: var(--bg-card); border-radius: 20px; padding: 2rem; box-shadow: 0 4px 20px rgba(42,39,37,0.06); transition: transform 0.3s; }
.rcard:hover { transform: translateY(-4px); }
.rcard .ricon { width: 48px; height: 48px; background: var(--coral-pale); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.rcard h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.rcard p { color: var(--text-light); font-size: 0.9rem; }

/* GAME */
.game-area { background: var(--warm-dark); border-radius: 40px; margin: 0 2rem; padding: 3rem 2rem; text-align: center; }
.game-area h2 { color: var(--coral-pale); font-size: 2rem; margin-bottom: 0.5rem; }
.game-area .gnote { color: rgba(255,255,255,0.6); margin-bottom: 2rem; }
.game-holder { max-width: 920px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 3px solid var(--coral); box-shadow: 0 15px 50px rgba(0,0,0,0.3); }
.game-holder iframe { width: 100%; height: 600px; border: none; display: block; }

/* BANNER */
.warm-banner { background: var(--coral); padding: 2.5rem 2rem; text-align: center; border-radius: 20px; margin: 3rem 2rem; }
.warm-banner h2 { color: white; font-size: 1.6rem; margin-bottom: 0.4rem; }
.warm-banner p { color: rgba(255,255,255,0.85); max-width: 550px; margin: 0 auto; }

/* CONTENT PAGE */
.content-page { padding: 3rem 2rem; min-height: 60vh; }
.content-wrap { max-width: 860px; margin: 0 auto; }
.content-page h1 { font-size: 2.5rem; margin-bottom: 1.5rem; padding-top: 1rem; }
.content-page h2 { font-size: 1.3rem; color: var(--coral); margin: 2rem 0 0.8rem; }
.content-page p, .content-page li { color: var(--text-body); margin-bottom: 1rem; }
.content-page ul { padding-left: 1.5rem; }

/* PLAY PAGE */
.play-top { text-align: center; padding: 3rem 2rem 1rem; }
.play-top h1 { font-size: 2.5rem; }
.play-top p { color: var(--text-light); max-width: 600px; margin: 1rem auto 0; }

/* FOOTER */
.footer { background: var(--warm-dark); padding: 2rem; border-radius: 30px 30px 0 0; margin-top: 3rem; }
.footer-wrap { max-width: 1400px; margin: 0 auto; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--coral-light); }
.footer-small { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

/* AGE POPUP */
.age-popup { position: fixed; inset: 0; background: rgba(42,39,37,0.95); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.age-popup.hidden { display: none; }
.age-box { background: var(--bg-card); border-radius: 24px; padding: 2.5rem; text-align: center; max-width: 400px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.age-box h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.age-box p { color: var(--text-light); margin-bottom: 1.8rem; font-size: 0.92rem; }
.age-row { display: flex; gap: 0.8rem; justify-content: center; }
.age-b { padding: 0.7rem 2rem; border-radius: 12px; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none; transition: 0.3s; }
.age-b.yes { background: var(--coral); color: white; }
.age-b.yes:hover { background: var(--coral-light); }
.age-b.no { background: var(--bg-warm); color: var(--text-body); border: 2px solid var(--coral); }
.age-b.no:hover { background: var(--coral-pale); }

@media (max-width: 768px) {
  .mobile-btn { display: flex; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-card); flex-direction: column; padding: 1.5rem 2rem; gap: 0.8rem; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
  .site-nav.open { display: flex; }
  .welcome h1 { font-size: 2.2rem; }
  .welcome { border-radius: 0 0 20px 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .game-area { margin: 0 1rem; border-radius: 20px; }
  .game-holder iframe { height: 400px; }
  .warm-banner { margin: 2rem 1rem; }
  .footer { border-radius: 20px 20px 0 0; }
}
