/* ============ $GULP — swamp & lake theme (polished cartoon) ============ */
:root {
  --ink: #15181a;
  --sky: #8fe3f0;
  --sky-hi: #d6f7fa;
  --water: #2ec4c9;
  --water-deep: #129aa6;
  --water-dark: #0b5f6c;
  --lime: #a6e22e;
  --lime-hi: #d4f56b;
  --frog-dark: #4f9a1e;
  --pad: #4caf50;
  --pad-dark: #2e7d32;
  --pink: #ff4fa3;
  --pink-hi: #ff9fcf;
  --gold: #ffc93c;
  --gold-hi: #ffe27a;
  --cream: #fff7e0;
  --night: #0f2a3d;
  --white: #ffffff;
  --radius: 22px;
  --line: 3px;
  --soft: 0 14px 28px -12px rgba(8, 30, 40, .45);
  --shadow: 0 4px 0 var(--ink), var(--soft);
  --font-display: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--water-deep); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: .3px; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 12px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 400 1.1rem/1 var(--font-display); letter-spacing: .4px; text-decoration: none;
  color: var(--fg); background: var(--bg);
  background-image: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 55%);
  padding: .78em 1.25em; min-height: 48px;
  border: var(--line) solid var(--ink); border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink), 0 10px 18px -8px rgba(0,0,0,.4); cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, filter .14s;
  -webkit-tap-highlight-color: transparent; user-select: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink), 0 16px 24px -10px rgba(0,0,0,.45); filter: brightness(1.04); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink), 0 4px 8px -4px rgba(0,0,0,.3); }
.btn-pink { --bg: var(--pink); --fg: #fff; }
.btn-gold { --bg: var(--gold); }
.btn-lime { --bg: var(--lime); }
.btn-white { --bg: #fff; }
.btn-ink { --bg: var(--ink); --fg: #fff; background-image: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,0) 55%); }
.btn-pink, .btn-ink { text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.btn-sm { font-size: .98rem; padding: .55em 1em; min-height: 42px; }
.btn-lg { font-size: 1.28rem; }
.btn-xl { font-size: 1.5rem; padding: .8em 1.4em; }
.btn-huge { font-size: clamp(1.35rem, 4vw, 1.9rem); padding: .8em 1.4em; flex: 1 1 260px; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- section scaffolding ---------- */
.sec { position: relative; padding: 88px 0 100px; background: linear-gradient(180deg, var(--sec-top), var(--sec-bottom, var(--sec-top))); }
.sec::before {
  content: ''; position: absolute; left: 0; right: 0; top: -30px; height: 32px; background: var(--sec-top);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C150 8 300 8 450 22S750 36 900 22 1100 10 1200 20V40Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C150 8 300 8 450 22S750 36 900 22 1100 10 1200 20V40Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.head { text-align: center; margin-bottom: 40px; }
.head .lead { margin-bottom: 0; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  font: 700 .74rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.eyebrow-dark { color: var(--ink); background: rgba(255,255,255,.55); border-color: rgba(21,24,26,.14); }
.title { font-size: clamp(2.5rem, 8.5vw, 4.3rem); text-align: center; margin-bottom: .22em; }
.title span {
  color: var(--title-fill, #fff);
  text-shadow: 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink),
               0 3px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink),
               0 6px 0 var(--ink), 0 14px 24px rgba(0,0,0,.22);
}
.lead { text-align: center; font-size: 1.1rem; max-width: 620px; margin: 0 auto 36px; font-weight: 500; opacity: .92; }
.sub { font-size: clamp(1.8rem, 6vw, 2.5rem); text-align: center; margin: 64px 0 8px; color: #fff;
  text-shadow: 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 0 5px 0 var(--ink); }

/* ============ NAV (fixed glass) ============ */
.topbar {
  position: fixed; z-index: 40; top: 10px; left: 50%; translate: -50% 0; width: min(1160px, 100% - 20px); height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 10px 0 12px;
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.75); border-radius: 999px;
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 10px 30px -14px rgba(8,30,40,.45), inset 0 1px 0 rgba(255,255,255,.8);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.5rem var(--font-display); }
.brand img { border: 2px solid var(--ink); border-radius: 50%; }
.brand span { color: var(--lime); text-shadow: 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 0 3px 0 var(--ink); }
.navlinks { display: none; gap: 2px; }
.navlinks a { font: 600 .95rem var(--font-body); text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: background .15s; }
.navlinks a:hover { background: rgba(21,24,26,.07); }
@media (min-width: 860px) { .navlinks { display: flex; } }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 80% at 70% 10%, #e9fcff 0%, transparent 60%), linear-gradient(180deg, #7fd9ea 0%, var(--sky-hi) 66%);
  padding: calc(var(--nav-h) + 22px) 0 0; min-height: 100svh; display: flex; flex-direction: column;
}
.clouds i { position: absolute; z-index: -1; display: block; width: 180px; height: 56px; border-radius: 60px; background: #fff; opacity: .8; animation: drift 70s linear infinite; filter: blur(.3px); }
.clouds i::after { content: ''; position: absolute; width: 90px; height: 70px; border-radius: 50%; background: #fff; left: 40px; top: -32px; }
.clouds i:nth-child(1) { top: 120px; left: -10%; }
.clouds i:nth-child(2) { top: 200px; left: 55%; transform: scale(.7); animation-duration: 90s; animation-delay: -30s; }
.clouds i:nth-child(3) { top: 96px; left: 80%; transform: scale(.55); animation-duration: 110s; animation-delay: -60s; }
@keyframes drift { from { translate: -20vw 0; } to { translate: 120vw 0; } }

.hero-inner {
  position: relative; z-index: 2; flex: 1; width: min(1160px, 100% - 32px); margin: 0 auto;
  display: grid; grid-template-areas: "copy" "art" "actions"; align-content: start; justify-items: center;
  text-align: center; padding-top: 12px; padding-bottom: 36px;
}
.hero-copy { grid-area: copy; position: relative; z-index: 3; }
.hero-art { grid-area: art; }
.hero-actions { grid-area: actions; width: 100%; display: grid; gap: 18px; justify-items: center; position: relative; z-index: 3; }
.hero-art::before {
  content: ''; position: absolute; z-index: 0; top: 70%; left: 50%; width: 400vw; height: 200vh; translate: -50% 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 40'%3E%3Cpath d='M0 20 C 60 6, 120 6, 180 20 S 300 34, 360 20 V 40 H 0 Z' fill='%232ec4c9'/%3E%3Cpath d='M0 20 C 60 6, 120 6, 180 20 S 300 34, 360 20' fill='none' stroke='%2315181a' stroke-width='3.5'/%3E%3C/svg%3E") repeat-x 0 0 / 360px 40px,
    linear-gradient(180deg, var(--water) 0, var(--water-deep) 60vh) 0 38px / 100% 100% no-repeat;
}
.hero-art::after { content: ''; position: absolute; z-index: 0; top: 80%; left: 50%; width: 140%; height: 40px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(255,255,255,.45), transparent); }
.hero-actions .btn-row { justify-content: center; }

.mega {
  font-size: clamp(5rem, 25vw, 11rem); line-height: .9; color: var(--lime);
  text-shadow: 4px 4px 0 var(--ink), -4px 4px 0 var(--ink), 4px -4px 0 var(--ink), -4px -4px 0 var(--ink),
               0 5px 0 var(--ink), 5px 0 0 var(--ink), -5px 0 0 var(--ink), 0 -5px 0 var(--ink),
               0 11px 0 var(--ink), 0 24px 34px rgba(0,60,70,.28);
  transform: rotate(-2deg);
}
.tagline { font: 400 clamp(1.4rem, 5.4vw, 2.2rem)/1.12 var(--font-display); margin: 14px 0 0; color: #fff;
  text-shadow: 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 0 4px 0 var(--ink), 0 10px 18px rgba(0,0,0,.15); }
.tagline span { color: var(--pink); display: inline-block; }

.hero-art { position: relative; width: min(86vw, 440px); margin: 6px 0 -6px; }
.hero-glow { position: absolute; z-index: 1; left: 50%; top: 52%; width: 92%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,226,122,.7), rgba(255,201,60,.25) 55%, transparent);
  animation: glow 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes glow { 0%,100% { opacity: .75; scale: 1; } 50% { opacity: 1; scale: 1.06; } }
.gulp-bob { width: 100%; height: auto; position: relative; z-index: 2; animation: bob 3.6s ease-in-out infinite; transform-origin: 50% 90%;
  filter: drop-shadow(0 18px 18px rgba(11,95,108,.3)); }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-9px) rotate(.5deg); } }
.ripples { position: absolute; left: 50%; bottom: 3%; width: 100%; height: 22%; translate: -50% 0; z-index: 1; }
.ripples i { position: absolute; inset: 0; border: 3px solid rgba(255,255,255,.8); border-radius: 50%; animation: ripple 3.6s ease-out infinite; opacity: 0; }
.ripples i:nth-child(2) { animation-delay: 1.2s; } .ripples i:nth-child(3) { animation-delay: 2.4s; }
@keyframes ripple { 0% { transform: scale(.6); opacity: .85; } 100% { transform: scale(1.35); opacity: 0; } }
.hero-burp { position: absolute; z-index: 3; left: 26%; top: 26%; width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff 0 14%, rgba(255,159,207,.5) 15% 70%, rgba(255,79,163,.75) 100%);
  border: 2px solid var(--ink); opacity: 0; animation: heroBurp 7s ease-in infinite 2s; }
@keyframes heroBurp { 0% { opacity: 0; transform: translate(0,0) scale(.3); } 6% { opacity: 1; transform: translate(-8px,-6px) scale(1); }
  40% { opacity: 1; transform: translate(-30px,-150px) scale(1.15); } 46%,100% { opacity: 0; transform: translate(-34px,-180px) scale(1.5); } }

.ca-box {
  display: flex; align-items: center; gap: 10px; width: min(100%, 620px);
  background: rgba(255,255,255,.92); border: var(--line) solid var(--ink); border-radius: 999px; padding: 6px 6px 6px 8px; box-shadow: var(--shadow);
}
.ca-label { font: 700 .8rem var(--font-body); letter-spacing: .12em; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 12px; flex: none; }
.ca-text { color: var(--ink); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 .92rem/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: left; }
.copy-btn { flex: none; }
.copy-btn.ok { --bg: var(--gold); }

.reeds { position: absolute; z-index: 1; bottom: 26%; width: 28%; height: 52%; background: no-repeat bottom / contain; }
.reeds-l { left: -20%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 220'%3E%3Cg stroke='%2315181a' stroke-width='4' stroke-linejoin='round'%3E%3Cpath d='M40 220 Q 44 120 50 60' fill='none' stroke-width='10'/%3E%3Cpath d='M40 220 Q 44 120 50 60' fill='none' stroke='%234f9a3a' stroke-width='4.5'/%3E%3Crect x='38' y='10' width='24' height='66' rx='12' fill='%23a0612c'/%3E%3Cpath d='M80 220 Q 84 150 92 110' fill='none' stroke-width='10'/%3E%3Cpath d='M80 220 Q 84 150 92 110' fill='none' stroke='%234f9a3a' stroke-width='4.5'/%3E%3Crect x='81' y='64' width='22' height='56' rx='11' fill='%23a0612c'/%3E%3Cpath d='M20 220 Q 30 140 0 90 Q 44 140 36 220 Z' fill='%235cb83f'/%3E%3Cpath d='M60 220 Q 70 160 116 120 Q 84 170 76 220 Z' fill='%235cb83f'/%3E%3C/g%3E%3C/svg%3E"); }
.reeds-r { right: -20%; transform: scaleX(-1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 220'%3E%3Cg stroke='%2315181a' stroke-width='4' stroke-linejoin='round'%3E%3Cpath d='M40 220 Q 44 120 50 60' fill='none' stroke-width='10'/%3E%3Cpath d='M40 220 Q 44 120 50 60' fill='none' stroke='%234f9a3a' stroke-width='4.5'/%3E%3Crect x='38' y='10' width='24' height='66' rx='12' fill='%23a0612c'/%3E%3Cpath d='M20 220 Q 30 140 0 90 Q 44 140 36 220 Z' fill='%235cb83f'/%3E%3Cpath d='M60 220 Q 70 160 116 120 Q 84 170 76 220 Z' fill='%235cb83f'/%3E%3C/g%3E%3C/svg%3E"); }

@media (min-width: 900px) {
  .hero { min-height: 0; padding-bottom: 40px; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; grid-template-areas: "copy art" "actions art"; text-align: left; justify-items: start; align-content: center; column-gap: 32px; padding: 40px 0 70px; }
  .hero-copy { align-self: end; }
  .hero-actions { justify-items: start; align-self: start; padding-top: 24px; }
  .hero-actions .btn-row { justify-content: flex-start; }
  .hero-art { width: min(100%, 560px); justify-self: center; align-self: center; }
}

/* ---------- floating burp bubbles (subtle) ---------- */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 30; overflow: hidden; }
.bubbles i {
  position: absolute; bottom: -60px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  border: 1.5px solid rgba(21,24,26,.35);
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95) 0 12%, rgba(255,159,207,.25) 14% 70%, rgba(255,79,163,.4) 100%);
  animation: rise var(--d) linear infinite; animation-delay: var(--delay); opacity: .55;
}
@keyframes rise { 0% { transform: translate(0, 0); } 25% { transform: translate(14px, -28vh); } 50% { transform: translate(-12px, -56vh); }
  75% { transform: translate(10px, -84vh); } 100% { transform: translate(0, -115vh); } }

.toast { position: fixed; z-index: 50; left: 50%; bottom: 22px; translate: -50% 140%; background: rgba(21,24,26,.92); color: #fff;
  font: 600 .98rem var(--font-body); padding: 12px 20px; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  transition: translate .25s ease; pointer-events: none; max-width: calc(100% - 32px); text-align: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.toast.show { translate: -50% 0; }

/* ============ INTRO ============ */
.intro { display: none; position: fixed; inset: 0; z-index: 100; background: linear-gradient(180deg, #86dbee, #d9f7fa 66%, #38c9cf 66%, #118f9d); cursor: pointer; }
html.intro-on, html.intro-on body { overflow: hidden; }
html.intro-on .intro, .intro.out { display: block; }
.intro.out { opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-logo { position: absolute; top: max(18px, env(safe-area-inset-top)); left: 50%; translate: -50% 0; font: 400 1.6rem var(--font-display); color: var(--lime);
  text-shadow: 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 0 3px 0 var(--ink); }
.intro-status { position: absolute; bottom: max(26px, env(safe-area-inset-bottom)); left: 50%; translate: -50% 0; white-space: nowrap;
  font: 600 .95rem var(--font-body); color: #fff; padding: 8px 16px; border-radius: 999px; background: rgba(11,60,70,.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.intro-skip { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; font: 600 .85rem var(--font-body); color: var(--ink);
  padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(21,24,26,.2); background: rgba(255,255,255,.7); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.intro-skip:hover { background: #fff; }

/* ============ LORE ============ */
.sec-lore { --sec-top: var(--water-deep); --sec-bottom: #0b6774; color: #fff; }
.sec-lore .lead { color: #e9fdff; }
.comic { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .comic { grid-template-columns: 1fr 1fr; } }
.panel { background: #fff; color: var(--ink); border: var(--line) solid var(--ink); border-radius: 20px; overflow: hidden;
  box-shadow: 0 5px 0 var(--ink), 0 24px 40px -18px rgba(0,20,30,.6); display: flex; flex-direction: column; }
.panel .cap { flex: 1; }
.panel svg { width: 100%; height: auto; border-top: var(--line) solid var(--ink); }
.cap { margin: 0; padding: 14px 18px; background: #fff6d8; font-weight: 500; font-size: .98rem; line-height: 1.5; min-height: 4.6em; }
.cap b:first-child { font-family: var(--font-display); font-weight: 400; color: var(--pink); font-size: 1.2em; margin-right: 6px; }
.sfx { font-family: var(--font-display); stroke: var(--ink); stroke-width: 6px; paint-order: stroke fill; stroke-linejoin: round; }
.sfx-s { font-family: var(--font-display); }
.steam { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 6; stroke-linecap: round; }
.legend { margin: 44px auto 0; max-width: 820px; text-align: center; font: 400 clamp(1.3rem, 4.2vw, 1.9rem)/1.3 var(--font-display);
  background: rgba(10,40,48,.55); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 24px; padding: 22px 26px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.legend b { font-weight: 400; color: var(--lime); }
.legend em { font-style: normal; color: var(--gold); }

/* ============ FEED ============ */
.sec-feed { --sec-top: #b2ea3a; --sec-bottom: #93d22a; --title-fill: var(--pink); }
.feed { display: grid; gap: 24px; align-items: center; }
.feed-copy { text-align: center; }
.feed-copy .lead { margin-bottom: 24px; }
.counter { font: 600 1.05rem var(--font-body); margin: 22px 0 10px; }
.counter strong { font: 400 2.6rem/1 var(--font-display); color: #fff; display: block;
  text-shadow: 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 0 5px 0 var(--ink); }
.meter { max-width: 420px; margin: 0 auto; }
.meter-bar { height: 22px; background: rgba(255,255,255,.85); border: var(--line) solid var(--ink); border-radius: 999px; overflow: hidden; box-shadow: 0 3px 0 var(--ink); }
.meter-bar i { display: block; height: 100%; width: 0%; background: repeating-linear-gradient(-45deg, var(--pink) 0 12px, var(--pink-hi) 12px 24px); transition: width .25s ease; border-right: 2px solid var(--ink); }
.meter-msg { font-weight: 500; margin-top: 10px; font-size: .96rem; }
.feed-stage { position: relative; display: grid; place-items: center; min-height: 320px; }
.feed-stage::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.55), transparent); }
.feed-gulp { position: relative; width: min(84vw, 430px); transform-origin: 50% 90%; cursor: pointer; filter: drop-shadow(0 18px 16px rgba(40,80,10,.3)); }
.feed-gulp img { width: 100%; height: auto; }
.feed-gulp.wobble { animation: wobble .7s cubic-bezier(.3,1.6,.5,1); }
@keyframes wobble { 0% { transform: scale(1,1); } 20% { transform: scale(1.12,.86); } 40% { transform: scale(.9,1.12) rotate(-3deg); }
  60% { transform: scale(1.05,.95) rotate(2deg); } 80% { transform: scale(.98,1.02); } 100% { transform: scale(1); } }
.feed-fx { position: absolute; inset: 0; pointer-events: none; }
.fx-bubble { position: absolute; border-radius: 50%; border: 3px solid var(--ink);
  background: radial-gradient(circle at 30% 28%, #fff 0 13%, rgba(255,159,207,.6) 15% 70%, rgba(255,79,163,.85) 100%);
  animation: fxRise 1.8s ease-out forwards; }
@keyframes fxRise { 0% { transform: translate(0,0) scale(.2); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--dx), -220px) scale(1); opacity: 0; } }
.fx-word { position: absolute; font: 400 clamp(2rem, 7vw, 3.2rem) var(--font-display); color: var(--gold); white-space: nowrap;
  text-shadow: 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 0 5px 0 var(--ink);
  animation: fxPop 1.1s ease-out forwards; }
@keyframes fxPop { 0% { transform: scale(.3) rotate(-10deg); opacity: 0; } 25% { transform: scale(1.12) rotate(-5deg); opacity: 1; } 100% { transform: translateY(-60px) scale(1) rotate(-3deg); opacity: 0; } }
.fx-fly { position: absolute; font-size: 2rem; animation: fly .55s ease-in forwards; }
@keyframes fly { from { transform: translate(var(--fx), var(--fy)); opacity: 1; } to { transform: translate(0,0) scale(.4); opacity: 0; } }
@media (min-width: 860px) { .feed { grid-template-columns: 1fr 1fr; } .feed-copy { text-align: left; } .feed-copy .lead { text-align: left; } .feed-copy .lead, .meter { margin-left: 0; } .feed .title { text-align: left; } }

/* ============ PFP ============ */
.sec-pfp { --sec-top: var(--night); --sec-bottom: #0a1c2a; color: #fff; --title-fill: var(--lime); }
.sec-pfp .lead { color: #d5f3f7; }
.pfp { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "actions" "controls"; }
.pfp-stage { grid-area: stage; position: sticky; top: calc(var(--nav-h) + 12px); z-index: 4; padding: 8px 0; background: #0e2739; }
.pfp-canvas { position: relative; width: min(100%, 46svh, 560px); margin: 0 auto; aspect-ratio: 1; border: var(--line) solid var(--ink); border-radius: 22px; overflow: hidden;
  box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 24px 50px -16px rgba(0,0,0,.7);
  background: repeating-conic-gradient(#e5eef0 0 25%, #fff 0 50%) 0 0 / 32px 32px; transition: border-radius .3s ease; }
.pfp-canvas canvas { width: 100%; height: 100%; }
.pfp-canvas.circle { border-radius: 50%; }
.pfp-canvas.busy::after { content: ''; position: absolute; right: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; border-top-color: var(--pink); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.pfp-canvas.burp { animation: wobble .7s cubic-bezier(.3,1.6,.5,1); }
.pfp-burp { position: absolute; left: 50%; top: 40%; translate: -50% -50%; font: 400 clamp(2.4rem, 9vw, 4.4rem) var(--font-display); color: var(--pink); opacity: 0; pointer-events: none;
  text-shadow: 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 0 5px 0 var(--ink); }
.pfp-canvas.burp .pfp-burp { animation: fxPop .9s ease-out; }
.pfp-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
@media (max-width: 899px) {
  .pfp-stage { top: calc(var(--nav-h) + 8px); }
  .pfp-canvas { width: min(100%, 36svh, 560px); }
  .pfp-actions { gap: 8px; }
  .pfp-actions .btn { font-size: 1rem; padding: .55em .95em; min-height: 44px; }
}
.pfp-actions .hint { width: 100%; text-align: center; margin: 0; font-size: .9rem; color: #b9dfe6; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; cursor: pointer; padding: 6px 4px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch span { width: 50px; height: 30px; border-radius: 999px; background: #34586a; border: 2px solid rgba(255,255,255,.7); position: relative; transition: background .2s; flex: none; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.3); transition: transform .2s; }
.switch input:checked + span { background: var(--pink); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 3px; }
.pfp-controls { grid-area: controls; min-width: 0; display: grid; gap: 20px; }
.ctl h3 { font-size: 1.3rem; margin: 0 0 10px; color: var(--gold); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ctl h3 small { font: 500 .88rem var(--font-body); color: #b9dfe6; }
.ctl { min-width: 0; }
.style-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 520px) { .style-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (min-width: 900px) { .style-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.scroller { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.chip { flex: none; width: 84px; scroll-snap-align: start; background: none; border: 0; padding: 0; cursor: pointer; color: #fff; text-align: center; font: 500 .78rem/1.2 var(--font-body); -webkit-tap-highlight-color: transparent; }
.style-grid .chip { width: auto; }
.chip .th { display: block; aspect-ratio: 1; border-radius: 16px; border: 2px solid rgba(255,255,255,.18); background: #d9f6f8; overflow: hidden; box-shadow: 0 8px 18px -10px rgba(0,0,0,.7); transition: transform .14s, box-shadow .14s, border-color .14s; position: relative; }
.chip .th img { width: 100%; height: 100%; object-fit: cover; }
.chip .th.none { display: grid; place-items: center; background: #fff; }
.chip .th.none::before { content: ''; width: 46%; height: 46%; border-radius: 50%; border: 4px solid #c9d3da; background: linear-gradient(45deg, transparent 44%, #c9d3da 44% 56%, transparent 56%); }
.chip .lbl { display: block; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.chip:hover .th { transform: translateY(-2px); border-color: rgba(255,255,255,.5); }
.chip[aria-pressed="true"] .th { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,79,163,.45), 0 10px 20px -10px rgba(0,0,0,.8); transform: translateY(-2px); }
.chip[aria-pressed="true"] .lbl { color: var(--pink-hi); opacity: 1; }
.chip[aria-pressed="true"] .th::after { content: '✓'; position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: #fff; font: 700 .7rem var(--font-body); }
.pfp-left { display: contents; }
@media (min-width: 900px) {
  .pfp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "left controls"; column-gap: 40px; align-items: start; }
  .pfp-left { display: grid; gap: 22px; grid-area: left; position: sticky; top: calc(var(--nav-h) + 24px); }
  .pfp-left > * { grid-area: auto; }
  .pfp-stage { position: static; background: transparent; padding: 0; }
  .pfp-canvas { width: min(100%, 62svh, 540px); }
}

/* ============ GAME ============ */
.sec-game { --sec-top: #e6fafc; --sec-bottom: #fff3d4; --title-fill: var(--lime); }
.game { position: relative; width: 100%; aspect-ratio: 3 / 4; max-height: 76svh; border: var(--line) solid var(--ink); border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, #86dbee, #d9f7fa 70%, #38c9cf 70%); box-shadow: 0 5px 0 var(--ink), 0 30px 50px -24px rgba(8,40,50,.55); }
@media (min-width: 700px) { .game { aspect-ratio: 16 / 10; max-height: 640px; } }
.game canvas { width: 100%; height: 100%; cursor: crosshair; outline: none; }
.game canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--pink); }
.game.playing, .game.playing canvas { touch-action: none; user-select: none; -webkit-user-select: none; }
.game-hud { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font: 600 .82rem var(--font-body);
  color: #fff; background: rgba(21,24,26,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pill b { font: 400 1.05rem/1 var(--font-display); letter-spacing: .3px; }
.pill-pink { background: rgba(255,79,163,.92); }
.pill-gold { background: rgba(255,201,60,.95); color: var(--ink); }
.pill-ghost { background: rgba(255,255,255,.72); color: var(--ink); margin-left: auto; }
.game-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px;
  background: rgba(15,42,61,.32); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.game-overlay[hidden] { display: none; }
.game-card { width: min(100%, 380px); background: #fff; border: var(--line) solid var(--ink); border-radius: 22px; padding: 24px 22px 22px; text-align: center;
  box-shadow: 0 5px 0 var(--ink), 0 30px 50px -20px rgba(0,0,0,.6); }
.game-card h3 { font-size: 2.1rem; margin-bottom: 6px; }
.game-card p { margin-bottom: 14px; font-weight: 500; }
.legend-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; text-align: left; font: 500 .9rem var(--font-body); }
.legend-list li { display: flex; align-items: center; gap: 8px; }
.legend-list b { margin-left: auto; font: 400 1rem var(--font-display); }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.dot-fly { background: #2b2f36; } .dot-gold { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.dot-note { background: #ffe066; border-radius: 3px; } .dot-red { background: #ff4d6d; border-radius: 3px; }

/* ============ TOKENOMICS ============ */
.sec-tokens { --sec-top: #ffd257; --sec-bottom: #ffbd2c; --title-fill: #fff; }
.token-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
@media (min-width: 700px) { .token-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; } }
.token { background: #fff; border: var(--line) solid var(--ink); border-radius: var(--radius); padding: 22px 14px; text-align: center; box-shadow: var(--shadow); }
.token:nth-child(4n+2) { background: #ecfbfd; } .token:nth-child(4n+3) { background: #fff0f7; } .token:nth-child(4n+4) { background: #f4fbe2; }
.token svg { width: 60px; height: 60px; margin: 0 auto 10px; }
.token .k { font: 700 .78rem var(--font-body); text-transform: uppercase; letter-spacing: .14em; opacity: .75; }
.token .v { font: 400 2.5rem/1.1 var(--font-display); }

/* ============ COMMUNITY ============ */
.sec-community { --sec-top: var(--pad); --sec-bottom: var(--pad-dark); --title-fill: var(--gold); }
.sec-community .lead { color: #fff; }
.big-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 8px; }
.meme-wall { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .meme-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .meme-wall { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.meme { margin: 0; aspect-ratio: 1; border: var(--line) solid var(--ink); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .2s ease; }
.meme:not(.empty):hover { transform: translateY(-4px); }
.meme img { width: 100%; height: 100%; object-fit: cover; }
.meme.empty { display: grid; place-items: center; align-content: center; gap: 8px; background: rgba(255,255,255,.1); border: 2px dashed rgba(255,255,255,.55); color: #fff; text-align: center; padding: 10px;
  font: 600 .95rem var(--font-body); box-shadow: none; }
.meme.empty svg { width: 40%; opacity: .8; }

/* ============ FOOTER ============ */
.footer { position: relative; background: var(--ink); color: #fff; padding: 70px 0 50px; text-align: center; }
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: -30px; height: 32px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C150 8 300 8 450 22S750 36 900 22 1100 10 1200 20V40Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V24C150 8 300 8 450 22S750 36 900 22 1100 10 1200 20V40Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.brand-lg { font-size: 2.4rem; }
.brand-lg img { border-color: #fff; }
.brand-lg span { text-shadow: none; }
.foot-tag { font: 400 1.25rem var(--font-display); color: var(--pink-hi); margin: 10px 0 20px; }
.footer .ca-box { margin: 26px auto 0; background: #fff; border-color: #fff; box-shadow: 0 16px 30px -14px rgba(0,0,0,.8); }
.disclaimer { max-width: 640px; margin: 28px auto 0; font-size: .84rem; color: #9fb3ba; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; translate: 0 22px; transition: opacity .6s ease, translate .6s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubbles, .hero-burp, .ripples, .intro { display: none !important; }
  .reveal { opacity: 1; translate: none; }
}
