@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --forest: #1a2e1a;
  --moss: #2d4a2d;
  --sage: #7c9a5e;
  --leaf: #a3c47a;
  --earth: #3d2b1f;
  --sand: #d4c5a9;
  --cream: #f5f0e6;
  --txt: #c8c0b0;
  --txt-dim: #8a8070;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Poppins', sans-serif; background: var(--forest); color: var(--txt); line-height: 1.75; overflow-x: hidden; }

a { color: var(--sage); text-decoration: none; transition: 0.25s; }
a:hover { color: var(--leaf); }

.earth-header {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 2.5rem;
  background: var(--earth); position: sticky; top: 0; z-index: 1000;
  border-bottom: 2px solid var(--moss);
}

.e-logo { font-family: 'Merriweather', serif; font-size: 1.5rem; font-weight: 900; color: var(--sage); display: flex; align-items: center; gap: 8px; }
.e-logo svg { width: 32px; height: 32px; }

.e-nav { display: flex; list-style: none; gap: 1.8rem; }
.e-nav a { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; color: var(--txt-dim); }
.e-nav a:hover { color: var(--sage); }

.e-toggle { display: none; background: none; border: 1px solid var(--sage); border-radius: 5px; padding: 5px 7px; cursor: pointer; }
.e-toggle span { display: block; width: 22px; height: 2px; background: var(--sage); margin: 4px 0; transition: 0.3s; }

.zen-hero {
  min-height: 85vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 5rem 2rem;
  background: radial-gradient(circle at 50% 50%, rgba(124,154,94,0.06), transparent 55%);
}

.zen-hero-inner { max-width: 750px; }

.zen-hero h1 { font-family: 'Merriweather', serif; font-size: 2.8rem; font-weight: 900; color: var(--sand); margin-bottom: 1.5rem; line-height: 1.3; }

.zen-hero p { font-weight: 300; font-size: 1.05rem; margin-bottom: 2.5rem; color: var(--txt-dim); }

.earth-btn {
  display: inline-block; padding: 14px 40px;
  background: var(--sage); color: var(--forest);
  font-family: 'Merriweather', serif; font-weight: 700; font-size: 0.95rem;
  border-radius: 6px; transition: 0.3s;
}
.earth-btn:hover { background: var(--leaf); color: var(--forest); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(124,154,94,0.3); }

.game-earth { max-width: 820px; margin: -2rem auto 3rem; padding: 0 2rem; position: relative; z-index: 1; }

.ge-frame { background: var(--earth); border: 2px solid var(--moss); border-radius: 10px; overflow: hidden; }
.ge-frame iframe { width: 100%; height: 500px; border: none; display: block; }

.nature-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 2px solid var(--moss); border-bottom: 2px solid var(--moss);
}

.ns-cell { padding: 2.5rem 2rem; text-align: center; background: var(--earth); border-right: 1px solid var(--moss); }
.ns-cell:last-child { border-right: none; }
.ns-cell .ns-ico { font-size: 2rem; margin-bottom: 0.5rem; }
.ns-cell h3 { font-family: 'Merriweather', serif; font-size: 1rem; font-weight: 700; color: var(--sage); margin-bottom: 0.3rem; }
.ns-cell p { font-size: 0.85rem; font-weight: 300; color: var(--txt-dim); }

.prose-section { max-width: 860px; margin: 0 auto; padding: 5rem 2rem; text-align: center; }
.prose-section h2 { font-family: 'Merriweather', serif; font-size: 2rem; font-weight: 700; color: var(--sand); margin-bottom: 1.5rem; }
.prose-section p { font-weight: 300; margin-bottom: 1.2rem; color: var(--txt-dim); }

.moss-band { background: var(--moss); padding: 4rem 2rem; }
.moss-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.moss-inner .mi-col h2 { font-family: 'Merriweather', serif; font-size: 1.4rem; color: var(--sand); margin-bottom: 1rem; }
.moss-inner .mi-col p { font-weight: 300; color: var(--txt); opacity: 0.8; margin-bottom: 0.8rem; }

.doc { max-width: 880px; margin: 0 auto; padding: 4rem 2rem; }
.doc h1 { font-family: 'Merriweather', serif; font-size: 2.4rem; color: var(--sand); text-align: center; margin-bottom: 2.5rem; }
.doc h2 { font-family: 'Merriweather', serif; font-size: 1.2rem; color: var(--sage); margin: 2rem 0 0.7rem; }
.doc p { font-weight: 300; margin-bottom: 1rem; color: var(--txt-dim); }
.doc ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.doc li { font-weight: 300; margin-bottom: 0.5rem; color: var(--txt-dim); }

.play-grove { max-width: 840px; margin: 0 auto; padding: 4rem 2rem; text-align: center; }
.play-grove h1 { font-family: 'Merriweather', serif; font-size: 2.4rem; color: var(--sand); margin-bottom: 1rem; }
.play-grove > p { font-weight: 300; margin-bottom: 2rem; color: var(--txt-dim); }

.ground-footer { background: var(--earth); border-top: 2px solid var(--moss); padding: 2.5rem 2rem; text-align: center; }
.gf-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1rem; }
.gf-links a { color: var(--txt-dim); font-size: 0.85rem; }
.gf-links a:hover { color: var(--sage); }
.gf-copy { font-size: 0.8rem; color: var(--txt-dim); opacity: 0.5; }

.age-grove {
  position: fixed; inset: 0; background: rgba(26,46,26,0.95); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}

.age-leaf {
  background: var(--earth); border: 2px solid var(--sage); border-radius: 14px;
  padding: 3rem; text-align: center; max-width: 420px; width: 90%;
}
.age-leaf h2 { font-family: 'Merriweather', serif; font-size: 1.4rem; color: var(--sage); margin-bottom: 1rem; }
.age-leaf p { font-weight: 300; margin-bottom: 2rem; color: var(--txt-dim); }
.age-leaf-btns { display: flex; gap: 1rem; justify-content: center; }
.age-leaf-btns button { padding: 10px 28px; font-family: 'Merriweather', serif; font-size: 0.95rem; font-weight: 700; border-radius: 6px; cursor: pointer; transition: 0.3s; border: none; }
.al-yes { background: var(--sage); color: var(--forest); }
.al-yes:hover { background: var(--leaf); }
.al-no { background: var(--moss); color: var(--txt); }
.al-no:hover { background: var(--forest); }

@media (max-width: 900px) {
  .e-toggle { display: block; }
  .e-nav { position: fixed; top: 68px; right: -100%; width: 70%; max-width: 280px; height: calc(100vh - 68px); background: var(--earth); flex-direction: column; padding: 2rem; gap: 1.2rem; border-left: 2px solid var(--moss); transition: right 0.3s; }
  .e-nav.open { right: 0; }
  .zen-hero h1 { font-size: 2rem; }
  .nature-strip { grid-template-columns: 1fr; }
  .ns-cell { border-right: none; border-bottom: 1px solid var(--moss); }
  .moss-inner { grid-template-columns: 1fr; }
  .ge-frame iframe { height: 380px; }
}

@media (max-width: 480px) {
  .zen-hero h1 { font-size: 1.6rem; }
  .earth-header { padding: 0 1rem; }
  .ge-frame iframe { height: 280px; }
}
