:root {
  --bg: #071018;
  --bg-2: #0d1c28;
  --ink: #f3f7fb;
  --muted: #9db3c4;
  --line: rgba(255, 255, 255, 0.1);
  --ginger: #e07a32;
  --ginger-deep: #b45316;
  --lime: #c8f000;
  --lime-ink: #132000;
  --pool: #14b4d8;
  --pool-deep: #0a6f8d;
  --goggle: #2b8cff;
  --glass: rgba(10, 22, 32, 0.55);
  --display: "Titan One", "Arial Black", sans-serif;
  --sport: "Bebas Neue", Impact, sans-serif;
  --script: "Caveat", cursive;
  --body: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(20, 180, 216, 0.16), transparent 55%),
    radial-gradient(900px 600px at 100% 0%, rgba(200, 240, 0, 0.08), transparent 50%),
    linear-gradient(180deg, #08141d 0%, #071018 40%, #0a1a24 100%);
}
.stage-wash {
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 40px,
      rgba(20, 180, 216, 0.03) 40px 80px
    );
  animation: wash 18s linear infinite;
}
.stage-caustic {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 40% 20% at 20% 30%, rgba(20, 180, 216, 0.18), transparent 50%),
    radial-gradient(ellipse 35% 18% at 70% 20%, rgba(43, 140, 255, 0.12), transparent 48%),
    radial-gradient(ellipse 30% 16% at 50% 70%, rgba(200, 240, 0, 0.08), transparent 50%);
  filter: blur(8px);
  animation: caustic 12s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}
.stage-spot {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}
.stage-spot-a { top: -12%; left: -8%; background: #12485a; animation: drift 16s ease-in-out infinite; }
.stage-spot-b { top: 18%; right: -12%; background: #3a2a10; animation: drift 20s ease-in-out infinite reverse; }
.stage-spot-c { bottom: -10%; left: 30%; background: #1a3a12; animation: drift 22s ease-in-out infinite; }
.stage-grain {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#lane-sparks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@keyframes wash { to { transform: translateX(-80px); } }
@keyframes caustic {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6%, 8%); }
}

.lives {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.lives span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--sport);
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--muted);
}
.lives i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}
.lives i.is-live {
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}

.nav, main, footer, .tape, .drawer { position: relative; z-index: 2; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px 14px 56px;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.is-on {
  background: rgba(7, 16, 24, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--lime);
  box-shadow: 0 0 0 3px rgba(43, 140, 255, 0.45);
}
.nav-brand b {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-family: var(--sport);
  letter-spacing: 0.12em;
  font-size: 18px;
}
.nav-links a {
  position: relative;
  color: var(--muted);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: var(--lime);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-end { display: flex; align-items: center; gap: 10px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}
.chip img { width: 14px; height: 14px; }
.btn-lime img { filter: brightness(0); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn img { width: 16px; height: 16px; }
.btn-lime {
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 0 0 3px rgba(43, 140, 255, 0.25), 0 10px 24px rgba(200, 240, 0, 0.18);
}
.btn-lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(43, 140, 255, 0.4), 0 14px 28px rgba(200, 240, 0, 0.28);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  border-color: var(--pool);
  background: rgba(20, 180, 216, 0.1);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 20px; min-width: 180px; }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}
.drawer {
  display: none;
  position: fixed;
  inset: 78px 16px auto;
  z-index: 19;
  padding: 18px;
  border-radius: 20px;
  background: rgba(8, 18, 26, 0.94);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  flex-direction: column;
  gap: 14px;
  font-family: var(--sport);
  letter-spacing: 0.1em;
  font-size: 22px;
}
.drawer.is-open { display: flex; }

.tape {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}
.tape-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 10px 0;
  animation: ticker 28s linear infinite;
  font-family: var(--sport);
  letter-spacing: 0.08em;
  font-size: 18px;
  color: var(--muted);
}
.tape-track b { color: var(--lime); }
.tape-track .down { color: #ff6b6b; }
@keyframes ticker { to { transform: translateX(-50%); } }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 48px 72px 80px 88px;
  min-height: calc(100vh - 130px);
}
.script {
  font-family: var(--script);
  color: var(--lime);
  font-size: 32px;
  line-height: 1;
}
.kicker {
  margin-top: 10px;
  font-family: var(--sport);
  letter-spacing: 0.16em;
  color: var(--muted);
  font-size: 18px;
}
.hero h1,
.section-head h2,
.join h2 {
  font-family: var(--display);
  font-size: clamp(72px, 10vw, 128px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: #eaf7ff;
  text-shadow:
    0 2px 0 #0b4b63,
    4px 5px 0 #083544,
    7px 9px 0 rgba(43, 140, 255, 0.28),
    0 14px 0 rgba(200, 240, 0, 0.2);
}
.hero h1 {
  display: inline-block;
}
.hero h1::after,
.section-head h2::after {
  content: "";
  display: block;
  width: 68%;
  height: 9px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), #8ed000);
  box-shadow: 0 0 18px rgba(200, 240, 0, 0.45);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 16px;
}
.pill {
  border-radius: 999px;
  padding: 6px 12px;
  font-family: var(--sport);
  letter-spacing: 0.08em;
  font-size: 16px;
  background: rgba(224, 122, 50, 0.18);
  border: 1px solid rgba(224, 122, 50, 0.4);
}
.pill-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}
.pill-lime {
  background: rgba(200, 240, 0, 0.14);
  border-color: rgba(200, 240, 0, 0.4);
  color: var(--lime);
}
.lede {
  max-width: 34ch;
  font-size: 20px;
  line-height: 1.5;
  color: #d5e4ee;
}
.ca-bar {
  margin: 24px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
}
.ca-bar small {
  font-family: var(--sport);
  letter-spacing: 0.12em;
  color: var(--muted);
}
.ca-bar code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c9e8f6;
  font-size: 13px;
}
.ca-bar button {
  background: var(--goggle);
  color: white;
  border-radius: 12px;
  padding: 8px 14px;
  font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-shot {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 900px;
}
.shot-orbit {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px dashed rgba(200, 240, 0, 0.28);
  animation: spin 22s linear infinite;
}
.shot-orbit b {
  position: absolute;
  font-family: var(--sport);
  font-size: 18px;
  color: var(--lime);
  background: rgba(7, 16, 24, 0.8);
  padding: 2px 8px;
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(200, 240, 0, 0.2);
}
.shot-orbit b:nth-child(1) { top: 8%; left: 12%; }
.shot-orbit b:nth-child(2) { right: 6%; top: 42%; }
.shot-orbit b:nth-child(3) { bottom: 10%; left: 22%; }
@keyframes spin { to { transform: rotate(360deg); } }

.stock-frame {
  width: min(460px, 86%);
  border-radius: 28px;
  padding: 14px 14px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 8px rgba(43, 140, 255, 0.18),
    0 0 0 14px rgba(200, 240, 0, 0.12),
    30px 40px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
  transition: transform 0.25s ease;
}
.stock-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  filter: saturate(1.08) contrast(1.04);
}
.stock-frame figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 0 6px;
}
.stock-frame em {
  font-family: var(--sport);
  letter-spacing: 0.16em;
  font-size: 14px;
  color: var(--muted);
  font-style: normal;
}
.stock-frame strong {
  font-family: var(--display);
  font-size: 18px;
}
.shot-note {
  margin-top: 22px;
  font-family: var(--script);
  font-size: 26px;
  color: #d7eef7;
}

.about, .howto, .chart { padding: 90px 72px 90px 88px; }
.howto {
  background:
    linear-gradient(180deg, transparent, rgba(20, 180, 216, 0.05) 40%, transparent),
    repeating-linear-gradient(
      90deg,
      transparent 0 90px,
      rgba(255, 255, 255, 0.015) 90px 92px
    );
}
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 {
  font-size: clamp(56px, 7vw, 92px);
  margin: 6px 0 10px;
}
.section-sub { color: var(--muted); font-size: 18px; max-width: 46ch; }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}
.story-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.story-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid var(--lime);
  box-shadow: 0 0 0 6px rgba(43, 140, 255, 0.25);
}
.story-card h3 {
  font-family: var(--sport);
  font-size: 32px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.story-card p { color: #d4e3ed; line-height: 1.65; }

.index-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.index-list li {
  padding: 18px 18px 18px 16px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime);
  transform: translateX(0);
  transition: transform 0.25s, border-color 0.25s;
}
.index-list li:hover {
  transform: translateX(6px);
  border-left-color: var(--goggle);
}
.index-list span {
  font-family: var(--sport);
  color: var(--pool);
  letter-spacing: 0.12em;
}
.index-list h4 {
  font-family: var(--sport);
  font-size: 26px;
  letter-spacing: 0.04em;
  margin: 2px 0 6px;
}
.index-list p { color: var(--muted); font-size: 15px; }

.stat-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stat-row div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(20, 180, 216, 0.08);
  border: 1px solid rgba(20, 180, 216, 0.18);
  text-align: center;
}
.stat-row b {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  color: var(--lime);
}
.stat-row small { color: var(--muted); }

.lanes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lanes li {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 80, 100, 0.28), rgba(7, 16, 24, 0.6));
  border: 1px solid rgba(20, 180, 216, 0.2);
  min-height: 320px;
}
.lane-buoys {
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background:
    repeating-linear-gradient(
      180deg,
      #f4f7fb 0 10px,
      var(--goggle) 10px 20px,
      var(--lime) 20px 30px
    );
}
.lanes em {
  display: block;
  font-family: var(--sport);
  letter-spacing: 0.14em;
  color: var(--pool);
  margin-bottom: 16px;
}
.lanes img {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}
.lanes h3 {
  font-family: var(--sport);
  font-size: 30px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.lanes p { color: var(--muted); line-height: 1.5; }
.lanes a {
  display: inline-block;
  margin-top: 16px;
  color: var(--lime);
  font-weight: 600;
}

.visor {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 560px;
  background: #05080c;
  border: 10px solid #11181f;
  box-shadow:
    0 0 0 6px #2b8cff,
    0 0 0 12px #c8f000,
    0 30px 80px rgba(0, 0, 0, 0.45);
}
.visor-rim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(200, 240, 0, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%);
  z-index: 2;
}
.visor iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.js .story-card,
.js .index-list li,
.js .stat-row div,
.js .lanes li,
.js .visor,
.js .join-banner {
  opacity: 0;
  transform: translateY(24px);
}
.chart-out {
  margin-top: 16px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-out a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}
.chart-out img { width: 16px; height: 16px; }

.join { padding: 40px 28px 80px 56px; }
.join-banner {
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(7, 16, 24, 0.55);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.join-shot {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: #0a1a24;
}
.join-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: ken 22s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.join-banner figcaption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 40px 40px;
  background:
    linear-gradient(180deg, rgba(6, 14, 20, 0.15), rgba(6, 14, 20, 0.92));
}
.join h2 {
  font-size: clamp(64px, 8vw, 104px);
  margin: 4px 0 12px;
}
.join-banner p:not(.script) {
  max-width: 38ch;
  color: #e6f3f9;
  font-size: 18px;
}
.join-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.join-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(7, 16, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  min-width: 180px;
  transition: transform 0.2s, border-color 0.2s;
}
.join-links a:hover {
  transform: translateY(-3px);
  border-color: var(--lime);
}
.join-links img { width: 22px; height: 22px; }

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 72px 36px 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.foot-icons { display: flex; gap: 12px; }
.foot-icons a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.foot-icons img { width: 16px; height: 16px; }

.js .reveal {
  animation: rise 0.8s ease forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .stock-frame { transform: none; }
  .join-shot img { animation: none; }
}

@media (max-width: 1100px) {
  .hero, .about, .howto, .chart, .foot { padding-left: 28px; padding-right: 28px; }
  .nav { padding-left: 20px; }
  .lives { display: none; }
  .hero, .about-grid, .lanes, .stat-row { grid-template-columns: 1fr 1fr; }
  .lanes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .chip, .nav-end .btn { display: none; }
  .menu-btn { display: flex; }
  .hero, .about-grid, .stat-row, .lanes { grid-template-columns: 1fr; }
  .story-card { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; min-height: auto; }
  .hero h1 { font-size: 84px; }
  .join { padding: 20px 16px 48px; }
  .join-banner figcaption { padding: 22px; }
  .foot { flex-direction: column; text-align: center; padding: 24px; }
  .visor { min-height: 420px; }
}
