/* ══ $FISH — the landing page ═══════════════════════════════
 * The game's own palette: abyss navy, a cyan → teal gradient, rarity
 * colours for the shouting. Real screenshots do the selling; the copy
 * says plainly what the token does.
 * ══════════════════════════════════════════════════════════ */

:root {
  --abyss: #050b16; --deep: #081524; --panel: #0c1e33; --line: #1b3b5c; --line-hot: #2a5f8f;
  --ink: #e4f2ff; --muted: #8fb2d0; --cyan: #2ad4ee; --teal: #35e0c8;
  --grad: linear-gradient(135deg, #2ad4ee 0%, #35e0c8 100%);
  --gold: #fde68a;
  --rare: #38bdf8; --epic: #a78bfa; --legendary: #fbbf24; --mythical: #fb7185;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--abyss); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; margin-top: 34px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  font-weight: 800; font-size: .92rem; text-decoration: none; color: #04202a; background: var(--grad);
  box-shadow: 0 6px 24px rgba(42,212,238,.25); transition: transform .15s, box-shadow .15s; border: 0; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(42,212,238,.35); }
.btn.ghost { background: rgba(42,212,238,.08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-hot); }
.btn.big { padding: 15px 26px; font-size: 1.05rem; }
.btn.big small { font-weight: 600; font-size: .72rem; opacity: .7; margin-left: 4px; }

/* ── top bar ───────────────────────────────────────────── */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 22px;
  background: linear-gradient(180deg, rgba(5,11,22,.85), rgba(5,11,22,0)); backdrop-filter: blur(6px);
  transition: background .3s;
}
.bar.solid { background: rgba(5,11,22,.92); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 900; font-size: 1.15rem; letter-spacing: .02em; }
.logo svg { width: 30px; height: 30px; }
.links { display: flex; gap: 22px; margin-right: auto; }
.links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; }
.links a:hover { color: var(--ink); }
.bar-act { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; text-decoration: none; font-weight: 800; box-shadow: inset 0 0 0 1px var(--line-hot); }
[hidden] { display: none !important; }

/* ── hero ──────────────────────────────────────────────── */
.hero { position: relative; padding: 86px 0 24px; }
/* the screenshot as a 16:9 picture with the page around it, not full-bleed: sharp at its own size */
.hero-frame { position: relative; width: min(80vw, 1540px); aspect-ratio: 16 / 9; margin: 0 auto; border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 30px 70px rgba(0,0,0,.5); display: flex; align-items: center; }
.hero-art, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { object-fit: cover; object-position: 50% 50%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.hero-shade { background:
  linear-gradient(90deg, rgba(5,11,22,.9) 0%, rgba(5,11,22,.6) 38%, rgba(5,11,22,0) 68%),
  linear-gradient(0deg, rgba(5,11,22,.6) 0%, rgba(5,11,22,0) 24%); }
.hero-copy { position: relative; width: 100%; padding: 0 5.5%; }
.hero-copy h1 { font-size: clamp(2.2rem, 4.4vw, 4.6rem); }
.hero-copy .lede { margin: 18px 0 24px; }
.kicker { margin: 0 0 10px; font: 800 .74rem var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--teal); }
h1 { margin: 0; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; font-weight: 900; letter-spacing: -.02em; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.lede { max-width: 540px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: #cfe3f5; margin: 22px 0 30px; }
.lede b { color: var(--ink); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ca {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: rgba(5,11,22,.6); border: 1px solid var(--line-hot); color: var(--ink); border-radius: 12px; padding: 9px 14px;
  font: 600 .82rem var(--mono); backdrop-filter: blur(6px);
}
.ca span { color: var(--teal); font-weight: 800; }
.ca code { overflow-wrap: anywhere; text-align: left; }
.ca:hover { border-color: var(--cyan); }
.live {
  position: relative; width: min(70vw, 1300px); margin: -34px auto 0; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(8,21,36,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,0,0,.4);
}
.live > div { padding: 14px 18px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.live > div:first-child { border-left: 0; }
.live b { font: 800 1.45rem var(--mono); color: var(--ink); }
.live span { font-size: .76rem; color: var(--muted); }
#lv-clock { color: var(--gold); }

/* ── bands ─────────────────────────────────────────────── */
.band { padding: 96px 0; }
.band.alt { background: linear-gradient(180deg, var(--deep), var(--abyss)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { margin: 0 0 40px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.12; font-weight: 900; letter-spacing: -.01em; }
h3 { margin: 0 0 8px; font-size: 1.12rem; }
.note { color: var(--muted); font-size: .9rem; max-width: 760px; margin: 26px 0 0; }
.note b { color: var(--ink); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 20px 22px; }
.steps i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #04202a; font: 900 1rem var(--mono); font-style: normal; margin-bottom: 14px; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; }
.steps b { color: var(--ink); }

/* the money flow */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1.5fr auto 1fr; align-items: stretch; gap: 10px; }
.node { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px 16px; display: flex; flex-direction: column; gap: 4px; text-align: center; align-items: center; justify-content: center; }
.node .ic { font-size: 1.7rem; }
.node > span:not(.ic) { color: var(--muted); font-size: .84rem; }
.node.split { border-color: rgba(53,224,200,.45); box-shadow: 0 0 40px rgba(53,224,200,.08); }
.thirds { display: grid; gap: 6px; margin-top: 8px; width: 100%; }
.thirds > div { display: flex; align-items: center; gap: 8px; justify-content: center; font-weight: 800; font-size: .92rem; background: rgba(255,255,255,.03); border-radius: 10px; padding: 6px 8px; }
.thirds em { font-style: normal; color: var(--teal); font-family: var(--mono); }
.mini-ca { background: none; border: 1px solid var(--line); color: var(--muted); font: 600 .66rem var(--mono); border-radius: 7px; padding: 2px 6px; cursor: pointer; }
.mini-ca:hover { color: var(--ink); border-color: var(--line-hot); }
.arrow { align-self: center; width: 26px; height: 2px; background: var(--grad); position: relative; }
.arrow::after { content: ''; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--teal); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px; }
.card .ic { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: .9rem; }
.card b { color: var(--ink); }

/* rod ladder */
.rods { margin-top: 44px; }
.rods h3 { display: flex; align-items: baseline; gap: 12px; }
.rods h3 span { font: 600 .74rem var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: .86rem; min-width: 560px; }
th, td { padding: 11px 14px; text-align: right; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child, th:nth-child(2), td:nth-child(2) { text-align: left; }
th { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:last-child { background: rgba(253,230,138,.05); }
td:first-child { font-family: var(--sans); font-weight: 700; }
.t-rare { color: var(--rare) !important; } .t-epic { color: var(--epic) !important; } .t-legendary { color: var(--legendary) !important; } .t-mythical { color: var(--mythical) !important; }

.rule { margin-top: 34px; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; padding: 18px 22px; border-radius: 16px; border: 1px dashed var(--line-hot); background: rgba(42,212,238,.04); }
.rule b { color: var(--teal); white-space: nowrap; }
.rule span { color: var(--muted); font-size: .92rem; flex: 1; min-width: 260px; }

/* the game */
.feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.feature.flip { grid-template-columns: 1fr 1.25fr; }
.feature.flip img { order: 2; }
.feature img { border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.4); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.feature p { color: var(--muted); margin: 0; }
.ponds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ponds figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.ponds img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s; }
.ponds figure:hover img { transform: scale(1.05); }
.ponds figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; font-weight: 800; font-size: .9rem; background: linear-gradient(0deg, rgba(5,11,22,.85), transparent); }

/* fair */
.fair { margin: 0; padding-left: 22px; color: var(--muted); }
.fair li { margin-bottom: 14px; padding-left: 6px; }
.fair b { color: var(--cyan); }
.fair code { font-family: var(--mono); color: var(--ink); font-size: .9em; }

.disclose { border-left: 3px solid var(--legendary); padding: 6px 0 6px 18px; color: var(--muted); font-size: .92rem; }
.disclose b { color: var(--legendary); }

/* footer */
.foot { padding: 48px 0 60px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.foot .ca { margin: 0; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--ink); }
.small { width: 100%; margin: 0; color: var(--muted); font-size: .78rem; }

.copied { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0; z-index: 40; pointer-events: none;
  background: var(--panel); border: 1px solid var(--teal); border-radius: 999px; padding: 9px 18px; font-size: .86rem; transition: .25s; }
.copied.on { opacity: 1; transform: translate(-50%, 0); }

/* ── smaller screens ───────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-frame { width: calc(100% - 40px); aspect-ratio: auto; min-height: 560px; padding: 70px 0 80px; }
  .live { width: calc(100% - 80px); }
}
@media (max-width: 980px) {
  .steps, .cards { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .arrow { width: 2px; height: 22px; justify-self: center; }
  .arrow::after { right: -4px; top: auto; bottom: -3px; border: 5px solid transparent; border-top: 7px solid var(--teal); }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 18px; }
  .feature.flip img { order: 0; }
  .ponds { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .links { display: none; }
  .bar { gap: 10px; }
  .hero { padding: 72px 0 10px; }
  .hero-frame { width: calc(100% - 20px); border-radius: 18px; padding: 28px 0 70px; min-height: 0; }
  .hero-art { object-position: 58% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,11,22,.5) 0%, rgba(5,11,22,.8) 55%, rgba(5,11,22,.92) 100%); }
  .hero-copy { padding: 0 18px; }
  .live { width: calc(100% - 40px); margin-top: -46px; }
  .live > div { padding: 10px 10px; }
  .live b { font-size: 1.05rem; }
  .live span { font-size: .66rem; }
  .band { padding: 64px 0; }
  .steps, .cards { grid-template-columns: 1fr; }
  .btn.big { width: 100%; justify-content: center; }
  .foot nav { margin-left: 0; }
}

/* before launch: the buy buttons say so, and can't be pressed */
.btn.soon { cursor: default; opacity: .75; }
.btn.soon:hover { transform: none; }

/* ══ Solana colours (body.sol — the page's look) ════════════
 * Purple #9945FF → green #14F195 on a violet-black night, the brand's
 * own pair. Rarity colours stay: they mean something in the game.
 * ══════════════════════════════════════════════════════════ */
body.sol {
  --abyss: #07040f; --deep: #0e0820; --panel: #140c2a; --line: #2a1d4d; --line-hot: #4b2f8a;
  --ink: #f1ecff; --muted: #a99cc9; --cyan: #14f195; --teal: #14f195;
  --grad: linear-gradient(110deg, #9945ff 0%, #6d63ff 45%, #14f195 100%);
  --gold: #14f195;
}
body.sol .btn { color: #fff; text-shadow: 0 1px 2px rgba(7,4,15,.45); box-shadow: 0 6px 26px rgba(153,69,255,.35); }
body.sol .btn:hover { box-shadow: 0 10px 34px rgba(20,241,149,.3); }
body.sol .btn.ghost { background: rgba(153,69,255,.1); text-shadow: none; box-shadow: inset 0 0 0 1px var(--line-hot); }
body.sol .steps i { color: #fff; }
body.sol .kicker { color: #14f195; }
body.sol .node.split { border-color: rgba(153,69,255,.55); box-shadow: 0 0 46px rgba(153,69,255,.14); }
body.sol .rule { background: rgba(153,69,255,.06); border-color: var(--line-hot); }
body.sol .rule b, body.sol .thirds em, body.sol .fair b, body.sol .ca span { color: #14f195; }
body.sol .hero-shade { background:
  linear-gradient(90deg, rgba(14,6,32,.9) 0%, rgba(30,12,64,.55) 40%, rgba(7,4,15,0) 70%),
  linear-gradient(0deg, rgba(7,4,15,.6) 0%, rgba(7,4,15,0) 24%); }
body.sol .hero-frame { box-shadow: 0 0 0 1px rgba(153,69,255,.35), 0 30px 80px rgba(153,69,255,.18); }
body.sol .band.alt { background: radial-gradient(1200px 400px at 15% 0%, rgba(153,69,255,.12), transparent 60%), radial-gradient(900px 380px at 90% 100%, rgba(20,241,149,.07), transparent 60%), var(--deep); }
body.sol .arrow::after { border-left-color: #14f195; }
body.sol #lv-clock { color: #14f195; }
body.sol .logo stop:first-child { stop-color: #9945ff; }
body.sol .logo stop:last-child { stop-color: #14f195; }
body.sol .foot .logo path:first-child { fill: #9945ff; }
body.sol .foot .logo path:last-child { fill: #14f195; }
@media (max-width: 980px) { body.sol .arrow::after { border-left-color: transparent; border-top-color: #14f195; } }
