@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
  --ocean-deep: #042f2e;
  --ocean-mid: #0a3d3c;
  --teal: #14b8a6;
  --cyan: #06b6d4;
  --ice: #ecfeff;
  --muted: #99f6e4;
  --dim: #5eead4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--ocean-deep);
  color: var(--ice);
  line-height: 1.75;
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(4, 47, 46, 0.96);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

.brand-mark {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--teal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark svg { width: 30px; height: 30px; }

.nav-list { display: flex; list-style: none; gap: 1.3rem; }

.nav-list a {
  color: var(--dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-list a:hover { color: var(--cyan); }

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.menu-icon span {
  width: 24px;
  height: 2px;
  background: var(--teal);
  transition: all 0.3s;
}

.menu-icon.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.menu-icon.active span:nth-child(2) { opacity: 0; }
.menu-icon.active span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

/* Center Column Hero */
.center-hero {
  padding: 120px 2rem 80px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.center-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.center-hero p {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.btn-teal {
  display: inline-block;
  padding: 14px 42px;
  background: var(--teal);
  color: var(--ocean-deep);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}

.btn-teal:hover { background: var(--cyan); transform: scale(1.03); }

/* Horizontal Cards */
.h-cards {
  display: flex;
  gap: 1px;
  background: var(--ocean-mid);
}

.h-card {
  flex: 1;
  padding: 3rem 2rem;
  background: var(--ocean-deep);
  text-align: center;
}

.h-card .hc-icon { font-size: 2.2rem; margin-bottom: 0.8rem; }

.h-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--teal);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.h-card p { color: var(--dim); font-size: 0.92rem; }

/* Game Showcase */
.showcase {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--ocean-mid);
}

.showcase h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.showcase-frame {
  max-width: 960px;
  margin: 0 auto;
  border: 2px solid rgba(6, 182, 212, 0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(20, 184, 166, 0.06);
}

.showcase-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* Wide Text */
.wide-text {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.wide-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.wide-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Checklist */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 4rem 3rem;
  background: var(--ocean-mid);
  max-width: 1100px;
  margin: 0 auto;
}

.check-item {
  padding: 2rem;
  background: var(--ocean-deep);
  border-radius: 12px;
  border-left: 4px solid var(--teal);
}

.check-item h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.check-item p { color: var(--dim); font-size: 0.92rem; }

/* Footer */
.ocean-footer {
  background: var(--ocean-deep);
  border-top: 1px solid rgba(20, 184, 166, 0.15);
  padding: 2.5rem 2rem;
  text-align: center;
}

.of-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.of-links a { color: var(--teal); text-decoration: none; font-size: 0.88rem; }
.of-links a:hover { color: var(--cyan); }
.ocean-footer p { color: var(--dim); font-size: 0.8rem; }

/* Age Screen */
.age-screen {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.age-prompt {
  background: var(--ocean-mid);
  border: 2px solid var(--teal);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
}

.age-prompt h2 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--teal);
  margin-bottom: 1rem;
}

.age-prompt p { color: var(--muted); margin-bottom: 2rem; }

.age-row { display: flex; gap: 1rem; justify-content: center; }

.age-row button {
  padding: 12px 30px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.age-row .a-yes { background: var(--teal); color: var(--ocean-deep); }
.age-row .a-no { background: transparent; border: 1px solid var(--dim); color: var(--dim); }
.age-row button:hover { opacity: 0.9; }

/* Pages */
.std-page {
  padding: 100px 2rem 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.std-page h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  color: var(--cyan);
  margin-bottom: 2rem;
  text-align: center;
}

.std-page h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  color: var(--teal);
  margin: 2rem 0 0.8rem;
}

.std-page p, .std-page li {
  color: var(--muted);
  margin-bottom: 0.8rem;
  font-size: 1.02rem;
}

.std-page ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }

@media (max-width: 768px) {
  .menu-icon { display: flex; }

  .nav-list {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--ocean-deep);
    flex-direction: column;
    padding: 80px 2rem;
    transition: left 0.35s;
    border-right: 1px solid rgba(20, 184, 166, 0.2);
  }

  .nav-list.open { left: 0; }

  .center-hero h1 { font-size: 2.2rem; }
  .h-cards { flex-direction: column; }
  .check-grid { grid-template-columns: 1fr; }
  .showcase-frame iframe { height: 380px; }
  .std-page { padding: 80px 1.5rem 60px; }
}
