/* Quack Heroes landing page. Palette and type follow the game (Baloo 2, ink outlines, duck yellow). */
:root {
  --ink: #1d1f3a;
  --ink-soft: #3a3d63;
  --sky: #3ba7f2;
  --sky-deep: #1f6fd1;
  --duck: #ffd23f;
  --duck-deep: #f5a623;
  --beak: #f07a22;
  --cream: #fff7e3;
  --paper: #fff0cc;
  --paper-deep: #f6dfa6;
  --wood: #b5763a;
  --wood-dark: #7a4a20;
  --grass: #7cc44c;
  --grass-deep: #4f9a2f;
  --sea: #4fc3e8;
  --sea-deep: #2a8fc9;
  --cave: #3b2216;
  --cave-deep: #1f1430;
  --white: #fff;
  --r-common: #9aa3ae;
  --r-uncommon: #4cb94a;
  --r-rare: #3c8deb;
  --r-epic: #a35be0;
  --r-legendary: #f5a623;
  --d-gold: #f5b623;
  --d-weapon: #e2483d;
  --d-armor: #7fa863;
  --d-accessory: #9b4fd6;
  --d-skill: #2f8ff0;
  --shadow-ink: 0 4px 0 var(--ink);
  --font: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --dock-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.35;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--duck); padding: 8px 14px; border-radius: 10px; border: 3px solid var(--ink); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 8px; }

/* ---------- Outlined display text (matches the logo's chunky look) ---------- */
.outlined, .plaque span, .hero__tag, .sticker, .join__title, .archive__head h3 {
  paint-order: stroke fill;
  -webkit-text-stroke: 0.16em var(--ink);
  letter-spacing: 0.01em;
}

/* ================= TOP BAR ================= */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 10px var(--gutter);
  transition: background .25s, box-shadow .25s, padding .25s;
}
.topbar.is-solid {
  background: rgba(255, 247, 227, .92);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 0 rgba(29, 31, 58, .12);
  padding-top: 6px; padding-bottom: 6px;
}
.topbar__brand { display: flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.topbar__brand img:first-child { width: 44px; height: 44px; border-radius: 12px; border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); }
.topbar__logo { width: 112px; height: auto; opacity: 0; transform: translateY(-4px); transition: .25s; }
.topbar.is-solid .topbar__logo { opacity: 1; transform: none; }
.pillnav {
  margin: 0 auto;
  display: flex; gap: 4px; padding: 5px;
  background: var(--wood-dark);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink), inset 0 2px 0 rgba(255,255,255,.15);
}
.pillnav a {
  text-decoration: none; color: var(--paper);
  font-weight: 700; font-size: 16px;
  padding: 6px 16px; border-radius: 999px;
  transition: background .15s, color .15s, transform .15s;
}
.pillnav a:hover { background: rgba(255,255,255,.12); }
.pillnav a.is-active { background: var(--duck); color: var(--ink); box-shadow: inset 0 -3px 0 var(--duck-deep); }
.topbar__tools { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { display: flex; border: 3px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--white); box-shadow: 0 3px 0 var(--ink); }
.lang button { border: 0; background: none; padding: 4px 10px; font-weight: 800; font-size: 14px; }
.lang button.is-on { background: var(--duck); }
.iconbtn {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: var(--ink); color: var(--white); border: 3px solid var(--ink);
  border-radius: 50%; box-shadow: 0 3px 0 rgba(0,0,0,.35);
}
.iconbtn svg { width: 20px; height: 20px; fill: currentColor; }
.music { position: relative; }
.music__panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  display: flex; align-items: center; padding: 10px 14px;
  background: var(--white); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 0 3px 0 var(--ink);
}
.music__panel[hidden] { display: none; }
.music__panel input { display: block; width: min(160px, 50vw); height: 24px; margin: 0; accent-color: var(--duck-deep); cursor: pointer; }
.musicbtn { padding: 0; cursor: pointer; }
.musicbtn svg { width: 24px; height: 24px; }
.musicbtn__on { display: none; }
.musicbtn.is-on { background: var(--duck); color: var(--ink); }
.musicbtn.is-on .musicbtn__on { display: block; }
.musicbtn.is-on .musicbtn__off { display: none; }
.menubtn { display: none; background: var(--duck); color: var(--ink); gap: 3px; align-content: center; }
.menubtn span { display: block; width: 18px; height: 3px; background: var(--ink); border-radius: 2px; }

/* ================= HERO ================= */
.hero {
  position: relative; min-height: max(100svh, 640px);
  display: flex; align-items: center;
  overflow: hidden; overflow: clip; isolation: isolate;
  background: #7cc8f5;
}
.hero__bg {
  position: absolute; inset: -3% -3% 0; z-index: -2;
  background: url(/assets/hero_bg.webp) center 70% / cover no-repeat;
  animation: drift 40s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1.04) translateX(-1%); } to { transform: scale(1.08) translateX(1%); } }
.hero::after { /* soft vignette so white copy reads on the sky */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 70% at 25% 50%, rgba(18, 70, 140, .28), transparent 70%);
}
.hero__inner {
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 96px var(--gutter) 120px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; column-gap: 24px;
  grid-template-areas: "brand cast" "copy cast";
}
.hero__brand { grid-area: brand; margin: 0; align-self: end; }
.hero__copy { grid-area: copy; align-self: start; }
.hero__cast { grid-area: cast; }
.hero__logo { width: min(560px, 100%); filter: drop-shadow(0 8px 0 rgba(29,31,58,.25)); animation: pop .8s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pop { from { transform: scale(.6) rotate(-4deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hero__tag {
  margin: 8px 0 4px; font-size: clamp(30px, 3.6vw, 50px); font-weight: 800; line-height: 1.05;
  color: var(--white); text-shadow: 0 5px 0 var(--ink);
}
.hero__tag b { color: var(--duck); display: inline-block; transform: rotate(-2deg); }
.hero__sub {
  margin: 10px 0 24px; max-width: 30ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--white);
  text-shadow: 0 2px 0 rgba(29,31,58,.55), 0 0 18px rgba(29,31,58,.35);
}
.hero__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.playbadge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 16px; min-height: 64px;
  background: var(--ink); color: var(--white); text-decoration: none;
  border: 3px solid var(--white); border-radius: 16px;
  box-shadow: 0 5px 0 var(--ink), 0 0 0 3px var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.playbadge:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink), 0 0 0 3px var(--ink); }
.playbadge:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink), 0 0 0 3px var(--ink); }
.playbadge__logo { width: 30px; height: 32px; flex: none; }
.playbadge__txt { display: flex; flex-direction: column; line-height: 1; }
.playbadge__txt small { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.playbadge__txt b { font-size: 24px; font-weight: 700; margin-top: 3px; }
.playbadge--sm { min-height: 52px; padding: 6px 16px 6px 12px; border-radius: 13px; }
.playbadge--sm .playbadge__txt b { font-size: 19px; }
.playbadge--sm .playbadge__logo { width: 24px; height: 26px; }

.playround { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; color: var(--white); }
.playround__btn {
  position: relative; width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 4px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
  transition: transform .15s;
}
.playround__btn::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid rgba(255,255,255,.75); animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.playround__btn svg { width: 30px; height: 30px; fill: var(--beak); margin-left: 4px; }
.playround:hover .playround__btn { transform: scale(1.06); }
.playround__label { font-size: 20px; font-weight: 800; text-shadow: 0 3px 0 var(--ink); }

/* The cast: hand-placed, parallax via --mx/--my set by JS */
.hero__cast { position: relative; height: min(64vh, 620px); min-height: 420px; }
.hero__cast .c {
  position: absolute; bottom: 0; width: auto; max-width: none;
  filter: drop-shadow(0 10px 6px rgba(29,31,58,.25));
  transform: translate(calc(var(--mx, 0) * var(--d, 0) * 1px), calc(var(--my, 0) * var(--d, 0) * 1px));
  transition: transform .4s ease-out;
}
.c--lyra   { height: 54%; left: 56%; bottom: 25% !important; --d: 6; }
.c--kael   { height: 64%; left: 8%;  bottom: 14% !important; --d: 9; }
.c--auriel { height: 60%; left: 70%; bottom: 10% !important; --d: 9; }
.c--rowan  { height: 58%; left: -2%; bottom: 0 !important; --d: 12; }
.c--duck   { height: 68%; aspect-ratio: 615 / 644; left: 30%; --d: 18; z-index: 2; }
.c--duck img { height: 100%; width: 100%; max-width: none; object-fit: contain; transform-origin: 50% 100%; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: scaleY(1) translateY(0); } 50% { transform: scaleY(.965) translateY(2%); } }
.hero__shadow { position: absolute; left: 30%; bottom: -2%; width: 40%; height: 7%; border-radius: 50%; background: rgba(29,31,58,.22); filter: blur(4px); }
.hero__cast .c:not(.c--duck) { animation: rise .9s cubic-bezier(.2,1.4,.4,1) both; }
.c--kael { animation-delay: .15s !important; } .c--auriel { animation-delay: .25s !important; } .c--rowan { animation-delay: .35s !important; } .c--lyra { animation-delay: .05s !important; }
.c--duck { animation: rise .9s .45s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

.hero__sparkles i {
  position: absolute; width: 14px; height: 14px; z-index: -1;
  background: var(--white); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 2.6s ease-in-out infinite;
}
.hero__sparkles i:nth-child(1) { left: 12%; top: 22%; }
.hero__sparkles i:nth-child(2) { left: 46%; top: 16%; animation-delay: .6s; width: 10px; height: 10px; }
.hero__sparkles i:nth-child(3) { left: 62%; top: 30%; animation-delay: 1.2s; }
.hero__sparkles i:nth-child(4) { left: 88%; top: 18%; animation-delay: 1.8s; width: 18px; height: 18px; }
.hero__sparkles i:nth-child(5) { left: 30%; top: 64%; animation-delay: .9s; width: 10px; height: 10px; }
.hero__sparkles i:nth-child(6) { left: 80%; top: 56%; animation-delay: 2.1s; }
@keyframes twinkle { 0%,100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

.scrollcue {
  position: absolute; left: 50%; bottom: 74px; translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--white); text-decoration: none; font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  text-shadow: 0 2px 0 var(--ink);
}
.scrollcue i { width: 14px; height: 14px; border: solid var(--white); border-width: 0 4px 4px 0; transform: rotate(45deg); animation: nudge 1.4s ease-in-out infinite; filter: drop-shadow(0 2px 0 var(--ink)); }
@keyframes nudge { 50% { translate: 0 6px; } }

/* Section edges (wavy transitions) */
.edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 80px); z-index: 3; pointer-events: none; }
.edge--cream path, .edge--paper path { fill: var(--cream); }
.edge--meadow path { fill: #c9ec9a; }
.edge--sea path { fill: #8fdcf3; }
.edge--cave path { fill: var(--cave); }

/* ================= SECTIONS ================= */
.sec { position: relative; padding: clamp(72px, 9vw, 120px) var(--gutter) clamp(110px, 12vw, 170px); overflow: hidden; overflow: clip; }
.sec--paper {
  background-color: var(--cream);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='%23f3dfae' %3E%3Cpath d='M30 24c-3 0-6 4-6 8 3-2 5-2 6 0 1-2 3-2 6 0 0-4-3-8-6-8zm-6 10c-1 3 0 5 2 5s2-3 0-5zm12 0c-2 2-2 5 0 5s3-2 2-5zm-6 2c-2 2-1 5 0 5s2-3 0-5z'/%3E%3Cpath d='M90 84l2.5 6 6.5.5-5 4.2 1.6 6.3L90 97.6 84.4 101l1.6-6.3-5-4.2 6.5-.5z'/%3E%3C/g%3E%3C/svg%3E");
}
.plaque {
  position: relative; z-index: 2; width: fit-content; margin: 0 auto clamp(28px, 4vw, 48px);
  padding: 8px 40px 12px;
  font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1;
  color: var(--white);
  background: linear-gradient(var(--wood), var(--wood-dark));
  border: 4px solid var(--ink); border-radius: 18px;
  box-shadow: 0 6px 0 var(--ink), inset 0 3px 0 rgba(255,255,255,.25), inset 0 -4px 0 rgba(0,0,0,.18);
  rotate: -1.5deg;
}
.plaque::before, .plaque::after { /* rivets */
  content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-radius: 50%; background: var(--paper-deep); border: 2px solid var(--ink);
}
.plaque::before { left: 12px; } .plaque::after { right: 12px; }
.plaque span { text-shadow: 0 4px 0 var(--ink); }
.plaque--dark { background: linear-gradient(#5b3d8f, #3a2565); }
.lede { position: relative; z-index: 2; text-align: center; margin: -18px auto 36px; max-width: 46ch; font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-soft); }
.lede--light { color: #f3e3c3; }

/* ================= GAMEPLAY CAROUSEL ================= */
.carousel { --card-width: clamp(240px, 24vw, 300px); position: relative; max-width: 1200px; margin: 0 auto; }
.carousel__track { position: relative; touch-action: pan-y; }
.gcard {
  position: absolute; left: 50%; top: 0; width: var(--card-width);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transform: translateX(-50%) translateX(calc(var(--off, 0) * 108%)) scale(var(--s, 1));
  transform-origin: 50% 40%;
  opacity: var(--o, 1); filter: saturate(var(--sat, 1));
  transition: transform .5s cubic-bezier(.3,1.3,.4,1), opacity .4s, filter .4s;
  z-index: var(--z, 1);
  cursor: pointer;
}
.gcard[data-distance="2"] { visibility: hidden; }
.gcard.is-active { position: relative; cursor: default; }
.gcard p { margin: 8px 0 0; font-size: 17px; color: var(--ink-soft); max-width: 26ch; opacity: 0; transition: opacity .3s; }
.gcard.is-active p { opacity: 1; }
.phone {
  position: relative; width: 100%;
  padding: 30px 10px 16px; border-radius: 34px;
  background: var(--ink);
  border: 4px solid var(--ink);
  box-shadow: 0 10px 0 rgba(29,31,58,.25), inset 0 0 0 2px #4a4e7c;
}
.phone > img, .phone > video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 16px; background: #2b2f55; }
.phone__screen {
  display: grid; aspect-ratio: 9 / 20; border-radius: 18px;
  overflow: hidden; background: var(--ink);
}
.phone__screen--short { aspect-ratio: 9 / 16; }
.phone__screen > :is(img, video) { display: block; width: 100%; height: 100%; object-fit: contain; }
.phone::after { content: ""; position: absolute; top: 11px; left: 50%; translate: -50% 0; width: 46px; height: 8px; border-radius: 6px; background: #4a4e7c; }
.sticker {
  margin-top: 12px; position: relative; z-index: 2;
  padding: 6px 22px 8px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1;
  color: var(--white); text-transform: uppercase;
  border: 4px solid var(--ink); border-radius: 16px;
  box-shadow: 0 5px 0 var(--ink);
  rotate: -3deg; text-shadow: 0 3px 0 var(--ink);
}
.sticker--yellow { background: var(--duck); }
.sticker--orange { background: var(--beak); }
.sticker--purple { background: var(--r-epic); }
.sticker--blue { background: var(--r-rare); }
.sticker--green { background: var(--grass-deep); }
.sticker--red { background: #e24b4b; }
.woodarrow {
  position: absolute; top: 38%; z-index: 20;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--duck); border: 4px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
  transition: transform .15s;
}
.woodarrow svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.woodarrow:hover { transform: scale(1.08); }
.woodarrow:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.woodarrow--l { left: 0; } .woodarrow--r { right: 0; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.dots button { width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 3px solid var(--ink); background: var(--white); transition: width .2s, background .2s; }
.dots button.is-on { width: 34px; border-radius: 8px; background: var(--duck); }

/* ================= HEROES ARCHIVE ================= */
.sec--meadow {
  padding-top: clamp(64px, 7vw, 96px);
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.55) 0 60px, transparent 61px),
    radial-gradient(circle at 88% 26%, rgba(255,255,255,.45) 0 80px, transparent 81px),
    linear-gradient(#c9ec9a, #a5dc6e 70%, #8fd05a);
}
.archive {
  position: relative; z-index: 2; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(16px, 4vw, 56px);
}
.archive__card {
  position: relative; padding: 28px 30px 26px;
  background: var(--cream);
  border: 4px solid var(--ink); border-radius: 22px;
  box-shadow: 0 8px 0 var(--ink);
  rotate: -1deg;
}
.archive__card::before { /* notebook rule lines */
  content: ""; position: absolute; inset: 70px 22px 22px; z-index: 0;
  background: repeating-linear-gradient(transparent 0 33px, #f0dfb4 33px 35px);
  border-radius: 8px; pointer-events: none;
}
.archive__card > * { position: relative; z-index: 1; }
.clip { position: absolute !important; top: -18px; right: 34px; width: 26px; height: 52px; border: 4px solid #8d97b5; border-radius: 14px; rotate: 12deg; }
.archive__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.archive__head h3 { margin: 0; font-size: clamp(36px, 4vw, 50px); line-height: 1; color: var(--duck); text-shadow: 0 4px 0 var(--ink); }
.rarity {
  padding: 3px 12px 4px; border-radius: 10px; border: 3px solid var(--ink);
  font-weight: 800; font-size: 15px; letter-spacing: .06em; color: var(--white);
  background: var(--rc, var(--r-legendary)); text-shadow: 0 2px 0 var(--ink);
}
.archive__epithet { margin: 6px 0 12px; font-size: 21px; color: var(--ink-soft); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; min-height: 34px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 12px; border-radius: 999px; border: 3px solid var(--ink); background: var(--white); font-weight: 700; font-size: 16px; }
.chip:empty { display: none; }
.chip i { width: 12px; height: 12px; border-radius: 50%; background: var(--ec, #ccc); border: 2px solid var(--ink); }
.archive__skill { margin-top: 16px; padding: 12px 16px; background: var(--paper); border: 3px dashed var(--wood); border-radius: 14px; }
.archive__skill small { display: block; text-transform: uppercase; font-size: 13px; letter-spacing: .1em; color: var(--wood-dark); }
.archive__skill b { font-size: 22px; }
.archive__skill p { margin: 2px 0 0; font-size: 16px; color: var(--ink-soft); }
.archive__stage { position: relative; display: flex; align-items: center; justify-content: center; }
.archive__stage .woodarrow { top: 45%; }
.island { position: relative; width: min(440px, 84%); aspect-ratio: 1 / 1.08; }
.island__plat {
  position: absolute; left: 0; bottom: 0; width: 100%; height: auto;
  filter: drop-shadow(0 18px 14px rgba(40, 90, 20, .35));
  animation: float 5s ease-in-out infinite;
}
.island__hero {
  position: absolute; left: 50%; bottom: 45%; translate: calc(var(--fx, .5) * -100%) 0;
  height: 64%; width: auto; max-width: none;
  filter: drop-shadow(0 8px 3px rgba(29,31,58,.28));
  transform-origin: 50% 100%;
  animation: float 5s ease-in-out infinite;
}
.island__hero.swap { animation: swapin .45s cubic-bezier(.2,1.6,.4,1), float 5s ease-in-out .45s infinite; }
@keyframes swapin { from { transform: translateY(24px) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.rail {
  position: relative; z-index: 2; margin: clamp(24px, 4vw, 40px) auto 0;
  display: flex; justify-content: center; gap: clamp(10px, 2vw, 18px); flex-wrap: wrap;
}
.rail button {
  position: relative; width: 104px; padding: 0 0 8px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  border-radius: 20px; border: 4px solid var(--ink);
  background: linear-gradient(var(--white) 30%, color-mix(in srgb, var(--rc) 45%, white));
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .15s;
}
.rail button img { width: 100%; height: 92px; object-fit: cover; object-position: 50% 8%; }
.rail button span { font-weight: 800; font-size: 17px; line-height: 1; margin-top: 4px; }
.rail button::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 7px; background: var(--rc); border-bottom: 2px solid var(--ink); z-index: 1; }
.rail button:hover { transform: translateY(-3px); }
.rail button[aria-selected="true"] { transform: translateY(-6px) scale(1.06); outline: 4px solid var(--duck); outline-offset: 2px; }
.rail-wrap { position: relative; }

/* ================= WORLD MAP ================= */
.sec--sea {
  background:
    radial-gradient(ellipse 30% 14% at 20% 85%, rgba(255,255,255,.35), transparent),
    radial-gradient(ellipse 26% 10% at 76% 22%, rgba(255,255,255,.3), transparent),
    linear-gradient(#8fdcf3, var(--sea) 55%, var(--sea-deep));
}
.sec--sea::before { /* little wave marks */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='110'%3E%3Cpath d='M20 30q8-8 16 0t16 0M110 80q8-8 16 0t16 0' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.map { position: relative; z-index: 2; max-width: 1180px; margin: -10px auto 0; height: 470px; }
.map__path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__path path { fill: none; stroke: var(--cream); stroke-width: 6; stroke-dasharray: 2 16; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.region {
  position: absolute; width: clamp(170px, 18vw, 230px); translate: -50% -50%;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.region__isle { position: relative; width: 100%; animation: float 4s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.region__isle img.isle { width: 100%; filter: drop-shadow(0 12px 0 rgba(23, 80, 120, .35)); }
.region__mob { position: absolute; translate: -50% -87%; } /* feet (87% down the frame) on the spot */
@keyframes float { 50% { transform: translateY(-10px); } }
.region__name {
  margin-top: -6px; padding: 4px 14px 6px; border-radius: 12px; border: 3px solid var(--ink);
  background: var(--cream); box-shadow: 0 4px 0 var(--ink);
  font-weight: 800; font-size: 18px; line-height: 1.05; white-space: nowrap;
}
.region__name small { display: block; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.region__num {
  position: absolute; top: -6px; left: 8px; z-index: 3;
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--duck); border: 3px solid var(--ink); box-shadow: 0 3px 0 var(--ink); font-weight: 800; font-size: 20px;
}

/* ================= SPRITES (game sheets, CSS steps) ================= */
/* --fw/--fh: one frame of the built sheet, --n: frame count, --k: display scale. */
.sprite {
  --k: 1;
  width: calc(var(--fw) * var(--k)); height: calc(var(--fh, var(--fw)) * var(--k));
  background: var(--img) 0 0 / calc(var(--fw) * var(--n) * var(--k)) 100% no-repeat;
  animation: sheet var(--dur, 1s) steps(var(--n)) infinite;
}
@keyframes sheet { to { background-position-x: calc(var(--fw) * var(--n) * var(--k) * -1); } }
.sprite--mob { --k: .55; --dur: 1.1s; }
.region__mob .sprite--mob { --k: .44; }
.sprite--duck { --k: 1; --dur: .9s; }

/* ================= BOSSES ================= */
.sec--cave {
  background:
    radial-gradient(ellipse 50% 40% at 50% 46%, rgba(255, 170, 60, .28), transparent 70%),
    radial-gradient(circle at 15% 80%, rgba(163, 91, 224, .25), transparent 40%),
    linear-gradient(var(--cave), #2a1828 60%, var(--cave-deep));
  color: var(--cream);
}
.sec--cave::before { /* stalactites */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 70px; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='70'%3E%3Cpath d='M0 0h240v8l-14 40-12-34-20 52-16-48-14 26-18-40-22 58-14-42-16 30-20-50-16 36-22-46-14 30-22-24z' fill='%231f1430'/%3E%3C/svg%3E") repeat-x;
}
.steps {
  position: relative; z-index: 2; list-style: none; padding: 0; margin: 0 auto clamp(30px, 4vw, 48px); max-width: 980px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: step;
}
.steps li {
  position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; align-items: center;
  padding: 14px 16px 14px 14px; color: var(--cream);
  background: rgba(255, 255, 255, .07); border: 3px solid rgba(255, 255, 255, .16); border-radius: 18px;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -12px; left: -8px; width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--duck); color: var(--ink); border: 3px solid var(--ink); border-radius: 50%; font-weight: 800; font-size: 16px;
}
.steps img { grid-row: span 2; width: 56px; height: 56px; }
.steps b { font-size: 19px; line-height: 1.1; align-self: end; }
.steps span { font-size: 15px; color: #e6d3b5; align-self: start; }

.vault {
  --dc: var(--d-gold);
  position: relative; z-index: 2; max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: stretch;
}
.vault__tabs { display: flex; flex-direction: column; gap: 10px; }
.dtab {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; text-align: left;
  font-weight: 800; font-size: 18px; color: var(--cream);
  background: #3a2448; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s, background .15s;
}
.dtab img { width: 44px; height: 44px; flex: none; padding: 3px; border-radius: 12px; background: rgba(0,0,0,.25); }
.dtab:hover { transform: translateX(4px); }
.dtab[aria-selected="true"] { background: var(--dc); color: var(--white); text-shadow: 0 2px 0 var(--ink); transform: translateX(8px); }
.dtab[aria-selected="true"] img { background: rgba(255,255,255,.35); }
.vault__view {
  position: relative; min-height: 340px; overflow: hidden;
  border: 5px solid var(--ink); border-radius: 26px;
  box-shadow: 0 8px 0 var(--ink), 0 0 0 6px color-mix(in srgb, var(--dc) 55%, transparent), 0 20px 60px color-mix(in srgb, var(--dc) 45%, transparent);
  background: #24152f;
  transition: box-shadow .3s;
}
.vault__art { position: absolute; inset: 0; }
.vault__art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.vault__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 10, 28, .88) 0, rgba(20, 10, 28, .55) 42%, transparent 70%); }
.vault__key {
  position: absolute; right: 22px; top: 18px; width: 96px; height: 96px; rotate: 18deg;
  filter: drop-shadow(0 6px 0 rgba(0,0,0,.35)); animation: float 3s ease-in-out infinite;
}
.vault__info { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 28px 32px; color: var(--white); max-width: 60%; }
.vault__info h3 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; color: var(--white); paint-order: stroke fill; -webkit-text-stroke: .16em var(--ink); text-shadow: 0 4px 0 var(--ink); }
.vault__reward { margin: 0; display: flex; flex-direction: column; }
.vault__reward small { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: #e6d3b5; }
.vault__reward b { font-size: 22px; }
.vault__view.swap .vault__art img { animation: zoomin .6s ease-out; }
.vault__view.swap .vault__info > * { animation: slidein .45s cubic-bezier(.2,1.3,.4,1) both; }
.vault__view.swap .vault__info > :nth-child(2) { animation-delay: .06s; }
.vault__view.swap .vault__info > :nth-child(3) { animation-delay: .12s; }
.vault__view.swap .vault__key { animation: keypop .5s cubic-bezier(.2,1.6,.4,1), float 3s ease-in-out .5s infinite; }
@keyframes zoomin { from { transform: scale(1.12); filter: brightness(.6); } to { transform: none; filter: none; } }
@keyframes slidein { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes keypop { from { transform: scale(.3) rotate(-60deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ================= PERKS BOARD ================= */
.sec--perks { padding-bottom: clamp(70px, 8vw, 110px); }
.board { position: relative; max-width: 1080px; margin: 0 auto; padding-bottom: 60px; }
.board__post { position: absolute; bottom: 0; width: 34px; height: 120px; background: linear-gradient(90deg, var(--wood-dark), var(--wood) 40%, var(--wood-dark)); border: 4px solid var(--ink); border-radius: 6px; }
.board__post--l { left: 14%; } .board__post--r { right: 14%; }
.board__face {
  position: relative; z-index: 2;
  padding: clamp(22px, 3vw, 36px);
  background:
    repeating-linear-gradient(0deg, transparent 0 52px, rgba(0,0,0,.08) 52px 56px),
    linear-gradient(#d39553, #b5763a);
  border: 5px solid var(--ink); border-radius: 26px;
  box-shadow: 0 10px 0 var(--ink), inset 0 4px 0 rgba(255,255,255,.25);
}
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.perks li {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto 1fr; column-gap: 12px;
  padding: 16px; background: var(--cream); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 rgba(29,31,58,.6);
  transition: transform .2s;
}
.perks li:nth-child(odd) { rotate: -1deg; } .perks li:nth-child(even) { rotate: 1deg; }
.perks li:hover { transform: translateY(-4px) rotate(0); }
.perks img { grid-row: span 2; width: 64px; height: 64px; }
.perks b { font-size: 21px; line-height: 1.1; align-self: end; }
.perks span { font-size: 16px; color: var(--ink-soft); }

/* ================= JOIN ================= */
.join { position: relative; overflow: hidden; overflow: clip; padding: clamp(70px, 9vw, 110px) var(--gutter) 0; text-align: center; isolation: isolate; }
.join__sky { position: absolute; inset: 0; z-index: -1; background: url(/assets/hero_bg_small.webp) center 30% / cover no-repeat; }
.join__sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,247,227,1), rgba(255,247,227,0) 30%); }
.join__title { margin: 0; font-size: clamp(42px, 6vw, 76px); font-weight: 800; color: var(--duck); line-height: 1; text-shadow: 0 6px 0 var(--ink); }
.join__sub { margin: 10px auto 26px; font-size: clamp(18px, 1.8vw, 22px); color: var(--white); text-shadow: 0 2px 0 var(--ink), 0 0 14px rgba(29,31,58,.4); max-width: 34ch; }
.join__cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px; min-height: 64px; border-radius: 16px; font-weight: 800; font-size: 21px; text-decoration: none; border: 3px solid var(--white); box-shadow: 0 5px 0 var(--ink), 0 0 0 3px var(--ink); transition: transform .15s; }
.btn svg { width: 24px; height: 24px; fill: currentColor; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn:hover { transform: translateY(-2px); }
.parade { position: relative; height: 200px; margin: 30px calc(var(--gutter) * -1) 0; }
.parade__ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background:
    linear-gradient(#6ec043, #4f9a2f) 0 0 / 100% 22px no-repeat,
    linear-gradient(90deg, #8a5a2e 0 50%, #7a4e27 50% 100%) 0 22px / 80px 42px repeat-x;
  border-top: 4px solid var(--ink);
  animation: scroll-ground 1.2s linear infinite;
}
@keyframes scroll-ground { to { background-position: 0 0, -80px 22px; } }
.parade__cast { position: absolute; left: 0; right: 0; bottom: 56px; display: flex; justify-content: center; align-items: flex-end; gap: clamp(20px, 6vw, 90px); }

/* ================= FOOTER ================= */
.footer { background: var(--ink); color: #c7c9e6; padding: 40px var(--gutter) calc(var(--dock-h) + 36px); }
.footer__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer__links { display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; }
.footer__links a { text-decoration: none; color: var(--white); font-weight: 700; }
.footer__links a:hover { color: var(--duck); }
.footer__small { margin: 0; font-size: 14px; opacity: .75; font-weight: 500; }

/* ================= DOCK (sticky CTA) ================= */
.dock {
  position: fixed; left: 50%; bottom: 14px; z-index: 40;
  translate: -50% calc(100% + 30px);
  display: flex; align-items: center; gap: 14px;
  width: min(760px, calc(100% - 24px)); height: var(--dock-h);
  padding: 0 14px 0 12px;
  background: var(--duck); border: 4px solid var(--ink); border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
  transition: translate .45s cubic-bezier(.2,1.3,.4,1);
}
.dock.is-up { translate: -50% 0; }
.dock__icon { width: 52px; height: 52px; border-radius: 14px; border: 3px solid var(--ink); }
.dock__txt { display: flex; flex-direction: column; line-height: 1.05; margin-right: auto; }
.dock__txt b { font-size: 22px; font-weight: 800; }
.dock__txt span { font-size: 15px; color: var(--wood-dark); }
.dock__duck { position: absolute; right: -18px; top: -54px; width: 84px; height: auto; rotate: 10deg; pointer-events: none; filter: drop-shadow(0 4px 0 rgba(29,31,58,.25)); opacity: 0; transition: opacity .2s; }
.dock.is-up .dock__duck { opacity: 1; }
.dock .playbadge { margin-right: 54px; }

/* ================= MODAL ================= */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(15, 16, 35, .78); backdrop-filter: blur(4px); }
.modal__box { position: relative; width: min(360px, 82vw); animation: pop .4s cubic-bezier(.2,1.5,.4,1); }
.phone--modal { padding: 26px 8px 12px; }
.modal__close {
  position: absolute; right: -20px; top: -20px; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--duck); border: 4px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
}
.modal__close svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }

/* ================= REVEAL ON SCROLL ================= */
.reveal { opacity: 0; translate: 0 36px; transition: opacity .7s, translate .7s cubic-bezier(.2,1.2,.4,1); }
.reveal.is-in { opacity: 1; translate: 0 0; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .pillnav a { padding: 6px 11px; font-size: 15px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --dock-h: 66px; }
  .topbar__logo { display: none; }
  .menubtn { display: grid; }
  .pillnav {
    position: absolute; top: calc(100% + 6px); right: var(--gutter); left: auto; margin: 0;
    flex-direction: column; border-radius: 20px; padding: 8px; min-width: 200px;
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .2s;
  }
  .pillnav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .pillnav a { padding: 10px 16px; font-size: 18px; }
  .topbar__tools { margin-left: auto; }
  .hero__inner { grid-template-columns: 1fr; grid-template-areas: "brand" "cast" "copy"; text-align: center; padding-top: 76px; padding-bottom: 96px; }
  .hero__brand { display: flex; justify-content: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__logo { width: min(340px, 78%); }
  .hero__tag { margin-top: 0; }
  .hero__sub { margin: 6px 0 18px; }
  .hero__cta { justify-content: center; gap: 14px 18px; }
  .hero__cast { height: min(40vh, 380px); min-height: 250px; max-width: 460px; width: 100%; margin: -6px auto 4px; }
  .scrollcue { display: none; }
  .archive { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; max-width: 460px; }
  .vault { grid-template-columns: 1fr; }
  .vault__tabs { flex-direction: row; justify-content: center; gap: 8px; }
  .dtab { padding: 6px; }
  .dtab span { display: none; }
  .dtab[aria-selected="true"], .dtab:hover { transform: translateY(-4px); }
  .vault__view { min-height: 300px; }
  .vault__info { max-width: 100%; justify-content: flex-end; }
  .vault__art::after { background: linear-gradient(0deg, rgba(20, 10, 28, .92) 0, rgba(20, 10, 28, .5) 50%, transparent 80%); }
  .archive__stage { order: -1; }
  .island { width: min(340px, 74%); }
  .map { height: auto; display: flex; flex-direction: column; align-items: center; gap: 26px; }
  .map__path { display: none; }
  .region { position: relative; left: auto !important; top: auto !important; translate: none; }
  .region:nth-child(odd) { margin-left: 34%; } .region:nth-child(even) { margin-right: 34%; }
}
@media (max-width: 900px) {
  .gcard:not(.is-active) { visibility: hidden; }
}
@media (max-width: 640px) {
  .rail button { width: 76px; }
  .rail button img { height: 70px; }
  .rail button span { font-size: 14px; }
  .vault__key { width: 72px; height: 72px; right: 14px; top: 12px; }
  .vault__info { padding: 20px; }
  .carousel { --card-width: min(250px, calc(100vw - 116px)); }
  .woodarrow { width: 46px; height: 46px; top: 36%; }
  .woodarrow svg { width: 20px; height: 20px; }
  .perks { grid-template-columns: 1fr; }
  .perks li { rotate: 0 !important; }
  .board__post { display: none; }
  .board { padding-bottom: 0; }
  .lang button { padding: 4px 8px; }
  .dock { gap: 10px; padding: 0 10px; border-radius: 18px; bottom: 10px; }
  .dock__icon { width: 44px; height: 44px; }
  .dock__txt b { font-size: 18px; } .dock__txt span { font-size: 13px; }
  .dock__duck { display: none; }
  .dock .playbadge { margin-right: 0; }
  .dock .playbadge__txt small { font-size: 10px; }
  .dock .playbadge__txt b { font-size: 16px; }
  .region:nth-child(odd) { margin-left: 22%; } .region:nth-child(even) { margin-right: 22%; }
  .archive__card { padding: 22px 20px; }
  .plaque { font-size: 28px; padding: 8px 32px 10px; text-align: center; max-width: calc(100% - 20px); }
}
@media (max-width: 380px) {
  .dock__txt span { display: none; }
}

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

/* ================= PHONE PASS (2026-10-19, William: "UI mobile masih buruk") ================= */
@media (max-width: 640px) {
  .topbar__tools a.iconbtn { display: none; }               /* TikTok lives in Join; keep the bar light */
  .sec { padding-top: 56px; padding-bottom: 92px; }
  .plaque { margin-bottom: 22px; }
  .lede { margin: -8px auto 22px; font-size: 16px; }

  /* Hero: one symmetric group around the centre, sized in px so no width can push it off-screen */
  .hero__inner { padding-top: 72px; padding-bottom: 84px; }
  .hero__cast { height: 290px; min-height: 0; max-width: none; margin: 0 auto 6px; }
  .hero__cast .c { left: 50% !important; }
  .hero__cast .c--duck   { height: 196px; margin-left: -82px; bottom: 0 !important; } /* body centre ~0.44 of the art; the knife pads the right */
  .hero__cast .c--rowan  { height: 158px; margin-left: -178px; bottom: 0 !important; }
  .hero__cast .c--kael   { height: 168px; margin-left: -150px; bottom: 74px !important; }
  .hero__cast .c--lyra   { height: 146px; margin-left: 14px; bottom: 92px !important; }
  .hero__cast .c--auriel { height: 156px; margin-left: 54px; bottom: 2px !important; }
  .hero__shadow { left: 50%; width: 220px; margin-left: -110px; }
  .hero__tag { font-size: 30px; }
  .hero__sub { font-size: 15px; max-width: 32ch; }
  .hero__cta { flex-wrap: nowrap; gap: 14px; }
  .hero__cta .playbadge { min-height: 56px; padding: 8px 16px 8px 12px; }
  .hero__cta .playbadge__txt b { font-size: 20px; }
  .playround { flex-direction: column; gap: 4px; }
  .playround__btn { width: 52px; height: 52px; }
  .playround__btn svg { width: 24px; height: 24px; }
  .playround__label { font-size: 13px; }

  /* Companions: platform, then the picker, then the details */
  #companions { display: flex; flex-direction: column; align-items: center; }
  #companions .archive { display: contents; }
  #companions .plaque { order: 0; }
  #companions .archive__stage { order: 1; width: 100%; }
  #companions .rail { order: 2; margin-top: 4px; gap: 10px; flex-wrap: nowrap; }
  #companions .archive__card { order: 3; width: 100%; max-width: 480px; margin-top: 22px; rotate: 0deg; }
  .island { width: min(320px, 78%); }
  .rail button { width: 72px; }
  .rail button img { height: 64px; }

  /* Dungeon steps: three compact columns */
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: none; margin-bottom: 26px; }
  .steps li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 6px 10px; gap: 4px; }
  .steps img { width: 40px; height: 40px; }
  .steps b { font-size: 14px; align-self: center; }
  .steps span { font-size: 12px; line-height: 1.25; align-self: center; }
  .steps li::before { width: 24px; height: 24px; font-size: 13px; top: -10px; left: -4px; }

  /* Perks: two compact columns */
  .board__face { padding: 14px; border-radius: 22px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .perks li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 8px; gap: 4px; border-radius: 16px; }
  .perks img { width: 48px; height: 48px; }
  .perks b { font-size: 15px; align-self: center; }
  .perks span { align-self: center; }
  .perks span { font-size: 12.5px; line-height: 1.3; }

  .join { padding-top: 56px; }
  .join__title { font-size: 40px; }
  .parade { height: 170px; }
  .footer { padding-top: 30px; }
}
