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

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

:root {
  --ocean: #0e7490;
  --teal: #14b8a6;
  --deep-sea: #042f2e;
  --wave: #083344;
  --foam: #ecfeff;
  --sand: #fefce8;
  --txt: #134e4a;
  --txt-soft: #5eead4;
  --txt-body: #6b7280;
}

html { scroll-behavior: smooth; }
body { font-family: 'Work Sans', sans-serif; background: var(--foam); color: var(--txt); line-height: 1.8; }
h1, h2, h3, h4 { font-family: 'Josefin Sans', sans-serif; font-weight: 700; }
a { color: var(--ocean); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--teal); }

/* WAVE NAV */
.wave-nav {
  position: fixed; top: 0; width: 100%; z-index: 1000; height: 68px;
  background: var(--deep-sea); display: flex; align-items: center;
  justify-content: space-between; padding: 0 2.5rem;
}
.wn-logo { display: flex; align-items: center; gap: 10px; }
.wn-logo svg { width: 32px; height: 32px; }
.wn-logo span { font-family: 'Josefin Sans', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--txt-soft); letter-spacing: 1px; }
.wn-menu { display: flex; gap: 1.6rem; list-style: none; }
.wn-menu a { font-size: 0.85rem; font-weight: 600; color: rgba(94,234,212,0.6); text-transform: uppercase; letter-spacing: 0.8px; }
.wn-menu a:hover, .wn-menu a.act { color: var(--txt-soft); }
.wn-ham { display: none; background: none; border: none; cursor: pointer; }
.wn-ham span { display: block; width: 24px; height: 2.5px; background: var(--txt-soft); margin: 4px 0; border-radius: 2px; }

/* OCEAN HERO */
.ocean-hero {
  padding: 120px 2.5rem 5rem; text-align: center;
  background: linear-gradient(180deg, var(--deep-sea) 0%, var(--wave) 50%, var(--ocean) 100%);
  position: relative;
}
.ocean-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 60px;
  background: var(--foam);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.ocean-hero h1 { font-size: 3rem; color: #fff; margin-bottom: 1rem; }
.ocean-hero h1 .wave-txt { color: var(--txt-soft); }
.ocean-hero > p { max-width: 680px; margin: 0 auto 2rem; color: rgba(255,255,255,0.7); font-size: 1.05rem; }
.sea-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; }
.stag {
  background: rgba(255,255,255,0.1); border: 1.5px solid var(--txt-soft); color: var(--txt-soft);
  padding: 0.45rem 1.3rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
}

/* GAME */
.game-reef { max-width: 960px; margin: 0 auto; padding: 4rem 2rem; }
.game-reef h2 { text-align: center; font-size: 2rem; color: var(--txt); margin-bottom: 1.5rem; }
.reef-frame {
  width: 100%; padding-top: 64%; position: relative; border-radius: 20px; overflow: hidden;
  border: 3px solid var(--ocean); box-shadow: 0 8px 30px rgba(14,116,144,0.15);
}
.reef-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* TIDE CARDS */
.tide-row {
  max-width: 1200px; margin: 3rem auto; padding: 0 2rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.tide-card {
  background: #fff; border-radius: 16px; padding: 2rem; text-align: center;
  box-shadow: 0 4px 20px rgba(14,116,144,0.08); border-bottom: 4px solid var(--teal);
  transition: 0.3s;
}
.tide-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(14,116,144,0.15); }
.tide-card .ico { font-size: 2.2rem; margin-bottom: 0.7rem; }
.tide-card h3 { font-size: 1rem; color: var(--ocean); margin-bottom: 0.4rem; }
.tide-card p { font-size: 0.85rem; color: var(--txt-body); }

/* CURRENT SECTION */
.current-sec {
  background: var(--deep-sea); padding: 4rem 2.5rem; margin: 3rem 0; text-align: center;
  position: relative;
}
.current-sec::before {
  content: ''; position: absolute; top: -2px; left: 0; width: 100%; height: 40px;
  background: var(--foam); clip-path: ellipse(55% 100% at 50% 0);
}
.current-sec h2 { font-size: 1.8rem; color: var(--txt-soft); margin-bottom: 1rem; }
.current-sec p { max-width: 750px; margin: 0 auto 1rem; color: rgba(94,234,212,0.6); }

/* PAGE */
.vl-pg { max-width: 860px; margin: 0 auto; padding: 110px 2rem 4rem; }
.vl-pg h1 { font-size: 2.2rem; color: var(--txt); margin-bottom: 1rem; }
.vl-pg h3 { font-size: 1.1rem; color: var(--ocean); margin: 1.8rem 0 0.6rem; }
.vl-pg p { color: var(--txt-body); margin-bottom: 1rem; }
.vl-pg ul { margin: 0.6rem 0 1rem 1.5rem; }
.vl-pg li { color: var(--txt-body); margin-bottom: 0.3rem; }

/* PLAY */
.play-shore { padding: 110px 2rem 2rem; text-align: center; }
.play-shore h1 { font-size: 2rem; color: var(--txt); margin-bottom: 0.5rem; }
.play-shore p { color: var(--txt-body); max-width: 580px; margin: 0 auto; }
.play-drift {
  max-width: 680px; margin: 2rem auto; background: #fff; border-radius: 16px;
  padding: 1.5rem 2rem; box-shadow: 0 4px 12px rgba(14,116,144,0.08);
  border-left: 5px solid var(--teal); text-align: left;
}
.play-drift h3 { color: var(--ocean); margin-bottom: 0.5rem; }
.play-drift li { color: var(--txt-body); font-size: 0.88rem; margin-bottom: 0.3rem; }

/* FOOTER */
.sea-footer {
  background: var(--deep-sea); padding: 3rem 2rem; text-align: center; margin-top: 4rem;
  position: relative;
}
.sea-footer::before {
  content: ''; position: absolute; top: -2px; left: 0; width: 100%; height: 40px;
  background: var(--foam); clip-path: ellipse(55% 100% at 50% 0);
}
.sf-links { display: flex; justify-content: center; gap: 1.6rem; flex-wrap: wrap; margin-bottom: 1.2rem; padding-top: 1rem; }
.sf-links a { color: rgba(94,234,212,0.6); font-size: 0.88rem; }
.sf-links a:hover { color: var(--txt-soft); }
.sf-resp { margin-bottom: 1rem; }
.sf-resp p { color: rgba(94,234,212,0.5); font-size: 0.82rem; margin-bottom: 0.3rem; }
.sf-resp a { color: var(--txt-soft); font-size: 0.82rem; margin: 0 0.4rem; }
.sf-copy { color: rgba(94,234,212,0.3); font-size: 0.72rem; }

/* AGE */
.age-tide {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(4,47,46,0.96); display: flex; align-items: center; justify-content: center;
}
.age-tide.gone { display: none; }
.age-shell {
  background: var(--foam); border-radius: 20px; padding: 2.5rem; text-align: center;
  max-width: 420px; width: 90%; border: 3px solid var(--teal);
  box-shadow: 0 12px 40px rgba(14,116,144,0.3);
}
.age-shell h2 { font-size: 1.4rem; color: var(--txt); margin-bottom: 0.7rem; }
.age-shell p { color: var(--txt-body); margin-bottom: 1.5rem; font-size: 0.92rem; }
.age-pair { display: flex; gap: 1rem; justify-content: center; }
.age-pair button {
  padding: 0.65rem 2rem; border-radius: 50px; font-family: 'Josefin Sans', sans-serif;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none; transition: 0.3s;
}
.vl-y { background: linear-gradient(135deg, var(--ocean), var(--teal)); color: #fff; }
.vl-y:hover { opacity: 0.85; }
.vl-n { background: #f1f5f9; color: var(--txt-body); }
.vl-n:hover { background: #fee2e2; color: #b91c1c; }

@media (max-width: 768px) {
  .wn-ham { display: block; }
  .wn-menu {
    position: fixed; top: 68px; left: 0; width: 100%; background: var(--deep-sea);
    flex-direction: column; padding: 1.5rem 2rem; gap: 1rem;
    transform: translateX(-100%); transition: 0.3s;
  }
  .wn-menu.open { transform: translateX(0); }
  .ocean-hero h1 { font-size: 2rem; }
  .ocean-hero::after { height: 30px; }
  .tide-row { grid-template-columns: 1fr; }
  .reef-frame { padding-top: 75%; }
  .current-sec::before { height: 20px; }
  .sea-footer::before { height: 20px; }
}
