/* ══ $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; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.16) translateX(9%); animation: drift 30s ease-in-out infinite alternate; }
/* the angler sits right of the headline; a slow drift keeps the water alive */
@keyframes drift { to { transform: scale(1.22) translate(7%, 1%); } }
@media (prefers-reduced-motion: reduce) { .hero-art { animation: none; }
}
@media (max-width: 700px) { .hero-art { transform: none; animation: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,11,22,.92) 0%, rgba(5,11,22,.7) 38%, rgba(5,11,22,.05) 72%),
  linear-gradient(0deg, var(--abyss) 0%, rgba(5,11,22,0) 30%); }
.hero-copy { position: relative; max-width: 1120px; width: 100%; margin: 0 auto; padding: 110px 22px 150px; }
.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: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: min(1076px, calc(100% - 44px));
  display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(8,21,36,.78); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.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: 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 { min-height: auto; }
  .hero-art { object-position: 62% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,11,22,.55) 0%, rgba(5,11,22,.82) 55%, var(--abyss) 100%); }
  .hero-copy { padding: 96px 20px 26px; }
  .live { position: relative; left: auto; bottom: auto; transform: none; width: calc(100% - 40px); margin: 0 20px 28px; grid-template-columns: repeat(3, 1fr); }
  .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; }
}
