/* ============================================================
   POOLZI — frutiger aero × 1997 geocities
   glossy sky, XP windows, dancing bananas, zero shame
   ============================================================ */

:root {
  --sky-hi: #8fd7ff;
  --sky-mid: #39a0e5;
  --sky-lo: #0b62b8;
  --deep: #063a74;
  --abyss: #032249;
  --grass: #58c437;
  --grass-dark: #2f9018;
  --glass: rgba(255, 255, 255, 0.28);
  --glass-line: rgba(255, 255, 255, 0.65);
  --xp-blue-1: #0a56e8;
  --xp-blue-2: #3a8ef6;
  --xp-face: #ece9d8;
  --ink: #10315c;
  --gold: #ffd24a;
  --burn: #ff4d2e;
  --font-body: "Comic Neue", "Comic Sans MS", "Trebuchet MS", cursive;
  --font-pixel: "Press Start 2P", monospace;
  --font-round: "Baloo 2", "Trebuchet MS", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 60px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sky-mid);
  overflow-x: hidden;
  cursor: default;
}

.pixel { font-family: var(--font-pixel); }
.tabular { font-variant-numeric: tabular-nums; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

::selection { background: var(--gold); color: var(--deep); }

/* ---------------- ambient sky ---------------- */
.sky {
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(120% 70% at 50% -10%, #d9f4ff 0%, var(--sky-hi) 30%, var(--sky-mid) 62%, var(--sky-lo) 100%);
}
.aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 30% at 20% 30%, rgba(122, 255, 195, 0.35), transparent 70%),
    radial-gradient(45% 35% at 80% 20%, rgba(255, 255, 255, 0.45), transparent 70%),
    radial-gradient(50% 40% at 60% 80%, rgba(64, 224, 255, 0.3), transparent 70%);
  animation: aurora-drift 26s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-2deg); }
  to   { transform: translate3d(2%, 2%, 0) rotate(2deg); }
}

.cloud {
  position: absolute;
  width: 220px; height: 60px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 60px;
  filter: blur(1px);
  box-shadow:
    38px -26px 0 6px rgba(255, 255, 255, 0.92),
    95px -12px 0 12px rgba(255, 255, 255, 0.92),
    150px -24px 0 2px rgba(255, 255, 255, 0.88);
  animation: cloud-move linear infinite;
  opacity: 0.9;
}
.cloud.c1 { top: 8%;  left: -20%; scale: 1;    animation-duration: 95s; }
.cloud.c2 { top: 20%; left: -30%; scale: 0.7;  animation-duration: 70s;  animation-delay: -22s; }
.cloud.c3 { top: 35%; left: -25%; scale: 1.25; animation-duration: 120s; animation-delay: -60s; }
.cloud.c4 { top: 55%; left: -35%; scale: 0.55; animation-duration: 80s;  animation-delay: -35s; opacity: 0.7; }
.cloud.c5 { top: 70%; left: -22%; scale: 0.9;  animation-duration: 105s; animation-delay: -80s; opacity: 0.6; }
@keyframes cloud-move { to { transform: translateX(160vw); } }

#bubbles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.grass {
  position: fixed; left: 0; right: 0; bottom: 0; height: 90px; z-index: -2;
  background:
    radial-gradient(60% 120% at 50% 130%, rgba(255,255,255,.25), transparent 60%),
    linear-gradient(to top, var(--grass-dark), var(--grass) 55%, #8ce06b 90%, transparent);
  -webkit-mask: linear-gradient(to top, #000 78%, transparent);
          mask: linear-gradient(to top, #000 78%, transparent);
}

/* ---------------- pixel icons ---------------- */
.wico { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; flex: 0 0 auto; }
.win__bar .wico { color: #fff; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
.win__bar--aero .wico { color: #0a56a8; filter: none; }
.tico { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; color: #0a58c0; }
.taskbtn .wico { color: #fff; }
.tray .wico { color: #eaf7ff; }

/* ---------------- ticker ---------------- */
.ticker {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #0d3f8f, #0a2f6b);
  border-bottom: 2px solid #66ccff;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(4, 30, 66, 0.4);
}
.ticker__track {
  display: flex; white-space: nowrap; width: max-content;
  animation: tick 32s linear infinite;
}
.ticker__track span {
  font-family: var(--font-pixel);
  font-size: 11px; line-height: 2.6;
  color: #9fe3ff;
  text-shadow: 0 0 8px rgba(102, 204, 255, 0.8);
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------------- page & hero ---------------- */
.page { position: relative; z-index: 1; }

.hero {
  min-height: clamp(540px, 80vh, 800px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 28px 16px 40px;
  gap: 10px;
  position: relative;
}
.hero__welcome { width: min(200px, 50vw); image-rendering: pixelated; }
.hero__globes { display: flex; align-items: center; gap: 26px; }
.hero__rainbow { margin-bottom: -8px; }

.logo {
  font-family: var(--font-round);
  font-weight: 800;
  font-size: clamp(64px, 14vw, 168px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  position: relative;
  user-select: none;
  filter: drop-shadow(0 10px 24px rgba(4, 40, 90, 0.45));
}
.logo span { display: block; }
/* two-layer "sticker": base = white outline (via silhouette shadows, fully filled white),
   shine = the glossy gradient laid exactly on top. Neither uses text-stroke, so the two
   layers share identical glyph metrics — no inner-join or double-outline artifacts. */
.logo__base {
  color: #fff;
  text-shadow:
    -3px -3px 0 #fff,  3px -3px 0 #fff, -3px  3px 0 #fff,  3px  3px 0 #fff,
     0   -3px 0 #fff,  0    3px 0 #fff, -3px  0   0 #fff,  3px  0   0 #fff,
    -2px  0   0 #fff,  2px  0   0 #fff,  0   -2px 0 #fff,  0    2px 0 #fff,
     0    6px 14px rgba(4, 40, 90, 0.45);
}
.logo__shine {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    #f0faff 0%,
    #bfe6fb 18%,
    #6dbcef 38%,
    #2f8fe0 55%,
    #1266c4 78%,
    #0a4f9e 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: none;
}

.hero__sub {
  font-size: clamp(17px, 2.6vw, 24px);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(9, 62, 120, 0.55), 0 4px 18px rgba(9, 62, 120, 0.5);
}

.hero__dolphins { display: flex; align-items: flex-end; gap: 34px; margin-top: 4px; }
.hero__dolphins img { filter: drop-shadow(0 8px 14px rgba(3, 40, 80, 0.35)); }

.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

.hero__bananas { display: flex; gap: 10px; align-items: flex-end; margin-top: 16px; }
.hero__bananas img { height: 54px; width: auto; image-rendering: pixelated; }

.hero__counter {
  font-size: 10px; color: #eaf7ff; margin-top: 14px;
  text-shadow: 0 1px 0 rgba(9, 62, 120, 0.8);
}
.odometer {
  background: #000; color: #6cff6c; padding: 4px 8px; border-radius: 3px;
  border: 2px outset #9a9a9a; letter-spacing: 3px;
  font-family: var(--font-pixel);
}

.hero__badges { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; justify-content: center; align-items: center; }
.hero__badges img { image-rendering: pixelated; border: 1px solid rgba(0,0,0,.35); }
.badge88 {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  width: 88px; height: 31px; font-size: 7px; line-height: 1.35;
  background: linear-gradient(180deg, #3f3f3f, #101010);
  color: var(--gold); border: 1px solid #888;
}
.badge88--blue { background: linear-gradient(180deg, #0a4ecc, #062a70); color: #aef; }

.hero__construction { margin-top: 18px; width: min(300px, 70vw); image-rendering: pixelated; }

/* ---------------- glossy aqua buttons ---------------- */
.aqua-btn {
  --btn-hi: #b8e6ff; --btn-lo: #1273d8; --btn-edge: #0b57ab;
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-round); font-weight: 800;
  font-size: 15px; text-decoration: none; color: #fff;
  padding: 10px 22px; border-radius: 999px;
  border: 1px solid var(--btn-edge);
  background: linear-gradient(180deg, var(--btn-hi) 0%, #4aa9f0 45%, var(--btn-lo) 50%, #0e63c2 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.8),
    inset 0 -4px 8px rgba(6, 42, 96, 0.45),
    0 6px 14px rgba(6, 42, 96, 0.4);
  text-shadow: 0 1px 2px rgba(6, 42, 96, 0.7);
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
  overflow: hidden;
}
.aqua-btn::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 5%; height: 42%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.05));
  pointer-events: none;
}
.aqua-btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.08); }
.aqua-btn:active { transform: translateY(1px) scale(0.99); filter: brightness(0.95); }
.aqua-btn--green { --btn-hi: #d2ffb0; --btn-lo: #2e9e1f; --btn-edge: #1f7a12; background: linear-gradient(180deg, var(--btn-hi) 0%, #6fd83f 45%, var(--btn-lo) 50%, #237c17 100%); }
.aqua-btn--xl { font-size: 18px; padding: 13px 28px; }

/* ---------------- windows ---------------- */
/* desktop-style 2-column tiling: halves the scroll and fills the horizontal space */
.desk {
  max-width: 1340px;
  margin: 0 auto;
  padding: 34px 20px 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.winwrap { position: relative; min-width: 0; margin: 0; }
.span2 { grid-column: 1 / -1; }
.winwrap.span2 .win { max-width: 1000px; margin: 0 auto; }
.desk .risks { max-width: 1080px; margin: 8px auto; }
.winwrap__pet { position: absolute; left: -12px; right: auto; bottom: -38px; z-index: 3; width: 86px; }
@media (max-width: 860px) {
  .desk { grid-template-columns: 1fr; gap: 20px; padding: 22px 12px 46px; }
  .winwrap__pet { display: none; }
}

.win {
  border-radius: 10px 10px 8px 8px;
  background: var(--xp-face);
  border: 1px solid #0831d9;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 18px 44px rgba(3, 34, 73, 0.45);
  overflow: hidden;
}
.win__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  background: linear-gradient(180deg, var(--xp-blue-2) 0%, var(--xp-blue-1) 8%, #0842c8 40%, #0a56e8 88%, #063cae 100%);
  color: #fff;
  font-family: var(--font-round); font-weight: 700; font-size: 15px;
  text-shadow: 0 1px 2px rgba(3, 20, 60, 0.8);
  cursor: grab;
  user-select: none;
}
.win__bar:active { cursor: grabbing; }
.win__bar--aero {
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(160,220,255,0.75) 45%, rgba(80,170,240,0.8) 50%, rgba(120,200,255,0.85) 100%);
  color: #073a6f; text-shadow: 0 1px 0 rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255,255,255,0.6);
}
.win__bar--fire { background: linear-gradient(180deg, #ff9a3c, #e8420a 60%, #b32e05); }
.win__bar--err  { background: linear-gradient(180deg, #ff5a5a, #d40000 55%, #8f0000); }
.win__title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win__btns { display: flex; gap: 3px; }
.wbtn {
  width: 22px; height: 22px; border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, #66a3f0, #2f6fd4);
  color: #fff; font-size: 11px; line-height: 1;
  cursor: pointer;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.6);
}
.wbtn--x { background: linear-gradient(180deg, #ff8a66, #e0401c); }
.wbtn:hover { filter: brightness(1.15); }
.wbtn:active { filter: brightness(0.9); }

.win__menu {
  font-family: "Trebuchet MS", sans-serif; font-size: 13px;
  padding: 3px 10px; background: #f5f4ef; border-bottom: 1px solid #d8d5c8; color: #333;
}
.win__tabs { display: flex; gap: 2px; padding: 8px 8px 0; background: var(--xp-face); }
.tab {
  font-family: "Trebuchet MS", sans-serif; font-size: 13px;
  padding: 4px 14px; border: 1px solid #a9a493; border-bottom: none;
  border-radius: 6px 6px 0 0; background: #dcd8c8; color: #555;
}
.tab--on { background: #fff; color: #000; position: relative; top: 1px; }

.win__body { padding: 26px 28px; background: #fff; }
.win__foot {
  display: flex; justify-content: center; gap: 14px;
  padding: 12px; background: var(--xp-face); border-top: 1px solid #d8d5c8;
}

.win--notepad .win__body { background: #fff; padding: 0; }
.notepad pre {
  font-family: var(--font-pixel);
  font-size: clamp(8px, 1.5vw, 12px);
  line-height: 2;
  padding: 26px 30px;
  color: #123;
  white-space: pre-wrap;
}

.winlead { font-size: 18px; font-weight: 700; margin-bottom: 22px; }
.footnote { margin-top: 22px; font-size: 12px; color: #4a6484; }
.footnote.pixel { font-size: 9px; line-height: 1.9; }

/* ---------------- steps / glass cards ---------------- */
.steps { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; justify-content: center; }
.steps__arrow { align-self: center; }
.glass-card {
  flex: 1 1 200px; max-width: 250px;
  position: relative;
  border-radius: 18px;
  padding: 20px 16px 18px;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.85), rgba(210,240,255,0.55) 40%, rgba(140,205,250,0.5)),
    linear-gradient(180deg, #cfeeff, #8fd0f7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 2px 6px rgba(255,255,255,0.9),
    inset 0 -8px 18px rgba(30, 120, 200, 0.25),
    0 10px 22px rgba(9, 62, 120, 0.25);
}
.glass-card::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 4%; height: 34%;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.02));
  pointer-events: none;
}
.glass-card__num {
  display: inline-block; font-size: 9px; color: #fff;
  background: linear-gradient(180deg, #58b6f5, #0d6ecf);
  padding: 5px 10px; border-radius: 999px; margin-bottom: 10px;
  box-shadow: inset 0 1px 2px rgba(255,255,255,.7);
}
.glass-card h3 { font-family: var(--font-round); font-size: 18px; margin: 8px 0 6px; color: #093e77; }
.glass-card p { font-size: 13.5px; line-height: 1.55; }

/* ---------------- fee split ---------------- */
.split { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; }
.split__half {
  flex: 1 1 240px;
  border-radius: 16px; padding: 22px; text-align: center;
  color: #fff;
  position: relative; overflow: hidden;
  box-shadow: inset 0 2px 5px rgba(255,255,255,.55), inset 0 -10px 24px rgba(0,0,0,.25), 0 10px 22px rgba(9,62,120,.3);
}
.split__half::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 4%; height: 36%;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.03));
}
.split__half--fund { background: linear-gradient(180deg, #57b0f2, #0c5cb8); }
.split__half--rew  { background: linear-gradient(180deg, #ffc35e, #e07908); }
.split__pct { font-family: var(--font-round); font-weight: 800; font-size: 56px; text-shadow: 0 3px 0 rgba(0,0,0,.25); }
.split__name { font-size: 10px; margin: 4px 0 10px; }
.split__half p:last-child { font-size: 13.5px; line-height: 1.55; }
.split__vs {
  align-self: center; font-size: 14px; color: #fff;
  background: radial-gradient(circle at 35% 30%, #7cc9ff, #0a4faf 70%);
  border-radius: 50%; width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 2px 4px rgba(255,255,255,.7), 0 6px 14px rgba(9,62,120,.4);
  flex: 0 0 auto;
}

/* ---------------- calculator ---------------- */
.formula {
  text-align: center; font-size: clamp(10px, 2vw, 15px);
  background: #06264f; color: #7fe3ff;
  border-radius: 10px; padding: 16px; margin-bottom: 22px;
  text-shadow: 0 0 10px rgba(127, 227, 255, 0.7);
  border: 2px solid #66ccff;
  box-shadow: inset 0 0 24px rgba(0, 80, 160, 0.8);
}
.calc label { display: block; font-size: 10px; margin-bottom: 12px; }
.calc output { color: #0a58c0; }

.aero-range { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; }
.aero-range::-webkit-slider-runnable-track {
  height: 12px; border-radius: 999px;
  background: linear-gradient(180deg, #9fd7f8, #cfeeff 50%, #8fc7ee);
  border: 1px solid #5b9fd4;
  box-shadow: inset 0 2px 4px rgba(9, 62, 120, 0.35);
}
.aero-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px; margin-top: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, #bfe5ff 35%, #2585dd 75%, #0a56a8);
  border: 1px solid #0a56a8;
  box-shadow: 0 3px 8px rgba(9, 62, 120, 0.5);
}
.aero-range::-moz-range-track {
  height: 12px; border-radius: 999px;
  background: linear-gradient(180deg, #9fd7f8, #cfeeff 50%, #8fc7ee);
  border: 1px solid #5b9fd4;
}
.aero-range::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, #bfe5ff 35%, #2585dd 75%, #0a56a8);
  border: 1px solid #0a56a8;
}

.calc__row { font-size: 13px; margin: 12px 0 18px; color: #33557d; }
.calc__bars { display: grid; gap: 10px; }
.calc__bar { display: grid; grid-template-columns: 70px 1fr 64px; align-items: center; gap: 10px; font-size: 13px; }
.calc__bar-label { font-weight: 700; }
.calc__bar-track {
  height: 22px; border-radius: 999px; overflow: hidden;
  background: #dceefb; border: 1px solid #9cc6e8;
  box-shadow: inset 0 2px 4px rgba(9, 62, 120, 0.25);
}
.calc__bar-fill {
  height: 100%; width: 20%;
  border-radius: 999px;
  background: linear-gradient(180deg, #9fd7ff, #2f8fe0 55%, #0b5cb8);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.7);
  transition: width 0.25s ease;
}
.calc__bar-fill.you { background: linear-gradient(180deg, #ffe59f, #f7a821 55%, #d97b06); }
.calc__note { margin-top: 18px; font-size: 14px; }

.retro-input {
  font-family: var(--font-pixel); font-size: 13px;
  padding: 10px 12px; width: min(280px, 100%);
  border: 2px inset #9a9a9a; background: #fff; color: #0a3f7c;
}

/* ---------------- exit ---------------- */
.win--burn .win__body {
  background:
    radial-gradient(80% 60% at 50% 120%, rgba(255, 120, 40, 0.18), transparent 70%), #fff;
}
.exitcalc label { display: block; font-size: 10px; margin-bottom: 10px; }
.exitcalc__out { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.chip {
  flex: 1 1 160px; border-radius: 12px; padding: 12px 16px;
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: inset 0 2px 4px rgba(255,255,255,.7), 0 6px 14px rgba(9,62,120,.18);
}
.chip span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.75; }
.chip b { font-family: var(--font-round); font-size: 20px; }
.chip--keep { background: linear-gradient(180deg, #e7ffd9, #b8ef9b); color: #1d5c07; }
.chip--burn { background: linear-gradient(180deg, #ffe3d4, #ffb195); color: #96260a; }
.chip--sol  { background: linear-gradient(180deg, #ddf1ff, #a8d8f7); color: #0a4d92; }
.exit__skulls { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: 22px; }

/* ---------------- fund loop ---------------- */
.loop {
  position: relative; width: min(340px, 82vw); height: min(340px, 82vw);
  margin: 6px auto 26px;
}
.loop__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 3px dashed rgba(12, 92, 184, 0.55);
  animation: spin 22s linear infinite;
}
.loop__orb {
  position: absolute; top: -16px; left: 50%;
  width: 32px; height: 32px; margin-left: -16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-weight: 800; color: #fff; font-size: 15px;
  background: radial-gradient(circle at 32% 28%, #b8f, #63f 60%, #316);
  box-shadow: 0 4px 10px rgba(9, 30, 80, 0.4), inset 0 2px 3px rgba(255,255,255,.7);
}
.loop__orb--2 { transform-origin: 16px calc(min(340px, 82vw) / 2 + 16px); transform: rotate(120deg); }
.loop__orb--3 { transform-origin: 16px calc(min(340px, 82vw) / 2 + 16px); transform: rotate(240deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.loop__center {
  position: absolute; inset: 22%;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
  background:
    radial-gradient(circle at 34% 26%, rgba(255,255,255,.95), rgba(210,240,255,.6) 40%, rgba(120,195,245,.75)),
    linear-gradient(180deg, #cfeeff, #7cc0ef);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 3px 8px rgba(255,255,255,.9), inset 0 -10px 24px rgba(20,110,190,.35), 0 14px 30px rgba(9,62,120,.35);
}
.loop__fund { font-size: 9px; line-height: 1.8; color: #08427f; }
.loop__fund b { font-size: 13px; }
.loop__tag { position: absolute; left: 50%; transform: translateX(-50%); font-size: 8px; white-space: nowrap; color: #063a74; background: rgba(255,255,255,.75); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.9); }
.loop__tag--t { top: -34px; }
.loop__tag--b { bottom: -34px; }

/* ---------------- sysprops table ---------------- */
.sysprops { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sysprops td { padding: 9px 12px; border-bottom: 1px dotted #b9cde2; vertical-align: middle; }
.sysprops td:first-child { width: 34%; color: #4a6484; font-weight: 700; }
.sysprops tr:hover td { background: #eaf6ff; }
.sysprops img { vertical-align: middle; }

/* ---------------- risks ---------------- */
.risks { max-width: 1080px; margin: 110px auto; padding: 0 18px; text-align: center; }
.risks__head { font-size: clamp(12px, 2.6vw, 20px); color: #fff; text-shadow: 0 2px 0 rgba(9,62,120,.6), 0 6px 18px rgba(9,62,120,.5); line-height: 1.8; }
.risks__sub { color: #eaf7ff; margin: 10px 0 34px; text-shadow: 0 1px 3px rgba(9,62,120,.7); }
.errstack { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.win--err {
  width: min(330px, 92vw);
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.2s ease;
}
.win--err:hover { transform: rotate(0deg) scale(1.03); z-index: 3; }
.err__body { display: flex; gap: 14px; align-items: center; text-align: left; }
.err__ico { font-size: 38px; }
.err__body p { font-size: 13.5px; line-height: 1.55; }
.win--err.err--done { opacity: 0.45; filter: grayscale(0.8); }
.risks__close { margin-top: 34px; color: #eaf7ff; font-size: 17px; font-weight: 700; text-shadow: 0 1px 3px rgba(9,62,120,.7); }

/* ---------------- CTA (underwater) ---------------- */
.cta { margin-top: 130px; position: relative; }
.cta__deep {
  position: relative;
  padding: 110px 18px 140px;
  text-align: center;
  color: #dff2ff;
  background:
    radial-gradient(90% 50% at 50% 0%, rgba(126, 217, 255, 0.35), transparent 55%),
    linear-gradient(180deg, rgba(11, 98, 184, 0) 0%, rgba(9, 74, 150, 0.85) 12%, var(--deep) 40%, var(--abyss) 100%);
}
.cta__deep::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 60px;
  background:
    radial-gradient(24px 16px at 12% 100%, var(--deep) 98%, transparent),
    radial-gradient(30px 20px at 30% 100%, var(--deep) 98%, transparent),
    radial-gradient(20px 14px at 47% 100%, var(--deep) 98%, transparent),
    radial-gradient(32px 22px at 66% 100%, var(--deep) 98%, transparent),
    radial-gradient(24px 16px at 85% 100%, var(--deep) 98%, transparent);
  opacity: .0;
}
.cta__fish { position: absolute; opacity: 0.9; }
.cta__fish.f1 { left: 6%; top: 26%; animation: swim 17s ease-in-out infinite alternate; }
.cta__fish.f2 { right: 8%; top: 42%; animation: swim 23s ease-in-out infinite alternate-reverse; }
.cta__fish.f3 { left: 12%; bottom: 18%; animation: swim 20s ease-in-out infinite alternate; }
@keyframes swim {
  from { transform: translateX(0) translateY(0); }
  to   { transform: translateX(9vw) translateY(-30px); }
}

.cta__h {
  font-family: var(--font-pixel);
  font-size: clamp(15px, 3.4vw, 30px);
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 210, 74, 0.6), 0 3px 0 rgba(60, 30, 0, 0.6);
  line-height: 1.8;
}
.cta__sub { margin: 16px 0 30px; font-size: 17px; }
.cta__wallet { margin-bottom: 14px; }
.cta__walletmsg { font-size: 9px; line-height: 1.9; color: #9fe3ff; margin-bottom: 10px; }

.ca {
  display: inline-block; margin-top: 12px;
  font-size: 10px; color: #a9dcff;
  background: rgba(3, 30, 66, 0.7);
  border: 1px dashed #4aa3e0;
  padding: 10px 16px; border-radius: 8px;
  cursor: pointer;
}
.ca:hover { background: rgba(3, 40, 88, 0.9); }
.ca [data-copy-hint] { color: #6cff6c; }

.cta__gifrow { display: flex; justify-content: center; align-items: center; gap: 28px; margin: 40px 0 26px; flex-wrap: wrap; }
.cta__legal { max-width: 640px; margin: 0 auto; font-size: 11.5px; line-height: 1.7; color: #8fb8dd; }
.cta__copy { margin-top: 26px; font-size: 8px; line-height: 2; color: #6f9cc4; }

.blink { animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* ---------------- dividers, stickers ---------------- */
.divider { display: block; width: min(760px, 92vw); margin: 0 auto; image-rendering: pixelated; }
.stickers { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.stickers img {
  position: absolute; left: var(--x); top: var(--y);
  filter: drop-shadow(0 6px 10px rgba(3, 40, 80, 0.35));
  animation: bob 4.5s ease-in-out infinite alternate;
}
.stickers img:nth-child(even) { animation-duration: 5.8s; animation-delay: -2s; }
@keyframes bob { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-16px) rotate(3deg); } }

/* ---------------- boot dialog ---------------- */
.boot-veil {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 24, 52, 0.55);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.boot-veil[hidden] { display: none; }
.boot-dialog { width: min(520px, 94vw); animation: boot-pop 0.35s cubic-bezier(0.2, 1.6, 0.4, 1); }
@keyframes boot-pop { from { transform: scale(0.6); opacity: 0; } }
.boot-dialog__body { display: flex; gap: 18px; align-items: center; }
.boot-dialog__big { font-size: 19px; font-weight: 700; margin-bottom: 8px; }

/* ---------------- taskbar ---------------- */
.taskbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; align-items: stretch; gap: 8px;
  height: 42px;
  padding: 4px 6px;
  background: linear-gradient(180deg, #3a80f0 0%, #1e5cd6 6%, #1a51c4 50%, #1c56cc 95%, #123c96 100%);
  border-top: 2px solid #6cb2ff;
  box-shadow: 0 -4px 16px rgba(3, 24, 56, 0.5);
}
.startbtn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-round); font-weight: 800; font-style: italic; font-size: 16px;
  color: #fff; text-decoration: none; text-shadow: 0 1px 2px rgba(0, 40, 0, 0.6);
  padding: 0 16px 0 10px;
  border-radius: 4px 12px 12px 4px;
  background: linear-gradient(180deg, #7ede58 0%, #3fae1f 45%, #2c8f12 50%, #37a319 100%);
  border: 1px solid #1f7a0c;
  box-shadow: inset 0 2px 3px rgba(255,255,255,.6), inset 0 -3px 6px rgba(0,60,0,.4);
}
.startbtn img { border-radius: 3px; }
.startbtn:hover { filter: brightness(1.1); }
.taskbar__apps { display: flex; gap: 5px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.taskbar__apps::-webkit-scrollbar { display: none; }
.taskbtn {
  display: inline-flex; align-items: center;
  white-space: nowrap;
  font-family: "Trebuchet MS", sans-serif; font-size: 13px;
  color: #fff; text-decoration: none;
  padding: 0 12px;
  border-radius: 4px;
  background: linear-gradient(180deg, #4d8df2, #2a63d8 55%, #2258c8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.4);
}
.taskbtn:hover { background: linear-gradient(180deg, #6ba5ff, #3a75e8 55%, #2f66d6); }
.tray {
  display: flex; align-items: center; gap: 10px;
  font-size: 9px; color: #dff0ff;
  padding: 0 12px;
  background: linear-gradient(180deg, #2f9de8, #0f6cc8);
  border-radius: 4px;
  border-left: 1px solid rgba(255,255,255,.3);
}

/* ---------------- cursor sparkles ---------------- */
.spark {
  position: fixed; z-index: 300; pointer-events: none;
  font-size: 14px; line-height: 1;
  animation: spark-fall 0.9s ease-out forwards;
}
@keyframes spark-fall {
  from { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
  to   { opacity: 0; transform: translate(var(--dx, 0), 46px) scale(0.3) rotate(120deg); }
}

/* ---------------- price ticker ---------------- */
.pxticker {
  position: sticky; top: 28px; z-index: 49;
  display: flex; align-items: center; gap: 10px;
  background: #04122e; border-bottom: 1px solid #123f7a;
  overflow: hidden; white-space: nowrap;
  font-size: 9px; line-height: 2.4;
  box-shadow: 0 2px 8px rgba(2,14,36,.4);
}
.pxticker__tag {
  flex: 0 0 auto; color: #04122e; background: var(--gold);
  padding: 0 10px; align-self: stretch; display: flex; align-items: center;
  font-weight: 700;
}
.pxticker__track { color: #7fe3ff; padding-left: 12px; }
.pxticker__track b { color: #6cff6c; }
.pxticker [data-move] { font-style: normal; color: #6cff6c; }
.pxticker.down [data-move], .pxticker.down [data-chg], .pxticker.down b { color: #ff6b6b; }

/* ---------------- y2k badge ---------------- */
.badge88--y2k { background: linear-gradient(180deg, #b45cff, #6a0fb0); color: #ffe; }

/* ---------------- download-more-SOL gag ---------------- */
.dl { max-width: 420px; margin: 26px auto 4px; text-align: center; }
.dl__label { font-size: 9px; color: #4a6484; margin-bottom: 8px; text-align: left; }
.dl__bar {
  height: 20px; border: 2px inset #9a9a9a; background: #fff; padding: 2px;
}
.dl__fill {
  height: 100%; width: 3%;
  background: repeating-linear-gradient(90deg, #1f7ad6 0 10px, #2f8fe0 10px 14px);
}
.dl__eta { font-size: 8px; color: #96260a; margin-top: 8px; text-align: left; }

/* ---------------- err icons ---------------- */
.err__ico { display: inline-flex; align-items: center; justify-content: center; width: 42px; flex: 0 0 auto; }
.err__ico svg { width: 38px; height: 38px; color: #c40000; }
.err__ico--gif { image-rendering: auto; }

/* ---------------- guestbook ---------------- */
.gbook__form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.gbook__name { width: 200px; }
.gbook__msg { flex: 1 1 240px; }
.gbook__list { list-style: none; display: grid; gap: 10px; }
.gbook__list li {
  border: 1px solid #cfe2f4; border-left: 4px solid #2f8fe0;
  background: linear-gradient(180deg, #f6fbff, #eaf4fd);
  padding: 10px 14px; border-radius: 6px;
}
.gbook__list li.gbook--new { animation: gb-pop .4s ease; border-left-color: #2e9e1f; }
@keyframes gb-pop { from { transform: scale(.9); opacity: 0; } }
.gbook__who { font-family: var(--font-pixel); font-size: 10px; color: #0a58c0; }
.gbook__when { float: right; font-size: 11px; color: #8aa6c4; }
.gbook__list p { margin-top: 6px; font-size: 14px; }

/* ---------------- webring ---------------- */
.webring {
  max-width: 480px; margin: 36px auto 0;
  border: 2px ridge #4aa3e0; border-radius: 8px;
  background: rgba(3, 30, 66, 0.6);
  padding: 14px 16px; text-align: center;
}
.webring__title { font-size: 10px; color: var(--gold); }
.webring__row { display: flex; gap: 8px; justify-content: center; margin: 12px 0 10px; flex-wrap: wrap; }
.webring__btn {
  font-family: "Trebuchet MS", sans-serif; font-size: 12px;
  color: #eaf7ff; cursor: pointer;
  background: linear-gradient(180deg, #3a80f0, #1a51c4);
  border: 1px outset #6cb2ff; border-radius: 5px; padding: 5px 12px;
}
.webring__btn:hover { filter: brightness(1.15); }
.webring__btn:active { border-style: inset; }
.webring__note { font-size: 8px; color: #7fb0dd; line-height: 1.8; }

/* ---------------- PONZI PAL assistant ---------------- */
.pal {
  position: fixed; left: 16px; bottom: 54px; z-index: 120;
  width: 230px;
  display: flex; flex-direction: column; align-items: flex-start;
  animation: pal-in .5s cubic-bezier(.2,1.5,.4,1);
}
@keyframes pal-in { from { transform: translateY(30px) scale(.7); opacity: 0; } }
.pal[hidden] { display: none; }
.pal__x {
  align-self: flex-end; margin-bottom: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid #0b57ab; cursor: pointer;
  background: linear-gradient(180deg, #ff8a66, #e0401c); color: #fff; font-size: 10px;
}
.pal__bubble {
  background: #fffbe0; border: 1px solid #b7a94e; border-radius: 12px;
  padding: 12px 14px; font-size: 13px; line-height: 1.45; color: #4a3b00;
  box-shadow: 0 6px 16px rgba(3,34,73,.35);
  position: relative;
}
.pal__bubble::after {
  content: ""; position: absolute; left: 30px; bottom: -9px;
  border: 9px solid transparent; border-top-color: #fffbe0; border-bottom: 0;
}
.pal__char {
  margin-top: 10px; margin-left: 14px;
  filter: drop-shadow(0 6px 8px rgba(3,40,80,.4));
  animation: bob 3.5s ease-in-out infinite alternate;
  cursor: pointer;
}

/* ---------------- popup ad ---------------- */
.popad {
  position: fixed; inset: 0; z-index: 150;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(4, 24, 52, 0.4);
}
.popad[hidden] { display: none; }
.win--popad { width: min(400px, 94vw); animation: boot-pop .4s cubic-bezier(.2,1.6,.4,1); }
.win__bar--gold { background: linear-gradient(180deg, #ffe07a, #f5b301 55%, #d68f00); color: #5a3d00; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.win__bar--gold .wico { color: #7a5200; filter: none; }
.popad__body { text-align: center; position: relative; overflow: hidden; }
.popad__big { font-size: 15px; color: #d40000; margin: 10px 0; animation: blink 1s steps(2) infinite; }
.popad__btnwrap { position: relative; height: 60px; margin: 16px 0 6px; }
.popad__claim { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); transition: left .18s ease, top .18s ease; }
.popad__claim.dodge { transition: left .12s ease, top .12s ease; }
.popad__fine { font-size: 8px; color: #8aa6c4; margin-top: 4px; }

/* ---------------- tray button ---------------- */
.tray__ico { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; padding: 0; }
.tray__ico.muted { opacity: .4; }

/* ---------------- turbo (konami) rain ---------------- */
.turbo-rain { position: fixed; inset: 0; z-index: 130; pointer-events: none; overflow: hidden; }
.turbo-rain img { position: absolute; top: -60px; width: 40px; animation: rain-fall linear forwards; }
@keyframes rain-fall { to { transform: translateY(110vh) rotate(360deg); } }
body.turbo .logo { animation: turbo-hue 1.2s linear infinite; }
body.turbo .ticker__track { animation-duration: 8s; }
@keyframes turbo-hue { to { filter: hue-rotate(360deg) drop-shadow(0 10px 24px rgba(4,40,90,.45)); } }
.turbo-toast {
  position: fixed; left: 50%; top: 40%; transform: translate(-50%,-50%);
  z-index: 140; font-family: var(--font-pixel); font-size: 22px; color: var(--gold);
  text-shadow: 0 0 16px rgba(255,210,74,.9), 0 3px 0 #6a3d00;
  animation: toast .3s ease, blink 1s steps(2) infinite;
  pointer-events: none; text-align: center;
}
@keyframes toast { from { transform: translate(-50%,-50%) scale(.4); opacity: 0; } }

/* ---------------- radio (junk window) ---------------- */
.win--radio .win__body.radio { background: linear-gradient(180deg, #d9d9d1, #a7a79d); }
.radio__lcd {
  display: flex; gap: 8px; align-items: center;
  background: #06180d; border: 2px inset #2c7a3c; border-radius: 3px;
  padding: 8px 10px; overflow: hidden;
}
.radio__now { color: #6cff6c; font-size: 8px; white-space: nowrap; }
.radio__track {
  color: #9dff9d; font-family: var(--font-pixel); font-size: 10px;
  white-space: nowrap; animation: tick 7s linear infinite;
}
.radio__eq { display: flex; gap: 3px; align-items: flex-end; height: 46px; margin: 12px 2px; }
.radio__eq i {
  flex: 1; height: 40%;
  background: linear-gradient(180deg, #b6ff6c, #2ea01f);
  border-radius: 1px;
  animation: eq 0.7s ease-in-out infinite alternate;
}
.radio__eq i:nth-child(3n)   { animation-duration: 0.5s; }
.radio__eq i:nth-child(3n+1) { animation-duration: 0.92s; }
.radio__eq i:nth-child(4n)   { animation-duration: 0.66s; }
.radio__eq i:nth-child(2n)   { animation-delay: -0.35s; }
.radio__eq i:nth-child(5n)   { animation-delay: -0.6s; }
@keyframes eq { from { height: 12%; } to { height: 100%; } }
.radio__row { display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.radio__vol { font-size: 8px; color: #2a3b2a; }

/* ---------------- awards (junk window) ---------------- */
.awards__grid { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.awards__grid img { image-rendering: pixelated; border: 1px solid rgba(0,0,0,.3); }
.badge88--made { background: linear-gradient(180deg, #8a6a3a, #3a2a12); color: #ecd9b0; }

/* ---------------- aquarium (junk window) ---------------- */
.aqua__tank {
  position: relative; height: 190px; border-radius: 8px; overflow: hidden;
  border: 3px solid #dff2ff;
  background: linear-gradient(180deg, #a7e3ff 0%, #4aa6ec 55%, #0e5cb4 100%);
  box-shadow: inset 0 0 34px rgba(4,40,90,.55), 0 6px 16px rgba(9,62,120,.25);
}
.aqua__floor {
  position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  background: linear-gradient(180deg, #e8d49a, #c7a86a);
  box-shadow: inset 0 3px 6px rgba(0,0,0,.2);
}
.aqua__fish { position: absolute; filter: drop-shadow(0 3px 5px rgba(0,30,60,.4)); }
.af1 { top: 18%; left: 4%;  animation: swimA 13s ease-in-out infinite alternate; }
.af2 { top: 42%; left: 58%; animation: swimB 18s ease-in-out infinite alternate; }
.af3 { bottom: 22%; left: 20%; animation: swimA 16s ease-in-out infinite alternate-reverse; }
.af4 { top: 30%; left: 78%; animation: swimB 11s ease-in-out infinite alternate-reverse; }
.af5 { bottom: 20%; left: 66%; animation: swimA 20s ease-in-out infinite alternate; }
@keyframes swimA { from { transform: translateX(0) scaleX(1); } to { transform: translateX(150px) scaleX(1); } }
@keyframes swimB { from { transform: translateX(0) scaleX(-1); } to { transform: translateX(-140px) scaleX(-1); } }

/* ---------------- side rails (wide screens) ---------------- */
.rail {
  position: fixed; top: 66px; bottom: 46px; width: 76px; z-index: 6;
  display: none; flex-direction: column; align-items: center; justify-content: space-around;
  pointer-events: none;
}
.rail--l { left: 4px; } .rail--r { right: 4px; }
.rail img { filter: drop-shadow(0 4px 8px rgba(3,40,80,.35)); animation: bob 4.5s ease-in-out infinite alternate; }
.rail img:nth-child(even) { animation-duration: 6s; animation-delay: -2s; }
@media (min-width: 1560px) { .rail { display: flex; } }

/* ---------------- responsive ---------------- */
@media (max-width: 720px) {
  .win__body { padding: 20px 16px; }
  .steps__arrow { transform: rotate(90deg); }
  .hero__dolphins { gap: 14px; }
  .hero__dolphins img { max-width: 26vw; height: auto; }
  .hero__bananas img { height: 40px; }
  .winwrap__pet { width: 76px; bottom: -40px; }
  .stickers { display: none; }
  .taskbar { height: 40px; }
  .tray > span[title] { display: none; }
  .pal { display: none !important; }
  .gbook__name { width: 100%; }
}

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

/* ---------- app overlay (URL stays poolzi.fun) ---------- */
.appmodal{position:fixed;inset:0;z-index:99999;display:flex;flex-direction:column;background:#0b2740}
.appmodal[hidden]{display:none}
.appmodal__bar{display:flex;align-items:center;gap:12px;height:46px;padding:0 12px;flex:0 0 auto;color:#fff;background:linear-gradient(#39a0e5,#1f7ad6);box-shadow:0 2px 10px rgba(0,0,0,.35)}
.appmodal__back{font:inherit;cursor:pointer;border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.18);color:#fff;padding:6px 14px;border-radius:8px}
.appmodal__back:hover{background:rgba(255,255,255,.3)}
.appmodal__title{font-size:11px;opacity:.9;letter-spacing:.5px}
.appmodal__frame{flex:1 1 auto;width:100%;border:0;background:#eef6fc}
