@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-light: #fbbf24;
  --charcoal: #292524;
  --charcoal-deep: #1c1917;
  --warm-gray: #44403c;
  --stone: #78716c;
  --light-bg: #faf5ee;
  --white: #ffffff;
  --text: #1c1917;
  --text-light: #57534e;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: var(--amber-dark); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--amber); }

.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: var(--charcoal-deep); border-bottom: 2px solid var(--amber);
}

.header-row {
  max-width: 1440px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}

.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.4rem; color: var(--amber); letter-spacing: 1px;
}
.site-logo svg { width: 32px; height: 32px; }

.main-nav { display: flex; gap: 22px; list-style: none; }
.main-nav a { color: rgba(255,255,255,0.7); font-weight: 600; font-size: 0.9rem; }
.main-nav a:hover { color: var(--amber); }

.ham-btn {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
}
.ham-btn span {
  width: 26px; height: 2.5px; background: var(--amber);
  border-radius: 2px; transition: 0.3s; display: block;
}
.ham-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.ham-btn.active span:nth-child(2) { opacity: 0; }
.ham-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Hero - full-width band */
.hero-band {
  background: var(--charcoal-deep); padding: 120px 24px 80px; text-align: center;
}

.hero-band h1 {
  font-size: 3.4rem; font-weight: 800; color: var(--amber);
  max-width: 800px; margin: 0 auto 20px; line-height: 1.1;
}

.hero-band p {
  color: rgba(255,255,255,0.65); font-size: 1.1rem;
  max-width: 620px; margin: 0 auto 36px;
}

.play-btn {
  display: inline-block; padding: 15px 44px;
  background: var(--amber); color: var(--charcoal-deep);
  font-weight: 700; border-radius: 6px; font-size: 1.05rem;
  transition: all 0.3s; border: none; cursor: pointer;
}
.play-btn:hover { background: var(--amber-light); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(245,158,11,0.35); color: var(--charcoal-deep); }

/* Notice band */
.notice-band {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 40px;
  padding: 24px; background: var(--amber); color: var(--charcoal-deep);
}

.n-item { font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.n-item .ni { font-size: 1.3rem; }

/* Content bands */
.band { padding: 80px 24px; }
.band-dark { background: var(--charcoal-deep); color: #fff; }
.band-light { background: var(--white); }

.band-inner { max-width: 1200px; margin: 0 auto; }

.band-title { font-size: 2.1rem; font-weight: 800; text-align: center; margin-bottom: 12px; }
.band-dark .band-title { color: var(--amber); }
.band-light .band-title { color: var(--charcoal); }

.band-sub { text-align: center; max-width: 640px; margin: 0 auto 48px; font-size: 1rem; }
.band-dark .band-sub { color: rgba(255,255,255,0.6); }
.band-light .band-sub { color: var(--stone); }

/* Game */
.game-embed {
  max-width: 960px; margin: 0 auto; border-radius: 12px; overflow: hidden;
  border: 3px solid var(--amber); box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}
.game-embed iframe { width: 100%; height: 600px; border: none; display: block; }

/* Three col */
.tri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.tri-card {
  padding: 32px 24px; border-radius: 12px; text-align: center;
  transition: transform 0.3s;
}
.band-dark .tri-card { background: var(--warm-gray); }
.band-light .tri-card { background: var(--light-bg); border: 1px solid rgba(0,0,0,0.06); }

.tri-card:hover { transform: translateY(-4px); }

.tri-ic { font-size: 2.4rem; margin-bottom: 12px; display: block; }
.tri-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.band-dark .tri-card h3 { color: var(--amber-light); }
.band-light .tri-card h3 { color: var(--charcoal); }
.tri-card p { font-size: 0.92rem; }
.band-dark .tri-card p { color: rgba(255,255,255,0.6); }
.band-light .tri-card p { color: var(--stone); }

/* Metric strip */
.metric-strip {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 28px;
  padding: 50px 24px; background: var(--amber); color: var(--charcoal-deep);
}

.metric { text-align: center; }
.metric-val { font-size: 2.8rem; font-weight: 800; display: block; }
.metric-lbl { font-size: 0.85rem; font-weight: 600; opacity: 0.7; }

/* About */
.about-band {
  padding: 80px 24px; background: var(--light-bg); text-align: center;
}
.about-band h2 { font-size: 2rem; font-weight: 800; color: var(--charcoal); margin-bottom: 20px; }
.about-band p { max-width: 800px; margin: 0 auto 14px; color: var(--stone); font-size: 1rem; }

/* Footer */
.footer {
  background: var(--charcoal-deep); padding: 48px 24px; text-align: center;
  color: rgba(255,255,255,0.5); border-top: 2px solid var(--amber);
}
.footer-nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-nav a { color: rgba(255,255,255,0.5); font-size: 0.88rem; font-weight: 500; }
.footer-nav a:hover { color: var(--amber); }

.footer-resp { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-resp p { font-size: 0.83rem; margin-bottom: 10px; }
.footer-resp-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-resp-links a { color: var(--amber); font-size: 0.83rem; text-decoration: underline; }

.footer-copy { margin-top: 20px; font-size: 0.75rem; opacity: 0.35; }

/* Age */
.age-screen {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.age-screen.hidden { display: none; }

.age-dialog {
  background: var(--charcoal); border: 2px solid var(--amber);
  border-radius: 12px; padding: 44px 36px; max-width: 420px;
  width: 100%; text-align: center;
}
.age-dialog h2 { font-size: 1.5rem; color: var(--amber); margin-bottom: 14px; }
.age-dialog p { color: rgba(255,255,255,0.65); margin-bottom: 28px; font-size: 0.93rem; }

.age-row { display: flex; gap: 14px; justify-content: center; }
.age-row button {
  padding: 12px 32px; border-radius: 6px; font-weight: 700;
  font-size: 0.95rem; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: 0.3s;
}
.age-accept { background: var(--amber); color: var(--charcoal-deep); border: 2px solid var(--amber); }
.age-accept:hover { background: var(--amber-light); }
.age-reject { background: transparent; color: var(--amber); border: 2px solid var(--amber); }
.age-reject:hover { background: rgba(245,158,11,0.1); }

/* Pages */
.page-head {
  padding: 110px 24px 50px; text-align: center;
  background: var(--charcoal-deep); color: #fff;
  border-bottom: 2px solid var(--amber);
}
.page-head h1 { font-size: 2.4rem; font-weight: 800; color: var(--amber); margin-bottom: 8px; }
.page-head p { color: rgba(255,255,255,0.6); }

.page-body { max-width: 860px; margin: 0 auto; padding: 60px 24px; }
.page-body h2 { font-size: 1.45rem; font-weight: 700; color: var(--charcoal); margin: 32px 0 12px; }
.page-body h2:first-child { margin-top: 0; }
.page-body p, .page-body ul, .page-body li { color: var(--stone); margin-bottom: 12px; font-size: 0.96rem; }
.page-body ul { padding-left: 22px; }

/* Play */
.play-block { padding: 100px 24px 60px; max-width: 1060px; margin: 0 auto; }
.play-block h1 { text-align: center; font-size: 2.2rem; color: var(--charcoal); margin-bottom: 10px; font-weight: 800; }
.play-hint { text-align: center; color: var(--stone); margin-bottom: 32px; font-size: 0.93rem; }

@media (max-width: 900px) {
  .tri-grid { grid-template-columns: 1fr 1fr; }
  .hero-band h1 { font-size: 2.4rem; }
  .game-embed iframe { height: 450px; }
}

@media (max-width: 640px) {
  .ham-btn { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; width: 100%;
    flex-direction: column; background: var(--charcoal-deep);
    padding: 20px 24px; gap: 14px;
  }
  .main-nav.open { display: flex; }
  .hero-band h1 { font-size: 1.8rem; }
  .tri-grid { grid-template-columns: 1fr; }
  .game-embed iframe { height: 320px; }
  .band-title { font-size: 1.6rem; }
  .notice-band { gap: 16px; }
  .n-item { font-size: 0.82rem; }
  .page-head h1 { font-size: 1.9rem; }
}
