@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

:root {
  --sand: #f5e6c8;
  --terracotta: #c0522e;
  --deep-brown: #2a1810;
  --warm-bg: #1c1208;
  --amber: #e8a832;
  --amber-light: #f5cc60;
  --ivory: #fdf8ef;
  --text-warm: #d4c4a8;
  --text-faded: #8a7a60;
  --card-warm: rgba(42,24,16,0.9);
  --border-warm: rgba(232,168,50,0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--warm-bg);
  color: var(--text-warm);
  line-height: 1.8;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--deep-brown) 0%, #3a2015 100%);
  border-bottom: 3px solid var(--terracotta);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--amber);
  text-decoration: none;
  letter-spacing: 1px;
}

.logo svg {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin-right: 8px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-faded);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  transition: color 0.3s;
}

nav a:hover, nav a.active { color: var(--amber-light); }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1100;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

.hero-section {
  background: linear-gradient(180deg, #2a1810 0%, var(--warm-bg) 100%);
  padding: 6rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--amber), var(--terracotta));
}

.hero-section h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.hero-section .subtitle {
  font-size: 1.1rem;
  color: var(--text-faded);
  max-width: 640px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

.play-btn {
  display: inline-block;
  padding: 12px 44px;
  background: var(--terracotta);
  color: var(--ivory);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s, transform 0.2s;
}

.play-btn:hover {
  background: #d45e30;
  transform: translateY(-2px);
}

.warning-row {
  display: flex;
  gap: 0;
  background: var(--deep-brown);
}

.warning-item {
  flex: 1;
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border-warm);
}

.warning-item:last-child { border-right: none; }

.warning-item .emoji { font-size: 2rem; margin-bottom: 0.5rem; }

.warning-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 0.4rem;
}

.warning-item p {
  font-size: 0.85rem;
  color: var(--text-faded);
  font-weight: 300;
}

.game-showcase {
  padding: 4rem 2rem;
  text-align: center;
}

.game-showcase h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.game-container {
  max-width: 920px;
  margin: 0 auto;
  border: 3px solid var(--terracotta);
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.game-container iframe {
  width: 100%;
  height: 580px;
  border: none;
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.about-cell {
  padding: 3rem 2rem;
  border-right: 1px solid var(--border-warm);
}

.about-cell:last-child { border-right: none; }

.about-cell h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber-light);
  margin-bottom: 0.6rem;
}

.about-cell p {
  font-size: 0.9rem;
  color: var(--text-faded);
  font-weight: 300;
}

.text-block {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 3rem;
}

.text-block h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ivory);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 3px solid var(--terracotta);
}

.text-block h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--amber);
  margin: 2rem 0 0.6rem;
}

.text-block p {
  font-size: 0.95rem;
  color: var(--text-faded);
  margin-bottom: 0.8rem;
  font-weight: 300;
}

.tip-box {
  background: var(--card-warm);
  border: 1px solid var(--border-warm);
  border-left: 4px solid var(--terracotta);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.tip-box h3 {
  color: var(--amber);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.tip-box p {
  color: var(--text-faded);
  font-size: 0.9rem;
  font-weight: 300;
}

footer {
  background: var(--deep-brown);
  border-top: 3px solid var(--terracotta);
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
}

footer .rg-section h4 {
  font-size: 0.85rem;
  color: var(--amber);
  margin-bottom: 0.7rem;
  font-weight: 600;
}

footer .rg-section a {
  color: var(--text-faded);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.8rem;
  transition: color 0.3s;
}

footer .rg-section a:hover { color: var(--amber-light); }

footer .footer-note {
  margin-top: 1.2rem;
  font-size: 0.75rem;
  color: var(--text-faded);
  opacity: 0.6;
}

.age-wall {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-wall.hidden { display: none; }

.age-prompt {
  background: var(--deep-brown);
  border: 2px solid var(--terracotta);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.age-prompt h2 {
  font-size: 1.4rem;
  color: var(--amber-light);
  margin-bottom: 0.8rem;
}

.age-prompt p {
  color: var(--text-faded);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 300;
}

.age-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.age-btns button {
  padding: 10px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.age-btns .confirm-btn {
  background: var(--terracotta);
  color: var(--ivory);
}

.age-btns .deny-btn {
  background: transparent;
  color: var(--text-faded);
  border: 1px solid var(--border-warm);
}

.age-btns button:hover { transform: scale(1.05); }

.deny-msg {
  color: #d44;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  display: none;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  nav {
    position: fixed;
    top: 0; right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--deep-brown);
    padding: 80px 2rem 2rem;
    transition: right 0.3s;
    z-index: 1050;
    border-left: 2px solid var(--terracotta);
  }

  nav.open { right: 0; }
  nav ul { flex-direction: column; gap: 1.2rem; }

  .hero-section { padding: 4rem 1.5rem 3rem; }
  .hero-section h1 { font-size: 1.8rem; }

  .warning-row { flex-direction: column; }
  .warning-item { border-right: none; border-bottom: 1px solid var(--border-warm); }
  .warning-item:last-child { border-bottom: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-cell { border-right: none; border-bottom: 1px solid var(--border-warm); }
  .about-cell:last-child { border-bottom: none; }

  .game-container iframe { height: 380px; }
  .text-block { padding: 2rem 1.5rem; }
}
