@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;800&family=Nunito:wght@300;400;600;700&display=swap');

:root {
  --dark: #0a1f0a;
  --surface: #112211;
  --emerald: #00c853;
  --emerald-light: #69f0ae;
  --forest: #1b5e20;
  --text-light: #e8f5e9;
  --text-dim: #a5d6a7;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--dark);
  color: var(--text-light);
  line-height: 1.8;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 900;
  background: rgba(10, 31, 10, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 64px;
  border-bottom: 1px solid rgba(0, 200, 83, 0.2);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--emerald);
}

.site-brand svg { width: 32px; height: 32px; }

.nav-menu { display: flex; list-style: none; gap: 1.5rem; }

.nav-menu a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.25s;
}

.nav-menu a:hover { color: var(--emerald-light); }

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1002;
}

.burger span {
  width: 24px;
  height: 2.5px;
  background: var(--emerald);
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.active span:first-child { transform: rotate(45deg) translate(4px, 6px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:last-child { transform: rotate(-45deg) translate(4px, -6px); }

/* Hero Split */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 64px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  background: var(--dark);
}

.hero-text h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--emerald-light);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  max-width: 500px;
}

.btn-emerald {
  display: inline-block;
  padding: 14px 38px;
  background: var(--emerald);
  color: var(--dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
  width: fit-content;
}

.btn-emerald:hover {
  background: var(--emerald-light);
  transform: translateY(-2px);
}

.hero-visual {
  background: linear-gradient(135deg, var(--forest) 0%, var(--dark) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.1), transparent 70%);
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

.hero-visual .hex-icon {
  width: 200px;
  height: 200px;
  opacity: 0.3;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--surface);
}

.pillar {
  padding: 3.5rem 2.5rem;
  text-align: center;
  border-right: 1px solid rgba(0, 200, 83, 0.1);
  transition: background 0.3s;
}

.pillar:last-child { border-right: none; }
.pillar:hover { background: rgba(0, 200, 83, 0.03); }

.pillar .p-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.pillar h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--emerald);
  margin-bottom: 0.7rem;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--text-dim);
}

/* Game Embed */
.game-embed {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--dark);
}

.game-embed h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  color: var(--emerald-light);
  margin-bottom: 1.5rem;
}

.game-container {
  max-width: 960px;
  margin: 0 auto;
  border: 2px solid var(--forest);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 200, 83, 0.08);
}

.game-container iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* Highlights */
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 5rem 3rem;
  background: var(--surface);
}

.highlight {
  padding: 2rem;
  border-radius: 12px;
  background: rgba(0, 200, 83, 0.04);
  border: 1px solid rgba(0, 200, 83, 0.1);
}

.highlight h3 {
  font-family: 'Raleway', sans-serif;
  color: var(--emerald);
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.highlight p {
  color: var(--text-dim);
  font-size: 0.93rem;
}

/* Prose */
.prose {
  padding: 5rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.prose h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.8rem;
  color: var(--emerald-light);
  margin-bottom: 1.2rem;
}

.prose p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Footer */
.ground {
  background: var(--surface);
  border-top: 1px solid rgba(0, 200, 83, 0.15);
  padding: 2.5rem 2rem;
  text-align: center;
}

.ground-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ground-links a {
  color: var(--emerald);
  text-decoration: none;
  font-size: 0.88rem;
}

.ground-links a:hover { color: var(--emerald-light); }

.ground p { color: var(--text-dim); font-size: 0.8rem; }

/* Age Modal */
.age-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.age-panel {
  background: var(--surface);
  border: 2px solid var(--emerald);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.age-panel h2 {
  font-family: 'Raleway', sans-serif;
  color: var(--emerald);
  margin-bottom: 1rem;
}

.age-panel p { color: var(--text-dim); margin-bottom: 2rem; }

.age-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-btns button {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.age-btns .yes-btn {
  background: var(--emerald);
  color: var(--dark);
}

.age-btns .no-btn {
  background: transparent;
  border: 1px solid var(--text-dim);
  color: var(--text-dim);
}

.age-btns button:hover { opacity: 0.9; }

/* Inner Pages */
.page-body {
  padding: 110px 3rem 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-body h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  color: var(--emerald-light);
  margin-bottom: 2rem;
}

.page-body h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.4rem;
  color: var(--emerald);
  margin: 2rem 0 0.8rem;
}

.page-body p, .page-body li {
  color: var(--text-dim);
  margin-bottom: 0.8rem;
  font-size: 1.02rem;
}

.page-body ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }

@media (max-width: 768px) {
  .burger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    padding: 80px 2rem;
    transition: right 0.3s;
    border-left: 1px solid rgba(0, 200, 83, 0.2);
  }

  .nav-menu.open { right: 0; }

  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; }
  .hero-text h1 { font-size: 2.2rem; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid rgba(0, 200, 83, 0.1); }
  .highlights { grid-template-columns: 1fr; }
  .game-container iframe { height: 400px; }
  .page-body { padding: 90px 1.5rem 60px; }
}
