@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Montserrat:wght@300;400;600;800&display=swap');

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

:root {
  --ocean-deep: #0a2a3f;
  --teal-bright: #18a89b;
  --aqua-glow: #5de8d4;
  --white: #ffffff;
  --off-white: #f0f9f7;
  --slate: #3d5c6e;
  --light-teal: rgba(24,168,155,0.1);
  --dark-surface: #0d3347;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--off-white);
  color: #2d3e47;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  color: var(--ocean-deep);
}

a { color: var(--teal-bright); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--aqua-glow); }

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10,42,63,0.95);
  backdrop-filter: blur(8px);
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-brand svg { width: 36px; height: 36px; }

.nav-brand h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--aqua-glow);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.nav-links a:hover { color: var(--aqua-glow); }

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

.overlay-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ocean-deep);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.overlay-menu.visible { display: flex; }
.overlay-menu a {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  color: var(--aqua-glow);
}
.overlay-menu .x-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--aqua-glow);
  cursor: pointer;
}

/* HERO SPLIT */
.hero-split {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}

.hero-left {
  background: linear-gradient(160deg, var(--ocean-deep), #0e3a55);
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-left h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero-left p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.btn-ocean {
  display: inline-block;
  background: var(--teal-bright);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  transition: 0.3s;
}
.btn-ocean:hover {
  background: var(--aqua-glow);
  color: var(--ocean-deep);
}

.hero-right {
  background: linear-gradient(135deg, var(--teal-bright), #0fb8a7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.hero-right svg { width: 280px; height: 280px; }

/* BADGE ROW */
.badge-row {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--ocean-deep);
}

.badge-item {
  flex: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  border-right: 1px solid rgba(93,232,212,0.2);
}
.badge-item:last-child { border-right: none; }
.badge-item .big { font-size: 1.6rem; display: block; margin-bottom: 0.3rem; }

/* GAME SECTION */
.game-section {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--off-white);
}

.game-section h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.game-section .lead {
  color: var(--slate);
  margin-bottom: 2rem;
}

.game-container {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid var(--teal-bright);
  box-shadow: 0 4px 25px rgba(24,168,155,0.15);
}

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

/* FEATURES */
.features-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.feat-card {
  padding: 3rem 2rem;
  text-align: center;
  transition: 0.3s;
}
.feat-card:nth-child(odd) { background: var(--white); }
.feat-card:nth-child(even) { background: var(--light-teal); }

.feat-card .feat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.feat-card p {
  font-size: 0.9rem;
  color: var(--slate);
}

/* ABOUT STRIP */
.about-strip {
  padding: 4rem 3rem;
  background: var(--dark-surface);
  color: var(--white);
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.about-block {
  flex: 1 1 320px;
  max-width: 500px;
}

.about-block h2 { color: var(--aqua-glow); margin-bottom: 1rem; font-size: 1.7rem; }
.about-block p { color: rgba(255,255,255,0.7); margin-bottom: 1rem; font-size: 0.95rem; }

/* PAGE CONTENT */
.page-body {
  padding: 6rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-body h1 {
  font-size: 2.3rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--teal-bright);
  padding-left: 1rem;
}

.page-body h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  color: var(--teal-bright);
}

.page-body p { margin-bottom: 1.2rem; color: var(--slate); }
.page-body ul { margin: 1rem 0 1.5rem 1.5rem; color: var(--slate); }
.page-body ul li { margin-bottom: 0.5rem; }

/* PLAY PAGE */
.play-top {
  margin-top: 56px;
  padding: 3.5rem 2rem;
  background: var(--ocean-deep);
  text-align: center;
}
.play-top h1 { color: var(--aqua-glow); font-size: 2.3rem; margin-bottom: 0.8rem; }
.play-top p { color: rgba(255,255,255,0.7); max-width: 620px; margin: 0 auto; }

/* FOOTER */
.bottom-footer {
  background: #071c2b;
  padding: 2.5rem 2rem;
  text-align: center;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.foot-nav a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.foot-nav a:hover { color: var(--aqua-glow); }

.foot-responsible {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.8rem;
}
.foot-responsible a { color: var(--teal-bright); margin: 0 0.4rem; }

.foot-copy {
  margin-top: 1.2rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* AGE GATE */
.age-screen {
  position: fixed;
  inset: 0;
  background: rgba(10,42,63,0.97);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-panel {
  background: var(--dark-surface);
  border: 2px solid var(--teal-bright);
  border-radius: 12px;
  padding: 2.8rem 2.2rem;
  text-align: center;
  max-width: 430px;
  width: 92%;
}

.age-panel h2 { color: var(--aqua-glow); margin-bottom: 1rem; font-size: 1.6rem; }
.age-panel p { color: rgba(255,255,255,0.7); margin-bottom: 1.8rem; }

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

.age-btns button {
  padding: 0.75rem 1.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-confirm { background: var(--teal-bright); color: var(--white); }
.btn-confirm:hover { background: var(--aqua-glow); color: var(--ocean-deep); }

.btn-deny { background: transparent; border: 2px solid rgba(255,255,255,0.3) !important; color: rgba(255,255,255,0.6); }
.btn-deny:hover { border-color: rgba(255,255,255,0.6) !important; color: var(--white); }

.age-block-msg { display: none; color: #ff6b6b; margin-top: 1.2rem; font-weight: 600; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }

  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 4rem 1.5rem; text-align: center; }
  .hero-left h1 { font-size: 2rem; }
  .hero-left .btn-ocean { margin: 0 auto; }
  .hero-right { padding: 2rem; }
  .hero-right svg { width: 180px; height: 180px; }

  .features-band { grid-template-columns: 1fr 1fr; }

  .badge-row { flex-direction: column; }
  .badge-item { border-right: none; border-bottom: 1px solid rgba(93,232,212,0.2); }

  .game-container iframe { height: 400px; }

  .page-body { padding: 5rem 1.2rem 3rem; }
}

@media (max-width: 480px) {
  .hero-left h1 { font-size: 1.6rem; }
  .features-band { grid-template-columns: 1fr; }
  .game-container iframe { height: 300px; }
}
