
:root {
  --bg: #25126A;
  --ink: #F7F5FF;
  --deep: #FFFFFF;
  --teal: #67E2D7;
  --aqua-light: #C6E9E4;
  --foam: #25126A;
  --coral: #ff9e86;
  --coral-dark: #E5644A;
  --muted: #DCE6FF;
  --panel: rgba(255, 255, 255, 0.08);
  --font-display: 'Gaegu', cursive;
  --font-body: 'Gaegu', cursive;
  --max-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: url('img/drenched_bg.png');
  background-repeat: no-repeat;
  background-position: center -1095px;
  background-size: auto;
  background-attachment: scroll;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.3px;
  color: var(--coral);
}
p {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 1em;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 8px;
}
.eyebrow svg { width: 22px; height: 22px; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 30px;
  padding-bottom: 12px;
  opacity: 1;
  transition: opacity 0.2s ease;
}
.nav .wrap {
  width: fit-content;
  max-width: 30%;
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 35px;
  background: rgba(136, 107, 240, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  margin: 0 auto;
  transition: opacity 0.2s ease;
}
.nav:hover,
.nav:focus-within,
.nav .wrap:hover,
.nav .wrap:focus-within,
.nav.is-scrolled:hover,
.nav.is-scrolled:focus-within,
.nav.is-scrolled:hover .wrap,
.nav.is-scrolled:focus-within .wrap {
  opacity: 1;
}
.nav.is-scrolled {
  opacity: 0.5;
}
.nav.is-scrolled .wrap {
  opacity: 0.5;
}
@media (min-width: 1200px) {
  .nav {
    padding-top: 30px;
  }
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--deep);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.nav-links a { text-decoration: none; color: var(--ink); position: relative; font-weight: 700; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.hero {
  position: relative;
  background: radial-gradient(120% 100% at 50% 0%, #3a1f79 0%, #1b0f4d 55%, var(--bg) 100%);
  color: var(--foam);
  padding: 64px 0 0;
  overflow: hidden;
}
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.hero-logo {
  display: block;
  width: 52vw;
  max-width: 624px;
  height: auto;
}
.wishlist-banner {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.wishlist-banner a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--coral);
  color: #17141A;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--coral-dark);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wishlist-banner a:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--coral-dark);
}
.hero-video {
  width: calc(100% - 32px);
  max-width: 960px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  border: 3px solid rgba(198,233,228,0.25);
  background: #06181d;
}
.hero-video .ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: transparent;
}
.hero-video video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  background: #06181d;
}
.hero-video iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.hero-video iframe[hidden] {
  display: none;
}
.hero-video .trailer-preview-note {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  margin: 0;
  padding: 24px;
  text-align: center;
  color: var(--ink);
}
.hero-video .trailer-preview-note[hidden] {
  display: none;
}
.hero-video .trailer-preview-note a {
  color: var(--teal);
}
.hero-copy {
  max-width: 780px;
  margin: 56px auto 0;
  text-align: center;
  padding-bottom: 90px;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: var(--coral);
  margin-bottom: 24px;
}
.hero-copy p { color: rgba(251,245,233,0.85); font-size: 1.3rem; }

.wave-divider { display: block; width: 100%; line-height: 0; }
.wave-divider svg { width: 100%; height: 90px; display: block; }

.section { padding: 100px 0; position: relative; background: transparent; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--deep);
}

/* Make hero and other sections follow the same layout as .section */
.hero {
  background: transparent;
  color: var(--deep);
  padding: 100px 0 0;
}

#screenshots,
#soundtrack,
#updates {
  background: transparent;
  color: var(--deep);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 88px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }
.feature-copy h3 {
  font-size: 1.6rem;
  color: var(--deep);
  margin-bottom: 14px;
}
.feature-copy p { color: var(--muted); }

.img-placeholder {
  position: relative;
  border: 0;
  border-radius: 24px;
  background: transparent;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--teal);
  font-size: 0.95rem;
  padding: 0;
  overflow: hidden;
}
.img-placeholder > .ph-inner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  border-radius: inherit;
}
.img-placeholder .ph-inner span.big {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--deep);
  margin-bottom: 6px;
}
.img-placeholder.square { aspect-ratio: 1 / 1; }

.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 1100px);
  margin: 0 auto;
  justify-items: center;
}
.screens-grid .img-placeholder {
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.screens-grid .img-placeholder:nth-child(3n+2) { aspect-ratio: 4 / 3; }
.screens-grid .img-placeholder:hover .ph-inner {
  transform: scale(1.02);
}
.screens-grid .ph-inner {
  transition: transform 0.2s ease;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 7, 17, 0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 200;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-image {
  max-width: min(92vw, 1200px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 22px;
  border: 0;
  background: rgba(255,255,255,0.15);
  color: var(--deep);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
}

.soundtrack {
  background: linear-gradient(180deg, rgba(20, 13, 58, 0.98), rgba(10, 8, 29, 0.98));
  color: var(--foam);
}
.soundtrack .section-head h2 { color: var(--foam); }
.soundtrack-panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  padding: 8px 32px 16px;
  max-width: 860px;
  margin: 0 auto;
}
.soundtrack-panel .img-placeholder {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1/1;
  border: 0;
  color: var(--aqua-light);
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}
.soundtrack-panel .img-placeholder img {
  display: block;
  width: 110%;
  height: 110%;
  max-width: 110%;
  max-height: 110%;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  background: transparent;
  animation: album-spin 18s linear infinite;
  transform-origin: center center;
}
@keyframes album-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.soundtrack-copy p { color: rgba(251,245,233,0.85); margin-bottom: 18px; }
.soundtrack-copy {
  display: flex;
  flex-direction: column;
  gap: 45px;
}
.spotify-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--teal);
  color: var(--foam);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
  width: fit-content;
  min-width: 0;
}

.updates-empty {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border: 2px dashed rgba(103,226,215,0.4);
  border-radius: 24px;
  padding: 48px 32px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
}
.updates-empty .display { font-size: 1.4rem; color: var(--deep); display: block; margin-bottom: 10px; }

footer {
  background: transparent;
  color: var(--muted);
  padding: 48px 0 32px;
  text-align: center;
  font-size: 0.95rem;
}
footer .nav-logo { color: var(--muted); display: block; margin-bottom: 14px; font-size: 1.4rem; }
footer .nav-links { justify-content: center; margin-bottom: 18px; color: var(--muted); }
footer .nav-links a { color: var(--muted); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.team-page {
  background-color: var(--bg);
  background-image: url('img/drenched_bg.png');
  background-repeat: no-repeat;
  background-position: center -1095px;
  background-size: auto;
  color: var(--deep);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
.crew-fish-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.crew-fish {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(64px, 7vw, 120px);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.2));
  transform-origin: center;
  will-change: transform, opacity;
}
.fish-01, .fish-02, .fish-03, .fish-04, .fish-05, .fish-06,
.fish-07, .fish-08, .fish-09, .fish-10, .fish-11, .fish-12,
.fish-13, .fish-14, .fish-15, .fish-16, .fish-17, .fish-18,
.fish-19, .fish-20, .fish-21, .fish-22, .fish-23, .fish-24,
.fish-25, .fish-26, .fish-27, .fish-28, .fish-29, .fish-30,
.fish-31, .fish-32 {
  width: clamp(54px, 5vw, 110px);
  opacity: 0;
}
.fish-01 { left: 4%; }
.fish-02 { left: 12%; }
.fish-03 { left: 17%; }
.fish-04 { left: 24%; }
.fish-05 { left: 31%; }
.fish-06 { left: 38%; }
.fish-07 { left: 45%; }
.fish-08 { left: 52%; }
.fish-09 { left: 59%; }
.fish-10 { left: 66%; }
.fish-11 { left: 73%; }
.fish-12 { left: 80%; }
.fish-13 { left: 87%; }
.fish-14 { left: 92%; }
.fish-15 { left: 6%; }
.fish-16 { left: 19%; }
.fish-17 { left: 27%; }
.fish-18 { left: 36%; }
.fish-19 { left: 49%; }
.fish-20 { left: 63%; }
.fish-21 { left: 76%; }
.fish-22 { left: 88%; }
.fish-23 { left: 9%; }
.fish-24 { left: 21%; }
.fish-25 { left: 35%; }
.fish-26 { left: 51%; }
.fish-27 { left: 67%; }
.fish-28 { left: 82%; }
.fish-29 { left: 94%; }
.fish-30 { left: 11%; }
.fish-31 { left: 43%; }
.fish-32 { left: 73%; }
.team-main {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 46px;
  padding-bottom: 80px;
  max-width: 1380px;
  width: min(1380px, calc(100% - 48px));
}
.team-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1.1;
  margin: 0 0 15vh;
  color: var(--deep);
  font-weight: 400;
  letter-spacing: 0.03em;
}
.team-director {
  margin-bottom: 36px;
}
.team-role-label,
.team-name-block,
.team-name,
.team-role {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0;
  font-weight: 400;
}
.team-role-label {
  font-size: calc(1.3rem * 1.3 * 1.2);
  color: var(--coral);
  margin-bottom: 7vh;
  font-weight: 700;
}
.team-name-block {
  font-size: 1.8rem;
  color: var(--deep);
}
.team-list {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(420px, 2.4fr);
  gap: 28px;
  align-items: start;
}
.team-list:has(.team-name-column:only-child) {
  grid-template-columns: 1fr;
}
.team-name-column,
.team-role-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.team-name-column {
  align-items: flex-start;
  text-align: left;
}
.team-name-column:only-child {
  width: min(100%, 720px);
  margin: 0 auto;
  align-items: center;
  text-align: center;
}
.team-role-column {
  align-items: flex-end;
  text-align: right;
}
.team-name,
.team-role {
  font-size: 1.65rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.team-name { color: var(--deep); }
.team-role { color: rgba(255,255,255,0.9); }
.team-section {
  width: min(900px, 100%);
  margin: 0 auto 15vh;
}
@media (max-width: 900px) {
  .team-main {
    width: min(100%, calc(100% - 28px));
    padding-top: 26px;
  }
  .team-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
    margin-bottom: 8vh;
  }
  .team-section {
    width: min(100%, 720px);
    margin: 0 auto 10vh;
  }
  .team-role-label {
    font-size: clamp(1.25rem, 4vw, 1.8rem);
    margin-bottom: 4vh;
  }
  .team-list {
    grid-template-columns: minmax(150px, 0.95fr) minmax(150px, 1.35fr);
    gap: 12px;
    width: 100%;
  }
  .team-name-column,
  .team-role-column {
    align-items: center;
    text-align: center;
  }
  .team-name,
  .team-role {
    font-size: clamp(0.92rem, 2.6vw, 1.22rem);
    text-align: center;
  }
}
@media (max-width: 560px) {
  .team-main {
    width: min(100%, calc(100% - 20px));
  }
  .team-title {
    margin-bottom: 6vh;
  }
  .team-role-label {
    margin-bottom: 3vh;
  }
  .team-list {
    grid-template-columns: minmax(120px, 0.9fr) minmax(120px, 1.1fr);
    gap: 10px;
  }
  .team-name-column,
  .team-role-column {
    gap: 10px;
  }
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.card { text-align: center; }
.avatar {
  border: 2px dashed rgba(103,226,215,0.55);
  border-radius: 50%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 0.9rem;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(103,226,215,0.16), rgba(255,255,255,0.08));
}
.card h3 {
  font-family: var(--font-display);
  color: var(--deep);
  margin: 0 0 4px;
  font-weight: 400;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-copy { order: initial; }
  .screens-grid { grid-template-columns: repeat(2, 1fr); }
  .soundtrack-panel { grid-template-columns: 1fr; text-align: center; }
  .nav-links { gap: 16px; font-size: 0.95rem; }
}
@media (max-width: 700px) {
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .screens-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
