@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --white: #ffffff;
  --off-white: #fafafa;
  --light-gray: #f0f0f0;
  --mid-gray: #e0e0e0;
  --text-dark: #1a1a1a;
  --text-med: #555555;
  --text-light: #999999;
  --mint: #2ecc71;
  --mint-dark: #27ae60;
  --teal: #1abc9c;
  --navy: #2c3e50;
  --red-alert: #e74c3c;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
}

/* STICKY NAV - clean minimal */
.zen-nav {
  position: sticky;
  top: 0;
  z-index: 800;
  background: var(--white);
  border-bottom: 1px solid var(--mid-gray);
}

.zen-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.zen-logo {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zen-logo svg { width: 30px; height: 30px; }

.zen-links { list-style: none; display: flex; gap: 2rem; }

.zen-links a {
  color: var(--text-med);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.zen-links a:hover, .zen-links a.on { color: var(--mint-dark); }

.zen-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.zen-burger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
  transition: all 0.3s;
}

.zen-burger.open span:first-child { transform: rotate(45deg) translate(5px,5px); }
.zen-burger.open span:nth-child(2) { opacity: 0; }
.zen-burger.open span:last-child { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 768px) {
  .zen-burger { display: flex; }
  .zen-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--mid-gray);
    display: none;
  }
  .zen-links.revealed { display: flex; }
}

/* HERO - Large full width with subtle bg */
.zen-hero {
  padding: 8rem 2rem 6rem;
  text-align: center;
  background: var(--off-white);
  border-bottom: 1px solid var(--mid-gray);
}

.zen-hero h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.zen-hero p {
  font-size: 1.15rem;
  color: var(--text-med);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.btn-zen {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: var(--mint);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-zen:hover { background: var(--mint-dark); transform: translateY(-1px); }

/* NOTICE PILLS */
.notice-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2rem;
  background: var(--white);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--mint);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--mint-dark);
}

.pill .pill-icon { font-size: 1.2rem; }

/* GAME AREA */
.game-area {
  padding: 4rem 2rem;
  background: var(--off-white);
}

.game-box {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--mid-gray);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.game-box iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .game-box iframe { height: 380px; }
}

/* SECTIONS */
.zen-section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.zs-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.zs-sub {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* FOUR CARD GRID - Flat minimal */
.quad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.flat-card {
  background: var(--off-white);
  border: 1px solid var(--mid-gray);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.flat-card:hover {
  border-color: var(--mint);
  box-shadow: 0 4px 16px rgba(46,204,113,0.1);
}

.flat-card .fc-icon { font-size: 2rem; margin-bottom: 0.8rem; }

.flat-card h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.flat-card p { font-size: 0.92rem; color: var(--text-med); }

/* INFO BLOCKS */
.zen-block {
  background: var(--off-white);
  border: 1px solid var(--mid-gray);
  border-radius: 10px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}

.zen-block h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.zen-block p { color: var(--text-med); margin-bottom: 0.6rem; }

/* FOOTER */
.zen-footer {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.zf-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.zf-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.zf-links a:hover { color: var(--mint); }

.zf-responsible { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.zf-responsible p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.zf-responsible a { color: var(--mint); text-decoration: none; margin: 0 0.5rem; }
.zf-responsible a:hover { text-decoration: underline; }

/* AGE POPUP - Clean modal */
.age-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.age-card {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.age-card h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.age-card p { color: var(--text-med); margin-bottom: 2rem; font-size: 0.95rem; }

.age-btns { display: flex; gap: 1rem; justify-content: center; }

.btn-age-yes {
  padding: 0.7rem 2rem;
  background: var(--mint);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-age-yes:hover { background: var(--mint-dark); }

.btn-age-no {
  padding: 0.7rem 2rem;
  background: var(--red-alert);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-age-no:hover { background: #c0392b; }

/* INNER PAGES */
.page-inner { padding-top: 2rem; min-height: 80vh; }

.page-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.page-container h1 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--navy);
  margin-bottom: 2rem;
}

.page-container h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.2rem;
  color: var(--mint-dark);
  margin: 2rem 0 0.8rem;
}

.page-container p { color: var(--text-med); margin-bottom: 0.8rem; }
.page-container ul, .page-container ol { color: var(--text-med); padding-left: 1.5rem; margin-bottom: 1rem; }
.page-container li { margin-bottom: 0.4rem; }

.play-head { text-align: center; padding: 2rem 2rem 1rem; }
.play-head h1 { font-family: 'Zen Kaku Gothic New', sans-serif; color: var(--navy); }

.usage-note {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  background: var(--off-white);
  border: 1px solid var(--mid-gray);
  border-radius: 8px;
  text-align: center;
  color: var(--text-med);
  font-size: 0.9rem;
}
