@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --forest: #1a3c34;
  --emerald: #50c878;
  --jade: #2e8b57;
  --cream: #f8faf5;
  --dark: #0d1f1a;
  --text-main: #2a3f38;
  --text-light: #6b8a7e;
  --card-bg: #ffffff;
  --border: rgba(80,200,120,0.2);
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--text-main);
  line-height: 1.75;
}

h1,h2,h3,h4 {
  font-family: 'Cinzel', serif;
  color: var(--forest);
}

a { color: var(--jade); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--emerald); }

/* Header */
.header {
  background: var(--forest);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--emerald);
}

.logo-area svg { width: 38px; height: 38px; }

.site-nav { display: flex; gap: 2rem; list-style: none; }

.site-nav a {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

.site-nav a:hover, .site-nav a.here { color: var(--emerald); }

.ham {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.ham span {
  width: 26px;
  height: 3px;
  background: var(--emerald);
  border-radius: 2px;
}

/* Hero */
.grove {
  background: linear-gradient(160deg, var(--forest), var(--dark));
  color: white;
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.grove h1 {
  color: var(--emerald);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.grove p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  opacity: 0.85;
}

.emerald-btn {
  display: inline-block;
  background: var(--emerald);
  color: var(--dark);
  padding: 0.9rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
  transition: 0.3s;
}

.emerald-btn:hover {
  background: #3dbd6b;
  color: var(--dark);
  box-shadow: 0 6px 20px rgba(80,200,120,0.3);
}

/* Main */
.main-area {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.center-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Three item row */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trio-item {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  border-left: 5px solid var(--emerald);
  box-shadow: 0 3px 15px rgba(26,60,52,0.05);
  transition: 0.3s;
}

.trio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(80,200,120,0.1);
}

.trio-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.trio-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

/* Game */
.game-section {
  max-width: 960px;
  margin: 2rem auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--forest);
  box-shadow: 0 10px 40px rgba(26,60,52,0.2);
}

.game-section iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* Two cols */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.pair-box {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(26,60,52,0.04);
}

.pair-box h3 { margin-bottom: 0.8rem; font-size: 1.3rem; }

/* Stats band */
.stats-band {
  background: var(--forest);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  justify-content: space-around;
  color: white;
  margin: 2rem 0;
}

.sb-item { text-align: center; }

.sb-val {
  font-family: 'Cinzel', serif;
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--emerald);
}

.sb-lbl { font-size: 0.85rem; opacity: 0.7; }

/* Text pages */
.text-area {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.text-area h1 { font-size: 2.4rem; text-align: center; margin-bottom: 1.5rem; }
.text-area h2 { font-size: 1.6rem; margin: 2rem 0 0.8rem; }
.text-area p { margin-bottom: 1rem; color: var(--text-light); }
.text-area ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.text-area li { margin-bottom: 0.5rem; color: var(--text-light); }

/* Footer */
.ground {
  background: var(--dark);
  color: var(--cream);
  padding: 3rem 2rem;
  text-align: center;
}

.ground-inner { max-width: 1400px; margin: 0 auto; }

.gnd-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.gnd-links a { color: rgba(248,250,245,0.7); font-size: 0.9rem; }
.gnd-links a:hover { color: var(--emerald); }

.rg-strip {
  border-top: 1px solid rgba(80,200,120,0.15);
  padding-top: 1.5rem;
}

.rg-strip p { font-size: 0.8rem; opacity: 0.5; margin-bottom: 0.5rem; }
.rg-strip a { color: var(--emerald); margin: 0 0.6rem; font-size: 0.85rem; }

/* Age Modal */
.age-wall {
  position: fixed;
  inset: 0;
  background: rgba(13,31,26,0.96);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-panel {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 450px;
  width: 90%;
}

.age-panel h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.age-panel p { color: var(--text-light); margin-bottom: 2rem; }

.age-choices { display: flex; gap: 1rem; justify-content: center; }

.age-choices button {
  padding: 0.8rem 2rem;
  border-radius: 12px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid var(--emerald);
  transition: 0.3s;
}

.ac-yes { background: var(--emerald); color: var(--dark); }
.ac-yes:hover { background: #3dbd6b; }

.ac-no { background: transparent; color: var(--emerald); }
.ac-no:hover { background: rgba(80,200,120,0.08); }

.ac-denied { display: none; }
.ac-denied h3 { color: #d32f2f; font-size: 1.3rem; }

@media (max-width: 768px) {
  .ham { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--forest);
    padding: 1.5rem 2rem;
  }
  .site-nav.open { display: flex; }
  .grove h1 { font-size: 2rem; }
  .trio { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .stats-band { flex-direction: column; gap: 1.5rem; }
  .game-section iframe { height: 400px; }
  .gnd-links { flex-direction: column; align-items: center; }
}
