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

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal-deep: #0B3D3F;
  --teal-mid: #14706E;
  --coral: #FF6B5A;
  --coral-light: #FF8F82;
  --off-white: #F4F0EB;
  --charcoal: #1C1C1C;
  --text-body: #2A2A2A;
}

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--off-white);
  color: var(--text-body);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-family: 'Raleway', sans-serif; }

a { color: var(--coral); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--coral-light); }

/* NAVIGATION */
.top-bar {
  background: var(--teal-deep);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.top-bar-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
}

.brand {
  font-family: 'Raleway', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand svg { width: 32px; height: 32px; }

.main-nav { display: flex; gap: 1.2rem; list-style: none; }
.main-nav a {
  color: var(--off-white);
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 0;
  transition: color 0.3s;
}
.main-nav a:hover, .main-nav a.current { color: var(--coral); }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--coral);
  margin: 6px 0;
  transition: 0.3s;
}

/* HERO BANNER */
.banner {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-mid));
  padding: 6rem 2rem 5rem;
  color: white;
  position: relative;
}
.banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom right, transparent 49.5%, var(--off-white) 50%);
}
.banner-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.banner-text h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.banner-text h1 span { color: var(--coral); }
.banner-text p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
}

/* ALERT STRIP */
.alert-strip {
  background: var(--charcoal);
  color: white;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 1rem 2rem;
}
.alert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--coral-light);
}

/* GAME AREA */
.game-section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.game-frame {
  background: var(--teal-deep);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(11,61,63,0.3);
}
.game-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* TWO-COL */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  align-items: start;
}
.split-box {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.split-box h3 {
  color: var(--teal-deep);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--coral);
  display: inline-block;
}

/* STATS ROW */
.stats-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--teal-deep);
  padding: 3rem 2rem;
  color: white;
  margin: 3rem 0;
}
.stat-block { text-align: center; min-width: 150px; }
.stat-block .val {
  font-family: 'Raleway', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--coral);
}
.stat-block .lbl { font-size: 0.85rem; opacity: 0.7; margin-top: 0.3rem; }

/* FEATURES */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.feature-tile {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  border-top: 4px solid var(--coral);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.feature-tile h4 { color: var(--teal-deep); margin-bottom: 0.6rem; font-size: 1.15rem; }
.feature-tile p { font-size: 0.9rem; opacity: 0.8; }

/* TEXT PAGES */
.text-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}
.text-page h1 {
  font-size: 2.4rem;
  color: var(--teal-deep);
  margin-bottom: 1.5rem;
  text-align: center;
}
.text-page h2 {
  color: var(--teal-mid);
  font-size: 1.4rem;
  margin: 2.2rem 0 0.8rem;
  border-left: 4px solid var(--coral);
  padding-left: 1rem;
}
.text-page p { margin-bottom: 1rem; }
.text-page ul { margin: 1rem 0 1rem 1.5rem; }
.text-page ul li { margin-bottom: 0.4rem; }

/* PLAY PAGE */
.play-header {
  text-align: center;
  padding: 3rem 2rem 1rem;
}
.play-header h1 { color: var(--teal-deep); font-size: 2.4rem; }
.play-tip {
  background: var(--teal-deep);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  max-width: 700px;
  margin: 1.5rem auto;
  font-size: 0.9rem;
  text-align: center;
}

/* FOOTER */
.footer {
  background: var(--charcoal);
  padding: 2rem;
  text-align: center;
}
.responsible-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.responsible-links a { color: var(--coral-light); font-size: 0.9rem; }
.footer-text { color: rgba(255,255,255,0.4); font-size: 0.78rem; }

/* AGE GATE */
.age-wall {
  position: fixed;
  inset: 0;
  background: rgba(11,61,63,0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.age-dialog {
  background: var(--teal-deep);
  border: 2px solid var(--coral);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
  color: white;
}
.age-dialog h2 { color: var(--coral); margin-bottom: 1rem; font-size: 1.7rem; }
.age-dialog p { margin-bottom: 1.5rem; opacity: 0.9; }
.age-btns { display: flex; gap: 1rem; justify-content: center; }
.btn-confirm, .btn-deny {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}
.btn-confirm { background: var(--coral); color: white; }
.btn-confirm:hover { background: var(--coral-light); }
.btn-deny { background: transparent; border: 2px solid var(--coral); color: var(--coral); }
.btn-deny:hover { background: rgba(255,107,90,0.1); }
.denied-msg { display: none; color: #FF6B5A; margin-top: 1rem; font-weight: 700; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .burger { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--teal-deep);
    flex-direction: column;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.show { display: flex; }
  .top-bar-inner { position: relative; }
  .banner-text h1 { font-size: 2rem; }
  .split-section { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; }
  .game-frame iframe { height: 380px; }
}

@media (max-width: 480px) {
  .alert-strip { flex-direction: column; align-items: center; gap: 0.5rem; }
  .stats-row { flex-direction: column; align-items: center; }
}
