@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Open+Sans:wght@300;400;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terracotta: #c4724e;
  --sand: #f5ece3;
  --clay: #8b5e3c;
  --warm-cream: #faf6f0;
  --dark-brown: #3a2215;
  --olive: #7a8a5a;
  --text-body: #4a3728;
  --text-light: #8a7565;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--sand);
  color: var(--text-body);
  line-height: 1.8;
}

.site-header {
  background: var(--dark-brown);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--sand);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg { width: 34px; height: 34px; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(245,236,227,0.7);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--terracotta); }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--sand);
  border-radius: 2px;
}

main { min-height: 80vh; }

/* HERO */
.hero {
  background: var(--warm-cream);
  padding: 5rem 2rem;
  text-align: center;
  border-bottom: 4px solid var(--terracotta);
}

.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.6rem;
  color: var(--dark-brown);
  margin-bottom: 1.2rem;
  font-weight: 900;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto 2rem;
}

.hero-link {
  display: inline-block;
  background: var(--terracotta);
  color: var(--warm-cream);
  padding: 14px 42px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.3s;
}

.hero-link:hover { background: var(--clay); }

/* CARDS */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.info-card {
  background: var(--warm-cream);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  border-top: 4px solid var(--terracotta);
  box-shadow: 0 3px 12px rgba(58,34,21,0.08);
}

.info-card .ic-icon { font-size: 2rem; margin-bottom: 0.8rem; }

.info-card h3 {
  font-family: 'Merriweather', serif;
  color: var(--dark-brown);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.info-card p { color: var(--text-light); font-size: 0.9rem; }

/* GAME */
.game-block {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.game-block h2 {
  font-family: 'Merriweather', serif;
  color: var(--dark-brown);
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.game-embed {
  background: var(--dark-brown);
  border-radius: 8px;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(58,34,21,0.15);
}

.game-embed iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* ABOUT */
.about-section {
  background: var(--warm-cream);
  padding: 4rem 2rem;
  margin: 3rem 0;
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-inner h2 {
  font-family: 'Merriweather', serif;
  color: var(--dark-brown);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  grid-column: 1 / -1;
}

.about-col p { color: var(--text-light); margin-bottom: 1rem; }

/* PERKS */
.perks {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.perks h2 {
  font-family: 'Merriweather', serif;
  color: var(--dark-brown);
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.perks-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.perk-item {
  display: flex;
  gap: 1rem;
  align-items: start;
  background: var(--warm-cream);
  padding: 1.5rem;
  border-radius: 6px;
}

.perk-item .pk-icon { font-size: 1.5rem; flex-shrink: 0; }

.perk-item h4 {
  font-family: 'Merriweather', serif;
  color: var(--clay);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.perk-item p { color: var(--text-light); font-size: 0.85rem; }

/* CONTENT */
.content-page {
  padding: 4rem 2rem;
  max-width: 850px;
  margin: 0 auto;
}

.content-page h1 {
  font-family: 'Merriweather', serif;
  color: var(--dark-brown);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--terracotta);
  padding-bottom: 1rem;
}

.content-page h2 {
  font-family: 'Merriweather', serif;
  color: var(--clay);
  font-size: 1.25rem;
  margin: 2rem 0 0.8rem;
}

.content-page p, .content-page li {
  color: var(--text-light);
  margin-bottom: 0.8rem;
  font-size: 0.93rem;
}

.content-page ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }

/* PLAY */
.play-banner {
  background: var(--warm-cream);
  padding: 4rem 2rem 2rem;
  text-align: center;
  border-bottom: 3px solid var(--terracotta);
}

.play-banner h1 {
  font-family: 'Merriweather', serif;
  color: var(--dark-brown);
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.play-banner p { color: var(--text-light); max-width: 550px; margin: 0 auto; }

.play-wrapper {
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.play-hint {
  background: var(--warm-cream);
  border-left: 4px solid var(--terracotta);
  padding: 1rem 1.5rem;
  margin-top: 1.5rem;
  color: var(--text-light);
  font-size: 0.88rem;
}

/* FOOTER */
.site-footer {
  background: var(--dark-brown);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-section { margin-bottom: 1rem; }

.footer-section h4 {
  font-family: 'Merriweather', serif;
  color: var(--sand);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-section a {
  color: rgba(245,236,227,0.6);
  text-decoration: none;
  margin: 0 0.7rem;
  font-size: 0.82rem;
}

.footer-section a:hover { color: var(--terracotta); }

.footer-small { font-size: 0.75rem; color: rgba(245,236,227,0.4); }

/* AGE GATE */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58,34,21,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-dialog {
  background: var(--warm-cream);
  border-radius: 10px;
  padding: 3rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.age-dialog h2 {
  font-family: 'Merriweather', serif;
  color: var(--dark-brown);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.age-dialog p { color: var(--text-light); margin-bottom: 1.5rem; font-size: 0.93rem; }

.age-options { display: flex; gap: 1rem; justify-content: center; }

.age-options button {
  padding: 11px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  border: none;
}

.opt-yes { background: var(--terracotta); color: var(--warm-cream); }
.opt-yes:hover { background: var(--clay); }
.opt-no { background: var(--sand); color: var(--text-body); border: 2px solid var(--terracotta); }
.opt-no:hover { background: rgba(196,114,78,0.1); }

.age-block-msg {
  color: #c0392b;
  font-weight: 600;
  margin-top: 1rem;
  display: none;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--dark-brown);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    transform: translateY(-120%);
    transition: transform 0.3s;
  }
  .nav-links.open { transform: translateY(0); }
  .hero h1 { font-size: 1.8rem; }
  .cards-row { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .perks-list { grid-template-columns: 1fr; }
  .game-embed iframe { height: 380px; }
}
