@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --teal: #008080;
  --teal-dark: #005f5f;
  --orange: #e07832;
  --orange-light: #f5a55a;
  --bg-dark: #0d1117;
  --bg-card: #161b22;
  --bg-surface: #1c2128;
  --text-main: #c9d1d9;
  --text-dim: #8b949e;
  --border-color: #30363d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.75;
}

/* ===== HEADER ===== */
.topnav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topnav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 62px;
}

.logo-link {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--teal);
}

.logo-link .dot { color: var(--orange); }

.navmenu {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.navmenu a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navmenu a:hover { color: var(--teal); }

.mobile-menu-btn {
  display: none;
  background: var(--teal);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

/* ===== HERO ===== */
.hero-block {
  background: linear-gradient(145deg, var(--bg-dark), var(--teal-dark));
  padding: 5rem 2rem;
  border-bottom: 3px solid var(--orange);
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-text h1 .highlight { color: var(--orange); }

.hero-text p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 0.85rem 2.2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.cta-btn:hover { background: var(--orange-light); }

.hero-tags {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.htag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.35rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 500;
}

.hero-game {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--teal);
  box-shadow: 0 0 30px rgba(0, 128, 128, 0.2);
}

.hero-game iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* ===== STRIP ===== */
.info-strip {
  background: var(--teal);
  padding: 1rem 2rem;
  text-align: center;
}

.info-strip p {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== SECTIONS ===== */
.sec {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.sec h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
}

.sec .sub {
  text-align: center;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

/* ===== GRID 3x2 ===== */
.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gcard {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.8rem;
  transition: border-color 0.2s;
}

.gcard:hover { border-color: var(--teal); }

.gcard-icon { font-size: 2rem; margin-bottom: 0.7rem; }

.gcard h3 {
  color: var(--orange);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.gcard p { font-size: 0.9rem; color: var(--text-dim); }

/* ===== TWO COL ===== */
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dbox {
  background: var(--bg-surface);
  border-left: 4px solid var(--orange);
  padding: 2rem;
  border-radius: 0 10px 10px 0;
}

.dbox h3 { color: #fff; margin-bottom: 0.6rem; }
.dbox p { font-size: 0.93rem; color: var(--text-dim); }

/* ===== GAME FULL ===== */
.game-embed {
  max-width: 850px;
  margin: 0 auto 3rem;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--orange);
  box-shadow: 0 0 30px rgba(224, 120, 50, 0.15);
}

.game-embed iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

/* ===== TEXT PAGES ===== */
.text-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.text-content h1 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 2rem;
}

.text-content h2 {
  font-size: 1.3rem;
  color: var(--teal);
  margin: 2rem 0 0.8rem;
}

.text-content p { margin-bottom: 1rem; }

.text-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dim);
}

.text-content ul li { margin-bottom: 0.4rem; }

/* ===== PLAY TOP ===== */
.play-head {
  text-align: center;
  padding: 3rem 2rem 1rem;
}

.play-head h1 {
  font-size: 2.3rem;
  color: #fff;
}

.play-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0.8rem auto 2rem;
}

/* ===== FOOTER ===== */
.bottom-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  text-align: center;
}

.bottom-inner { max-width: 1400px; margin: 0 auto; }

.blinks {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.blinks a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.blinks a:hover { color: var(--teal); }

.bcopy {
  color: var(--border-color);
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* ===== AGE GATE ===== */
.age-wall {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-panel {
  background: var(--bg-card);
  border: 2px solid var(--teal);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  max-width: 430px;
  width: 90%;
}

.age-panel h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.age-panel p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-size: 0.93rem;
}

.age-row { display: flex; gap: 1rem; justify-content: center; }

.age-yes {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
}

.age-no {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-dim);
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
}

.block-msg {
  display: none;
  color: #f85149;
  font-weight: 600;
  margin-top: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-game iframe { height: 380px; }
  .grid-6 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .navmenu {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
  }
  .navmenu.active { display: flex; }
  .navmenu a { padding: 0.6rem 0; display: block; }
  .hero-text h1 { font-size: 2rem; }
  .dual { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: 1fr; }
  .game-embed iframe { height: 380px; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.6rem; }
  .game-embed iframe { height: 280px; }
  .hero-game iframe { height: 280px; }
}
