@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

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

:root {
  --zen-bg: #f7f4ef;
  --zen-white: #ffffff;
  --zen-sage: #5b8a72;
  --zen-dark: #2d3b35;
  --zen-stone: #8c8578;
  --zen-sand: #e8e0d0;
  --zen-light-sage: #c9ddd3;
  --zen-text: #3a3a3a;
  --zen-muted: #7a756d;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--zen-bg);
  color: var(--zen-text);
  line-height: 1.75;
  font-weight: 300;
}

/* NAV */
.zen-nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(247,244,239,0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 60px;
  border-bottom: 1px solid var(--zen-sand);
}

.zen-logo {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--zen-sage);
  text-decoration: none;
  letter-spacing: 1px;
}

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

.zen-menu a {
  color: var(--zen-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.3s;
  letter-spacing: 0.5px;
}

.zen-menu a:hover, .zen-menu a.on { color: var(--zen-sage); }

.zen-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.zen-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--zen-sage);
  transition: 0.3s;
}

.zen-toggle span:nth-child(1) { top: 0; }
.zen-toggle span:nth-child(2) { top: 9px; }
.zen-toggle span:nth-child(3) { top: 18px; }

.zen-toggle.toggled span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.zen-toggle.toggled span:nth-child(2) { opacity: 0; }
.zen-toggle.toggled span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* INTRO */
.zen-intro {
  margin-top: 60px;
  padding: 8rem 4rem 6rem;
  text-align: center;
  background: var(--zen-white);
}

.zen-intro h1 {
  font-size: 3rem;
  font-weight: 200;
  color: var(--zen-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.zen-intro h1 em {
  font-style: normal;
  color: var(--zen-sage);
  font-weight: 500;
}

.zen-intro p {
  font-size: 1.05rem;
  color: var(--zen-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.zen-btn {
  display: inline-block;
  padding: 12px 36px;
  background: var(--zen-sage);
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: background 0.3s, transform 0.2s;
}

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

/* PILLARS */
.zen-pillars {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--zen-sand);
}

.pillar {
  flex: 1;
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(91,138,114,0.15);
}

.pillar:last-child { border-right: none; }

.pillar-icon { font-size: 1.6rem; margin-bottom: 0.6rem; display: block; }

.pillar h3 {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--zen-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* GAME */
.zen-game {
  padding: 5rem 4rem;
  text-align: center;
}

.zen-game h2 {
  font-weight: 300;
  font-size: 2rem;
  color: var(--zen-dark);
  margin-bottom: 0.8rem;
}

.zen-game .hint { color: var(--zen-muted); margin-bottom: 2rem; font-size: 0.95rem; }

.game-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  background: var(--zen-dark);
}

.game-container iframe { width: 100%; height: 100%; border: none; }

/* PHILOSOPHY */
.zen-philosophy {
  padding: 5rem 4rem;
  background: var(--zen-white);
  max-width: 800px;
  margin: 0 auto;
}

.zen-philosophy h2 {
  font-weight: 300;
  font-size: 2rem;
  color: var(--zen-dark);
  margin-bottom: 1.2rem;
  text-align: center;
}

.zen-philosophy p {
  text-align: center;
  color: var(--zen-muted);
  margin-bottom: 1rem;
}

/* TRIO */
.zen-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
}

.trio-card {
  padding: 3rem 2.5rem;
  background: var(--zen-white);
  border: 1px solid var(--zen-sand);
  text-align: center;
}

.trio-card h3 {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--zen-sage);
  margin-bottom: 0.8rem;
}

.trio-card p { color: var(--zen-muted); font-size: 0.92rem; }

/* STATS */
.zen-stats {
  display: flex;
  justify-content: space-around;
  padding: 3rem 4rem;
  background: var(--zen-light-sage);
}

.zstat { text-align: center; }
.zstat .big { font-size: 2.5rem; font-weight: 600; color: var(--zen-dark); }
.zstat .small { font-size: 0.8rem; color: var(--zen-stone); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; }

/* INNER PAGE */
.content-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 100px 2rem 60px;
}

.content-wrap h1 {
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--zen-dark);
  margin-bottom: 2rem;
}

.content-wrap h2 {
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--zen-sage);
  margin: 2rem 0 0.8rem;
}

.content-wrap p { margin-bottom: 1rem; color: var(--zen-text); }
.content-wrap ul { margin: 1rem 0 1rem 1.5rem; }
.content-wrap li { margin-bottom: 0.5rem; }

/* PLAY */
.play-area {
  padding: 100px 4rem 60px;
  text-align: center;
}

.play-area h1 { font-weight: 300; font-size: 2.2rem; color: var(--zen-dark); margin-bottom: 0.8rem; }
.play-area .tip { color: var(--zen-muted); max-width: 580px; margin: 0 auto 2rem; font-size: 0.95rem; }

.play-frame {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--zen-dark);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.play-frame iframe { width: 100%; height: 100%; border: none; }

/* FOOTER */
.zen-footer {
  padding: 3rem 4rem;
  text-align: center;
  background: var(--zen-dark);
  color: var(--zen-stone);
}

.zen-foot-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.zen-foot-links a { color: var(--zen-light-sage); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.zen-foot-links a:hover { color: #fff; }

.resp-area { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
.resp-area p { font-size: 0.82rem; margin-bottom: 0.5rem; }
.resp-area a { color: var(--zen-light-sage); text-decoration: none; margin: 0 0.6rem; font-size: 0.82rem; }
.resp-area a:hover { color: #fff; }

.zen-copy { margin-top: 1.2rem; font-size: 0.78rem; color: var(--zen-stone); }

/* AGE OVERLAY */
.age-wall {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(45,59,53,0.95);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}

.age-card {
  background: var(--zen-white);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.age-card h2 { font-weight: 500; font-size: 1.5rem; color: var(--zen-dark); margin-bottom: 0.8rem; }
.age-card p { color: var(--zen-muted); font-size: 0.92rem; margin-bottom: 1.5rem; }
.age-btns { display: flex; gap: 1rem; justify-content: center; }

.btn-confirm {
  padding: 10px 28px;
  background: var(--zen-sage);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-deny {
  padding: 10px 28px;
  background: transparent;
  border: 1px solid var(--zen-stone);
  color: var(--zen-stone);
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-confirm:hover { background: var(--zen-dark); }
.denied-text { color: #c0392b; font-weight: 500; margin-top: 1rem; display: none; font-size: 0.9rem; }

@media (max-width: 900px) {
  .zen-trio { grid-template-columns: 1fr; }
  .zen-pillars { flex-direction: column; }
  .zen-intro h1 { font-size: 2.2rem; }
  .zen-intro { padding: 5rem 2rem 3rem; }
}

@media (max-width: 768px) {
  .zen-toggle { display: block; }
  .zen-menu {
    display: none;
    position: absolute;
    top: 60px; left: 0; width: 100%;
    background: rgba(247,244,239,0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.8rem;
    border-bottom: 1px solid var(--zen-sand);
  }
  .zen-menu.show { display: flex; }
  .zen-stats { flex-direction: column; gap: 1.5rem; }
  .content-wrap { padding: 90px 1.2rem 40px; }
  .play-area { padding: 90px 1.2rem 40px; }
  .zen-game { padding: 3rem 1.2rem; }
}
