@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&family=Merriweather:wght@300;400;700;900&display=swap');

:root {
  --bg: #1a0e00;
  --surface: #2a1800;
  --primary: #f59e0b;
  --accent: #fbbf24;
  --copper: #d97706;
  --text: #fff7ed;
  --muted: #fcd34d;
  --border: rgba(245, 158, 11, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

h1, h2, h3, h4 { font-family: 'Merriweather', serif; }
a { color: var(--accent); text-decoration: none; transition: 0.3s; }
a:hover { color: #fff; }

.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(26, 14, 0, 0.94);
  backdrop-filter: blur(10px);
  padding: 0.85rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.logo-wrap { display: flex; align-items: center; gap: 0.6rem; }
.logo-wrap svg { width: 36px; height: 36px; }
.logo-name {
  font-family: 'Merriweather', serif;
  font-size: 1.35rem; font-weight: 900; color: var(--primary);
}

.nav-menu { list-style: none; display: flex; gap: 1.6rem; }
.nav-menu a {
  color: var(--text); font-weight: 600; font-size: 0.9rem;
  transition: color 0.3s;
}
.nav-menu a:hover { color: var(--primary); }

.ham-btn {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.ham-btn span { width: 26px; height: 2.5px; background: var(--accent); border-radius: 2px; transition: 0.3s; }
.ham-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ham-btn.active span:nth-child(2) { opacity: 0; }
.ham-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.hero-split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  min-height: 85vh; padding: 4rem 3rem; max-width: 1400px; margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.8rem; margin-bottom: 1rem; color: var(--primary); line-height: 1.2;
}
.hero-content p { font-size: 1.05rem; margin-bottom: 2rem; opacity: 0.9; max-width: 500px; }

.warm-btn {
  display: inline-block; padding: 0.8rem 2.2rem;
  background: linear-gradient(135deg, var(--copper), var(--primary));
  color: var(--bg); font-weight: 700; border-radius: 30px; font-size: 0.95rem;
  transition: 0.3s;
}
.warm-btn:hover { transform: scale(1.04); box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); color: var(--bg); }

.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 280px; }

.highlight-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}

.highlight-cell {
  padding: 2rem 1.5rem; text-align: center;
  border-right: 1px solid var(--border);
}
.highlight-cell:last-child { border-right: none; }
.highlight-cell h3 { color: var(--primary); font-size: 1rem; margin-bottom: 0.3rem; }
.highlight-cell p { font-size: 0.88rem; opacity: 0.8; }

.prose { max-width: 1200px; margin: 0 auto; padding: 4rem 3rem; }
.prose h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 1rem; }
.prose p { margin-bottom: 1rem; max-width: 850px; }

.game-box {
  max-width: 960px; margin: 2rem auto; border-radius: 14px; overflow: hidden;
  border: 2px solid var(--copper); box-shadow: 0 0 30px rgba(217, 119, 6, 0.2);
}
.game-box iframe { width: 100%; height: 580px; border: none; display: block; }

.panel-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem; max-width: 1200px; margin: 3rem auto; padding: 0 3rem;
}
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.8rem;
}
.panel h3 { color: var(--accent); margin-bottom: 0.5rem; font-size: 1.05rem; }
.panel p { font-size: 0.92rem; opacity: 0.85; }
.panel ul { padding-left: 1.1rem; font-size: 0.92rem; }
.panel li { margin-bottom: 0.3rem; }

.bottom-bar {
  background: var(--surface); border-top: 1px solid var(--border);
  text-align: center; padding: 2.5rem 2rem; margin-top: 4rem;
}
.bottom-bar .rg-links a { color: var(--muted); margin: 0 0.8rem; font-size: 0.9rem; }
.bottom-bar .rg-links a:hover { color: #fff; }
.bottom-bar .micro { margin-top: 0.8rem; font-size: 0.78rem; opacity: 0.5; }

.age-screen {
  position: fixed; inset: 0; background: rgba(26, 14, 0, 0.97); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.age-card {
  background: var(--surface); border: 2px solid var(--primary);
  border-radius: 16px; padding: 2.5rem; text-align: center; max-width: 400px; width: 90%;
}
.age-card h2 { color: var(--primary); margin-bottom: 0.8rem; }
.age-card p { margin-bottom: 1.5rem; font-size: 0.95rem; }
.age-row { display: flex; gap: 1rem; justify-content: center; }
.age-row button {
  padding: 0.7rem 2rem; border: none; border-radius: 30px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: 0.2s;
}
.age-row button:hover { transform: scale(1.04); }
.age-accept { background: var(--primary); color: var(--bg); }
.age-reject { background: transparent; border: 2px solid var(--primary) !important; color: var(--accent); }
.age-screen.hidden { display: none; }

.legal-body { max-width: 880px; margin: 0 auto; padding: 6rem 2.5rem 3rem; }
.legal-body h1 { font-size: 2.2rem; color: var(--primary); margin-bottom: 1.5rem; }
.legal-body h2 { font-size: 1.3rem; color: var(--accent); margin: 1.8rem 0 0.7rem; }
.legal-body p { margin-bottom: 0.9rem; }
.legal-body ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-body li { margin-bottom: 0.4rem; }

.play-intro { text-align: center; padding: 6rem 2rem 2rem; }
.play-intro h1 { font-size: 2.4rem; color: var(--primary); margin-bottom: 0.8rem; }
.play-intro p { max-width: 620px; margin: 0 auto 1.5rem; }

.guide-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.5rem; max-width: 650px; margin: 2rem auto; font-size: 0.93rem;
}

@media (max-width: 768px) {
  .ham-btn { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 72%; max-width: 280px;
    height: 100vh; background: var(--surface); flex-direction: column;
    padding: 4.5rem 2rem; transition: right 0.35s; border-left: 1px solid var(--border);
  }
  .nav-menu.open { right: 0; }
  .hero-split { grid-template-columns: 1fr; padding: 5rem 1.5rem 3rem; }
  .hero-art { display: none; }
  .hero-content h1 { font-size: 2rem; }
  .highlight-row { grid-template-columns: 1fr; }
  .prose { padding: 3rem 1.5rem; }
  .panel-grid { padding: 0 1.5rem; }
  .game-box iframe { height: 340px; }
}
