:root {
  --ink: #f4fbff;
  --muted: rgba(235, 248, 255, .72);
  --line: rgba(255, 255, 255, .18);
  --glass: rgba(2, 24, 43, .38);
  --glass-deep: rgba(2, 17, 32, .72);
  --cyan: #b8efff;
  --cyan-2: #61d6ff;
  --shadow: 0 24px 80px rgba(0, 15, 32, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--ink);
  background: #063a5f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }

.bg {
  position: fixed;
  inset: 0;
  z-index: -5;
  background: url("assets/ocean-sharks-bg.png") center center / cover no-repeat;
  transform: scale(1.012);
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 22, 45, .20), rgba(0, 25, 47, .06) 34%, rgba(0, 19, 36, .40)),
    radial-gradient(circle at center, transparent 30%, rgba(0, 18, 38, .32) 100%);
}
.caustics {
  position: fixed;
  inset: -15%;
  z-index: -3;
  pointer-events: none;
  opacity: .25;
  background:
    repeating-radial-gradient(ellipse at 50% -20%, transparent 0 8%, rgba(255,255,255,.07) 9%, transparent 10% 16%);
  animation: drift 18s linear infinite alternate;
  mix-blend-mode: screen;
}
@keyframes drift { to { transform: translate3d(2.5%, 2%, 0) scale(1.03); } }

.bubbles { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.bubble {
  position: absolute;
  bottom: -80px;
  width: var(--size);
  height: var(--size);
  left: var(--left);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.32);
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.34), rgba(255,255,255,.05) 48%, transparent 70%);
  box-shadow: inset -2px -3px 8px rgba(0, 73, 111, .23);
  animation: rise var(--duration) linear infinite;
  animation-delay: var(--delay);
  opacity: var(--opacity);
}
@keyframes rise {
  from { transform: translate3d(0, 0, 0) scale(.75); }
  50% { transform: translate3d(var(--sway), -52vh, 0) scale(1); }
  to { transform: translate3d(calc(var(--sway) * -.5), -118vh, 0) scale(.86); }
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,.38);
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.5);
  box-shadow: 0 8px 30px rgba(0, 24, 46, .35);
}
.socials { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.social-link {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(3, 29, 49, .38);
  backdrop-filter: blur(12px);
  font-weight: 850;
  font-size: 12px;
  letter-spacing: .04em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.social-link:hover { transform: translateY(-2px); background: rgba(8, 57, 86, .58); border-color: rgba(255,255,255,.48); }

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 110px 20px 90px;
}
.hero-card {
  width: min(690px, 94vw);
  text-align: center;
  padding: 30px clamp(22px, 5vw, 46px) 34px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.23);
  background:
    linear-gradient(180deg, rgba(4, 42, 67, .44), rgba(1, 20, 37, .48));
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 40%, rgba(255,255,255,.07) 48%, transparent 56% 100%);
  transform: translateX(-130%);
  animation: sheen 8s ease-in-out infinite 2s;
}
@keyframes sheen { 50%, 100% { transform: translateX(130%); } }

.eyebrow, .modal-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .26em;
  color: var(--cyan);
  text-transform: uppercase;
}
.mascot-wrap {
  width: 138px;
  height: 138px;
  margin: 18px auto 14px;
  position: relative;
  display: grid;
  place-items: center;
}
.mascot {
  width: 122px;
  height: 122px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(244, 251, 255, .76);
  box-shadow: 0 16px 50px rgba(0, 21, 42, .45);
  position: relative;
  z-index: 2;
}
.sonar-ring {
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(184,239,255,.42);
  border-radius: 50%;
  animation: sonar 3s ease-out infinite;
}
.ring-2 { animation-delay: 1.5s; }
@keyframes sonar {
  0% { transform: scale(.75); opacity: 0; }
  18% { opacity: .85; }
  100% { transform: scale(1.6); opacity: 0; }
}

h1 {
  margin: 0;
  font-size: clamp(45px, 8vw, 88px);
  line-height: .88;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-shadow: 0 4px 22px rgba(0, 20, 39, .38);
}
.ticker {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(126, 226, 255, .12);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .22em;
}
.tagline { margin: 18px 0 6px; font-weight: 800; font-size: clamp(18px, 3vw, 24px); }
.description { margin: 0 auto; max-width: 520px; color: var(--muted); line-height: 1.55; }

.ca-box {
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  width: min(540px, 100%);
  padding: 7px 8px 7px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  background: rgba(1,20,35,.38);
  text-align: left;
}
.ca-label { font-size: 10px; font-weight: 900; letter-spacing: .15em; color: var(--cyan); }
.ca-box code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: rgba(255,255,255,.86); }
.copy-btn {
  border: 0;
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  background: rgba(255,255,255,.92);
  color: #053352;
  font-size: 10px;
  font-weight: 950;
}

.primary-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0 18px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .07em;
  border: 1px solid rgba(255,255,255,.32);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #033553; background: linear-gradient(180deg, #e9fbff, #a4eaff); box-shadow: 0 8px 28px rgba(88, 207, 247, .24); }
.btn-ghost { color: #fff; background: rgba(3,33,55,.3); }

.info-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px;
}
.info-actions button {
  min-height: 42px;
  color: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 13px;
  background: rgba(1, 25, 45, .32);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  transition: background .18s ease, transform .18s ease;
}
.info-actions button:hover { background: rgba(12, 73, 104, .52); transform: translateY(-1px); }

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 56px);
  color: rgba(255,255,255,.62);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.modal {
  width: min(650px, calc(100% - 30px));
  border: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  overflow: visible;
}
.modal::backdrop { background: rgba(0, 15, 29, .66); backdrop-filter: blur(9px); }
.modal-card {
  position: relative;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(7, 51, 78, .94), rgba(1, 22, 39, .97));
  box-shadow: 0 34px 100px rgba(0,0,0,.5);
}
.modal-close {
  position: absolute;
  right: 15px;
  top: 13px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.modal h2 { margin: 8px 0 14px; font-size: clamp(30px, 7vw, 58px); line-height: .95; letter-spacing: -.04em; }
.modal-body { color: rgba(239,249,255,.78); line-height: 1.7; font-size: 15px; }
.modal-body strong { color: #fff; }
.modal-body .stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 18px 0 0; }
.modal-body .stat { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.modal-body .stat b { display: block; color: #fff; font-size: 18px; margin-bottom: 2px; }
.modal-body ol { padding-left: 20px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  z-index: 100;
  transform: translate(-50%, 25px);
  opacity: 0;
  pointer-events: none;
  padding: 11px 15px;
  border-radius: 999px;
  color: #033452;
  background: #dff8ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 12px 34px rgba(0,0,0,.24);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.hidden { display: none !important; }

@media (max-width: 720px) {
  .topbar { padding: 13px 14px; }
  .brand span { display: none; }
  .brand img { width: 42px; height: 42px; }
  .social-link { min-width: 39px; height: 39px; padding: 0 10px; font-size: 10px; }
  .hero { padding: 82px 12px 70px; }
  .hero-card { border-radius: 26px; padding: 24px 16px; backdrop-filter: blur(7px) saturate(115%); }
  .mascot-wrap { width: 112px; height: 112px; margin-top: 14px; }
  .mascot { width: 98px; height: 98px; }
  .info-actions { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 12px 14px; font-size: 7px; }
  .footer span:first-child { display: none; }
  .footer { justify-content: flex-end; }
  .modal-card { padding: 25px 20px 22px; }
  .modal-body .stat-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
