/* ===========================================================================
   FINI — Landing page styles
   =========================================================================== */

:root {
  --ink: #d9f2ff;
  --ink-2: #eaf7ff;
  --ink-3: #cce7ff;
  --foam: #1d4d6e;
  --foam-2: #5481a3;
  --teal: #2dd4ff;
  --teal-2: #0ac7f9;
  --deep: #aee0ff;
  --gold: #ffd166;
  --gold-2: #ffb840;
  --pink: #ff8ad8;
  --orange: #ff8a3d;
  --green: #4ade80;
  --max: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--foam);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--teal); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--teal-2); }

img { display: block; max-width: 100%; }

::selection { background: var(--teal); color: var(--ink); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(45, 212, 255, 0.3);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--foam);
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.18em;
}
.nav-brand:hover { color: var(--foam); }
.nav-brand img {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(45, 212, 255, 0.4);
  box-shadow: 0 0 12px rgba(45, 212, 255, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.nav-links a {
  color: var(--foam-2);
}
.nav-links a:hover { color: var(--teal-2); }

.nav-x {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(45, 212, 255, 0.15);
  border: 1px solid rgba(45, 212, 255, 0.25);
  color: var(--foam);
}
.nav-x:hover { background: rgba(45, 212, 255, 0.25); }

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--teal-2);
  color: white !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow:
    0 4px 14px rgba(45, 212, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  color: white !important;
  box-shadow: 0 6px 18px rgba(45, 212, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.nav-cta-alt {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #3d2200 !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow:
    0 4px 14px rgba(255, 209, 102, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta-alt:hover {
  transform: translateY(-1px);
  color: #3d2200 !important;
  box-shadow: 0 6px 18px rgba(255, 209, 102, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

@media (max-width: 720px) {
  .nav { padding: 12px 16px; }
  .nav-links { gap: 14px; font-size: 12px; }
  .nav-links a:not(.nav-cta):not(.nav-cta-alt):not(.nav-x) { display: none; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 28px 100px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 100%, rgba(255, 126, 182, 0.2), transparent 60%),
    linear-gradient(180deg, #d9f2ff 0%, #eaf7ff 100%);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 22s ease-in-out infinite;
}
.orb.a { width: 460px; height: 460px; background: #2dd4ff; top: -120px; left: -100px; }
.orb.b { width: 420px; height: 420px; background: #ff7eb6; bottom: -120px; right: -120px; animation-delay: -8s; }
.orb.c { width: 320px; height: 320px; background: #ffd166; top: 30%; right: 20%; opacity: .25; animation-delay: -14s; }

.caustics {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(105deg, transparent 0%, rgba(149,220,255,.07) 18%, transparent 28%,
                    transparent 48%, rgba(149,220,255,.05) 60%, transparent 70%,
                    transparent 82%, rgba(149,220,255,.07) 92%, transparent 100%);
  filter: blur(1px);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, -30px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(45, 212, 255, 0.1);
  border: 1px solid rgba(45, 212, 255, 0.35);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--foam-2);
  text-transform: uppercase;
}
.hero-pill .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--teal);
  box-shadow: 0 0 10px var(--teal); animation: pulse 1.6s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.85); }
}

.hero-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 9vw, 124px);
  line-height: 0.95;
  margin: 22px 0 20px;
  letter-spacing: -0.02em;
}
.hero-title .grad {
  background: linear-gradient(180deg, #d8f4ff 0%, #2dd4ff 60%, #1a8fb8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  margin-right: 14px;
}
.hero-sub {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 0.42em;
  display: block;
  color: var(--foam);
  opacity: 0.92;
  margin-top: 10px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(29, 77, 110, 0.82);
  max-width: 540px;
  margin: 0 0 32px;
}
.hero-lede .hl { color: var(--gold); font-weight: 700; }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #3d2200 !important;
  box-shadow:
    0 12px 32px rgba(255, 209, 102, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: #3d2200 !important;
  box-shadow:
    0 16px 36px rgba(255, 209, 102, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(45, 212, 255, 0.4);
  color: var(--foam) !important;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--foam) !important;
  transform: translateY(-2px);
}

.hero-stats {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats b {
  font-family: "Fredoka", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--foam);
  letter-spacing: 0.02em;
}
.hero-stats span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--foam-2);
  font-weight: 700;
  margin-top: 4px;
}
.vsep { width: 1px; height: 30px; background: rgba(45, 212, 255, 0.25); }

/* Hero art */
.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  margin-left: auto;
  display: grid;
  place-items: center;
}
.hero-art img {
  width: 78%; height: 78%;
  object-fit: contain;
  border-radius: 32px;
  position: relative;
  z-index: 2;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(45, 212, 255, 0.4),
    0 0 80px rgba(45, 212, 255, 0.25);
  background: linear-gradient(180deg, #e0f6ff 0%, #a6dcff 100%);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.art-glow {
  position: absolute;
  inset: 6%;
  background: radial-gradient(circle, rgba(45,212,255,.5), transparent 65%);
  filter: blur(40px);
  opacity: 0.75;
}
.art-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(45, 212, 255, 0.35);
  animation: spin 22s linear infinite;
}
.art-ring.r1 { inset: -2%;  border-color: rgba(45, 212, 255, 0.35); }
.art-ring.r2 { inset: -10%; border-color: rgba(255, 209, 102, 0.30); animation-duration: 36s; animation-direction: reverse; }
.art-ring.r3 { inset: -18%; border-color: rgba(255, 126, 182, 0.20); animation-duration: 50s; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  color: rgba(234, 246, 255, 0.5);
  animation: bob-cue 1.6s ease-in-out infinite;
}
@keyframes bob-cue {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

@media (max-width: 880px) {
  .hero { padding: 60px 18px 90px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 320px; margin: 0 auto; }
  .hero-stats { gap: 14px; }
  .hero-stats b { font-size: 22px; }
  .vsep { display: none; }
}

/* =========================================================================
   SECTIONS (shared)
   ========================================================================= */
.section {
  padding: 90px 28px;
  position: relative;
}
.section-alt {
  background:
    radial-gradient(ellipse 50% 50% at 50% 0%, rgba(45, 212, 255, 0.1), transparent 60%),
    var(--ink-2);
  border-top: 1px solid rgba(45, 212, 255, 0.3);
  border-bottom: 1px solid rgba(45, 212, 255, 0.3);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: var(--foam);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(45, 212, 255, 0.5);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section-head h2 {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.section-head h2 em {
  font-style: normal;
  background: linear-gradient(180deg, #ff8ad8 0%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head .lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--foam-2);
  margin: 0;
}
.section-head .lede a { font-weight: 700; }

/* =========================================================================
   MINT
   ========================================================================= */
.mint-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mint-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,0.7)),
    rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(45, 212, 255, 0.4);
  border-radius: 22px;
  padding: 26px 20px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(29, 77, 110, 0.08);
}
.mint-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(45,212,255,.15), transparent 60%);
  pointer-events: none;
}
.mc-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--foam-2);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mc-value {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #1d4d6e 0%, #5481a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mc-value.tbd {
  background: linear-gradient(180deg, #ffd166 0%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.opensea-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2081e2 0%, #1565c0 100%);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(32, 129, 226, 0.4);
}
@keyframes glowPulse {
  0% { box-shadow: 0 6px 18px rgba(32, 129, 226, 0.4), 0 0 0 0 rgba(32, 129, 226, 0.4); }
  70% { box-shadow: 0 6px 18px rgba(32, 129, 226, 0.4), 0 0 0 10px rgba(32, 129, 226, 0); }
  100% { box-shadow: 0 6px 18px rgba(32, 129, 226, 0.4), 0 0 0 0 rgba(32, 129, 226, 0); }
}
.opensea-pill {
  animation: glowPulse 2s infinite;
  transition: transform 0.2s;
}
.opensea-pill:hover {
  transform: scale(1.05);
}

.mint-note {
  max-width: 760px;
  margin: 36px auto 0;
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255, 209, 102, 0.06);
  border: 1px solid rgba(255, 209, 102, 0.4);
  padding: 16px 20px;
  border-radius: 16px;
}
.mint-note .warn {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #3d2200;
  font-weight: 900;
  flex: 0 0 28px;
}
.mint-note p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--foam-2); }
.mint-note a { color: var(--gold); font-weight: 700; }

@media (max-width: 720px) {
  .mint-grid { grid-template-columns: repeat(2, 1fr); }
  .mc-value { font-size: 28px; }
}

/* =========================================================================
   LEADERBOARD
   ========================================================================= */
.leaderboard-wrapper {
  max-width: 920px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,0.7)),
    rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(45, 212, 255, 0.4);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(29, 77, 110, 0.08);
}
.lb-header, .lb-row {
  display: grid;
  grid-template-columns: 60px 1.2fr 1fr 1fr 1.2fr;
  align-items: center;
  padding: 14px 22px;
  font-size: 14px;
}
.lb-header {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--foam-2);
  text-transform: uppercase;
  background: rgba(45, 212, 255, 0.15);
  border-bottom: 1px solid rgba(45, 212, 255, 0.3);
}
.lb-row {
  border-top: 1px solid rgba(45, 212, 255, 0.2);
  transition: background .15s ease;
}
.lb-row:hover { background: rgba(45, 212, 255, 0.1); }
.lb-row .lb-rank {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--foam-2);
}
.lb-row.top-1 .lb-rank { color: var(--gold); text-shadow: 0 0 14px rgba(255, 209, 102, .6); }
.lb-row.top-2 .lb-rank { color: #87ceeb; }
.lb-row.top-3 .lb-rank { color: #ff8a3d; }

.lb-name {
  font-weight: 700;
  color: var(--foam);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lb-name .badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.3);
  color: #a46d00;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lb-shark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--foam-2);
}
.lb-shark::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232dd4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z'/%3E%3Cpath d='M14.31 8l5.74 9.94M9.69 8h11.48M7.38 12l5.74-9.94M9.69 16L3.95 6.06M14.31 16H2.83m13.79-4l-5.74 9.94'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.lb-height { color: var(--foam-2); font-weight: 700; }
.lb-score {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #ff8a3d;
  text-align: right;
}

.lb-empty {
  padding: 60px 22px;
  text-align: center;
  color: var(--foam-2);
  font-size: 14px;
}

.lb-cta { text-align: center; margin-top: 32px; }

@media (max-width: 720px) {
  .lb-header, .lb-row { grid-template-columns: 36px 1.2fr 1fr 1fr; padding: 12px 16px; }
  .lb-shark { display: none; }
  .lb-score { font-size: 18px; }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  padding: 46px 28px 60px;
  border-top: 1px solid rgba(45, 212, 255, 0.3);
  background: var(--ink);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}
.footer-links a { color: var(--foam-2); }
.footer-links a:hover { color: var(--foam); }
.footer-meta {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--foam-2);
  text-transform: uppercase;
  font-weight: 700;
}

/* =========================================================================
   ANIMATIONS (Scroll Reveal)
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
