/* ============ Fonts (self-hosted, same as the app) ============ */
@font-face { font-family: "Bangers"; src: url(assets/fonts/Bangers-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Knewave"; src: url(assets/fonts/Knewave-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/BarlowCondensed-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/BarlowCondensed-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/BarlowCondensed-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(assets/fonts/BarlowCondensed-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #0b0612;
  --bg-2: #120a1c;
  --panel: #1a1024;
  --line: rgba(255, 255, 255, .08);
  --pink: #ff1f7a;
  --pink-hot: #ff3d8e;
  --yellow: #ffd21a;
  --orange: #ff8a1a;
  --red: #ff2a2a;
  --text: #f4eefa;
  --muted: #c3b6d2;
  --display: "Bangers", Impact, "Arial Black", sans-serif;
  --body: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 19px/1.35 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.y { color: var(--yellow); }
.p { color: var(--pink); }

/* ============ Shared bits ============ */
.h2 {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 76px);
  line-height: .95;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: rotate(-3deg);
  transform-origin: left center;
  text-shadow: 3px 3px 0 #000, 6px 6px 0 rgba(0, 0, 0, .35);
  margin-bottom: 22px;
}
.h2--sm { font-size: clamp(40px, 4.6vw, 60px); }
.h2--yellow { color: var(--yellow); }
.lead { color: var(--muted); font-size: 20px; max-width: 30ch; margin: 0; }

.btn-yellow {
  display: inline-block;
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a0b00;
  background: linear-gradient(#ffe24a, #ffb800);
  padding: 9px 22px 7px;
  border-radius: 6px;
  border: 2px solid #000;
  box-shadow: 0 3px 0 #000, 0 0 22px rgba(255, 200, 0, .35);
  transform: skewX(-8deg);
  transition: transform .15s, box-shadow .15s;
}
.btn-yellow:hover { transform: skewX(-8deg) translateY(-2px); box-shadow: 0 5px 0 #000, 0 0 30px rgba(255, 200, 0, .55); }

.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 10px;
  padding: 8px 18px 8px 14px;
  min-width: 170px;
  font: 600 22px/1 -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -.3px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: 0; margin-bottom: 2px; }
.store:hover { transform: translateY(-2px); border-color: #fff; box-shadow: 0 0 24px rgba(255, 31, 122, .45); }

.timer {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 18px/1 var(--body);
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.clock {
  width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%;
  position: relative; flex: none;
}
.clock::before, .clock::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 2px; background: currentColor; transform-origin: top center;
}
.clock::before { height: 5px; transform: translate(-50%, -100%); }
.clock::after { height: 4px; transform: translate(-50%, 0) rotate(-90deg); }

.hpbar {
  position: relative; height: 16px; border-radius: 4px;
  background: #2a0b18; border: 2px solid #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  overflow: hidden;
}
.hpbar__fill {
  height: 100%;
  background: linear-gradient(#ff6aa8, var(--pink) 45%, #c4004f);
  box-shadow: 0 0 12px var(--pink);
  transition: width .6s ease;
}
.hpbar__label {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 700 10px/1 var(--body); letter-spacing: 1px; color: rgba(255, 255, 255, .7);
}

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 6, 18, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-right: auto; }
.nav__links a { font: 600 17px/1 var(--body); color: #e8def2; transition: color .15s; }
.nav__links a:hover { color: var(--yellow); }
.nav__burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__burger span { display: block; width: 24px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ============ Hero ============ */
.hero {
  --u: min(1px, calc(100svh / 950)); /* scales the crowd and the boss with the window height */
  position: relative; overflow: hidden; isolation: isolate;
  height: calc(100svh - 63px); min-height: 560px; max-height: 980px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center 30%;
  filter: saturate(1.15) brightness(.8);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 6, 18, .92) 0%, rgba(11, 6, 18, .55) 38%, rgba(11, 6, 18, .1) 65%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%);
}
.hero__glow {
  position: absolute; z-index: -1; right: 6%; top: 34%; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(255, 31, 122, .55), rgba(255, 31, 122, 0) 65%);
  filter: blur(10px);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .65; transform: scale(1.06); } }

.hero__inner {
  height: 100%;
  max-width: var(--wrap); margin: 0 auto; padding: 24px 24px calc(170 * var(--u));
  display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 20px;
}
.hero__logo { width: min(440px, 100%, calc((100svh - 63px) * .5)); filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .6)); }
.hero__tag {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 44px);
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(-4deg);
  transform-origin: left;
  text-shadow: 3px 3px 0 #000;
  margin: 4px 0 22px;
}
.hero__lead { font-size: 22px; font-weight: 600; margin: 0 0 28px; text-shadow: 0 2px 8px #000; }

.hero__stage { position: static; }
.hero__fight { /* HP card sits right on top of the boss */
  position: absolute; z-index: 1;
  right: max(-30px, calc((100% - var(--wrap)) / 2 - 30px));
  bottom: calc(-30 * var(--u));
  width: min(560px, 44vw, calc((100svh - 63px - 150px) * .74));
}
.hero__boss {
  position: relative; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 18%);
  mask-image: linear-gradient(0deg, transparent 0%, #000 18%);
  animation: bossIdle 2.6s ease-in-out infinite;
  transform-origin: bottom center;
}
.hero__boss.is-hit { animation: bossHit .22s ease-out; }
@keyframes bossIdle { 50% { transform: translateY(-8px) scale(1.01); } }
@keyframes bossHit {
  0% { transform: translate(0, 0); }
  30% { transform: translate(-10px, 4px) rotate(-1.5deg); }
  60% { transform: translate(8px, -2px) rotate(1deg); }
  100% { transform: translate(0, 0); }
}

.bosscard {
  position: relative; z-index: 6; width: min(380px, 100%); margin: 0 6% -20px auto;
  background: rgba(10, 4, 16, .85);
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 6px;
  padding: 10px 14px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.bosscard__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.bosscard__name { font: 400 22px/1 var(--display); letter-spacing: 1px; text-transform: uppercase; }
.bosscard__name b { font-weight: 400; margin-left: 6px; }
.bosscard__hp { text-align: right; font: 700 16px/1 var(--body); margin-top: 7px; font-variant-numeric: tabular-nums; }

/* players attacking the boss */
.hero__copy { position: relative; z-index: 5; }
.crowd {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: calc(330 * var(--u));
  pointer-events: none; overflow: hidden;
}
.crowd::after { /* feet fade into the page */
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(0deg, var(--bg) 10%, transparent);
}
.crowd__p {
  position: absolute; width: auto; max-width: none;
  height: calc(var(--h) * var(--u, 1px));
  transform-origin: bottom center;
  animation: recoil 1.1s ease-in-out infinite;
}
@keyframes recoil {
  0%, 70%, 100% { transform: translate(0, 0); }
  78% { transform: translate(-4px, 3px) rotate(-.6deg); }
}

/* floating damage numbers */
.dmg-layer { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.dmg {
  position: absolute;
  font-family: var(--display);
  font-size: 40px;
  line-height: .9;
  color: var(--yellow);
  text-align: center;
  -webkit-text-stroke: 2px #000;
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 #000, 0 0 18px rgba(255, 140, 0, .7);
  transform: rotate(-8deg);
  animation: dmgFloat 1.3s cubic-bezier(.2, .9, .3, 1) forwards;
  white-space: nowrap;
}
.dmg small { display: block; font-size: .55em; color: var(--orange); }
.dmg--crit { font-size: 58px; }
.dmg--big { font-size: 70px; }
@keyframes dmgFloat {
  0% { opacity: 0; transform: translateY(16px) rotate(-8deg) scale(.4); }
  15% { opacity: 1; transform: translateY(0) rotate(-8deg) scale(1.15); }
  30% { transform: translateY(-6px) rotate(-8deg) scale(1); }
  100% { opacity: 0; transform: translateY(-80px) rotate(-8deg) scale(.95); }
}

/* ============ Sections ============ */
.sect { padding: 64px 0; position: relative; }
.sect--line { border-top: 1px solid var(--line); padding: 56px 0; }
.sect--split { background: radial-gradient(ellipse at 75% 50%, rgba(140, 30, 200, .18), transparent 60%); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.features { display: flex; gap: 40px; margin-top: 44px; }
.features li {
  text-align: center;
  font: 400 19px/1.05 var(--display);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.feat-ico {
  display: grid; place-items: center;
  width: 58px; height: 58px; margin: 0 auto 10px;
  color: #4fd4ff;
  filter: drop-shadow(0 0 10px rgba(79, 212, 255, .7));
}
.feat-ico svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.features li:nth-child(2) .feat-ico { color: #6fb2ff; }
.features li:nth-child(3) .feat-ico { color: #39e1ff; }

/* ============ Phone mockup ============ */
.phone-wrap { position: relative; justify-self: center; width: min(360px, 82vw); padding: 20px 0; }
.phone-wrap::before {
  content: ""; position: absolute; inset: 10% -30%; z-index: -1;
  background: radial-gradient(circle, rgba(255, 31, 122, .4), rgba(140, 40, 255, .18) 45%, transparent 70%);
  filter: blur(10px);
}
.phone {
  border-radius: 54px;
  padding: 11px;
  background: linear-gradient(135deg, #4a4258, #14101a 35%, #0b080f 65%, #3a3346);
  box-shadow:
    0 0 0 2px #5d546e,
    0 0 0 4px #0d0a12,
    0 0 70px rgba(255, 31, 122, .35),
    0 40px 70px rgba(0, 0, 0, .7);
  transform: rotate(4deg);
  transition: transform .5s ease;
}
.phone:hover { transform: rotate(1deg) translateY(-6px); }
.phone__screen {
  position: relative;
  border-radius: 44px; overflow: hidden;
  background: #07070e;
}
.phone__shot { width: 100%; height: auto; display: block; aspect-ratio: 900 / 1832; object-fit: cover; }
.phone__home { position: absolute; left: 50%; bottom: 9px; width: 36%; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .85); transform: translateX(-50%); }
.phone .dmg { font-size: 30px; -webkit-text-stroke: 1.5px #000; }
.phone .dmg--crit { font-size: 38px; }
.phone .dmg--big { font-size: 46px; }
.phone-wrap__fx {
  position: absolute; z-index: 2; width: 120px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6));
  animation: floaty 3.4s ease-in-out infinite;
}
.phone-wrap__fx--a { left: -70px; top: 52%; }
.phone-wrap__fx--b { right: -76px; top: 18%; width: 110px; animation-delay: -1.7s; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(-6deg); } }

/* ============ Boss roster ============ */
.roster { position: relative; margin-top: 36px; }
.roster__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.boss-tile {
  position: relative; aspect-ratio: 1 / 1.05;
  border-radius: 8px; overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .18);
  background: #1a0d24;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.boss-tile__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.55) saturate(1.2); transition: filter .2s; }
.boss-tile img {
  position: absolute; left: 6%; right: 6%; top: 5%; bottom: 20%; width: 88%; height: 75%;
  object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6));
  transition: transform .25s;
}
.boss-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .3) 32%, transparent 50%); }
.boss-tile__name {
  position: absolute; z-index: 2; left: 10px; bottom: 8px; right: 8px;
  font: 400 21px/.95 var(--display); letter-spacing: .5px; text-transform: uppercase;
}
.boss-tile__name small { display: block; font-size: 15px; color: var(--yellow); }
.boss-tile:hover { transform: translateY(-4px); border-color: var(--pink); box-shadow: 0 0 24px rgba(255, 31, 122, .45); }
.boss-tile:hover img { transform: scale(1.06); }
.boss-tile:hover .boss-tile__bg { filter: brightness(.75) saturate(1.3); }
.boss-tile.is-active { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--orange), 0 0 28px rgba(255, 170, 0, .6); }
.boss-tile.is-locked img { filter: brightness(0) drop-shadow(0 0 12px rgba(200, 60, 255, .9)); }
.boss-tile.is-locked .boss-tile__bg { filter: brightness(.35) saturate(1.5) hue-rotate(40deg); }
.boss-tile.is-locked::before {
  content: "?"; position: absolute; z-index: 2; left: 50%; top: 42%; transform: translate(-50%, -50%);
  font: 400 54px/1 var(--display); color: var(--pink); text-shadow: 0 0 16px var(--pink);
}


[data-carousel] { position: relative; } /* items measure offsetLeft from the track */
.carousel-dots { display: none; justify-content: center; gap: 8px; margin-top: 2px; }
.carousel-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px;
  background: rgba(255, 255, 255, .25); cursor: pointer;
  transition: width .25s, background .25s;
}
.carousel-dots button.is-on { width: 22px; background: var(--pink); }

/* ============ Attack progression ============ */
.row { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; }
.row .lead { font-size: 18px; }
.attacks { display: flex; align-items: stretch; gap: 26px; }
.atk {
  position: relative; flex: 1;
  background: linear-gradient(#1d1128, #110919);
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  padding: 10px 6px 12px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: transform .2s;
}
.atk:hover { transform: translateY(-4px) rotate(-1deg); }
.atk:not(:last-child)::after {
  content: ""; position: absolute; right: -24px; top: 50%;
  border: 10px solid transparent; border-left: 14px solid var(--orange);
  transform: translateY(-50%);
  filter: drop-shadow(0 0 6px rgba(255, 138, 26, .7));
}
.atk h4 { font: 400 15px/1 var(--display); letter-spacing: .5px; text-transform: uppercase; min-height: 18px; }
.atk img { width: 100%; max-width: 110px; margin: 6px 0; flex: 1; object-fit: contain; }
.atk b { font: 400 26px/1 var(--display); letter-spacing: 1px; }
.atk--pink { border-color: var(--pink); box-shadow: 0 0 16px rgba(255, 31, 122, .35); }
.atk--pink h4 { color: var(--pink-hot); }
.atk--red { border-color: var(--red); box-shadow: 0 0 22px rgba(255, 42, 42, .55); background: linear-gradient(#3a0b10, #14060a); }
.atk--red b { color: var(--yellow); }

/* ============ Phases ============ */
.phases { display: flex; gap: 40px; }
.phase {
  position: relative; flex: 1; aspect-ratio: 1.15 / 1;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, .15);
  background:
    linear-gradient(160deg, rgba(60, 30, 110, .55), rgba(12, 6, 24, .88) 75%),
    url(assets/bosses/big_cat/background.webp) center / cover;
}
.phase__art { position: absolute; inset: 0; border-radius: 6px; overflow: hidden; }
.phase__art img {
  position: absolute; right: -6%; bottom: -12%; width: 70%;
  /* soften the art's own cut edges (left side and top) */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 16%);
  mask-composite: intersect;
}
.phase__label { position: relative; z-index: 2; padding: 10px 12px; font-family: var(--display); text-transform: uppercase; line-height: 1; text-shadow: 2px 2px 0 #000, 0 0 10px rgba(0, 0, 0, .8); }
.phase__label span { display: block; font-size: 17px; color: #ff6a9f; }
.phase__label b { display: block; font-weight: 400; font-size: 22px; color: #fff; }
.phase__label small { display: block; font: 700 14px/1.3 var(--body); color: var(--muted); }
.phase--angry {
  background:
    linear-gradient(160deg, rgba(170, 20, 70, .62), rgba(32, 4, 14, .9) 75%),
    url(assets/bosses/big_cat/background.webp) center / cover;
  border-color: rgba(255, 70, 120, .55);
}
.phase--rage {
  background:
    radial-gradient(circle at 68% 62%, rgba(255, 60, 40, .7), rgba(120, 6, 16, .82) 55%, rgba(30, 3, 8, .94)),
    url(assets/bosses/big_cat/background.webp) center / cover;
  border-color: var(--red);
  box-shadow: 0 0 26px rgba(255, 30, 40, .55);
  animation: rageGlow 1.6s ease-in-out infinite;
}
@keyframes rageGlow { 50% { box-shadow: 0 0 40px rgba(255, 60, 30, .8); } }
.phase--rage .phase__label span, .phase--rage .phase__label b { color: var(--yellow); }
.phase:not(:last-child)::after {
  content: ""; position: absolute; z-index: 3; right: -9px; top: 50%;
  border: 14px solid transparent; border-left: 18px solid var(--red);
  transform: translate(100%, -50%);
  filter: drop-shadow(0 0 6px rgba(255, 42, 42, .7));
}

/* ============ Finale ============ */
.finale { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 72px 0 0; isolation: isolate; }
.finale__bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center bottom;
  filter: saturate(1.2);
}
.finale__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 6, 18, .75) 30%, rgba(11, 6, 18, .25) 60%, rgba(11, 6, 18, .55) 100%);
}
.finale__top { display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; }

.bossbadge { --s: 280px; margin: 0; justify-self: center; text-align: center; }
.bossbadge__medal { position: relative; width: var(--s); height: var(--s); display: grid; place-items: center; }
.bossbadge__ring {
  width: 90%; height: 90%; border-radius: 50%;
  padding: calc(var(--s) * .07);
  border: calc(var(--s) * .035) solid #000;
  background: linear-gradient(135deg, #fff27a, #ffc400 50%, #ff8a1a);
  box-shadow: 0 0 calc(var(--s) * .12) rgba(255, 31, 122, .45), 0 0 60px rgba(255, 170, 0, .25);
  animation: medalGlow 2.4s ease-in-out infinite;
}
@keyframes medalGlow { 50% { box-shadow: 0 0 calc(var(--s) * .2) rgba(255, 31, 122, .7), 0 0 80px rgba(255, 170, 0, .4); } }
.bossbadge__inner {
  position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  border: calc(var(--s) * .025) solid #000;
  background: radial-gradient(circle at 50% 40%, #ff2e8a, #3a0f5c 55%, #12082a);
}
.bossbadge__inner img { /* tall art: head and shoulders fill the circle */
  position: absolute; left: 50%; top: calc(var(--s) * .06); width: 115%; max-width: none; transform: translateX(-50%);
}
.bossbadge__limited, .bossbadge__num {
  position: absolute; left: 50%; font-family: "Knewave", var(--display); line-height: 1.15; border: solid #000;
}
.bossbadge__limited {
  top: calc(var(--s) * .01); transform: translateX(-50%) rotate(-3.4deg);
  padding: 0 calc(var(--s) * .05); border-width: calc(var(--s) * .018);
  background: var(--yellow); color: #000; font-size: calc(var(--s) * .1);
}
.bossbadge__num {
  bottom: calc(var(--s) * .02); transform: translateX(-50%) rotate(-2.3deg);
  padding: 0 calc(var(--s) * .08); border-width: calc(var(--s) * .022);
  background: var(--pink); color: #fff; font-size: calc(var(--s) * .15);
  box-shadow: calc(var(--s) * .02) calc(var(--s) * .02) 0 #000;
}
.bossbadge figcaption { margin-top: 14px; color: var(--muted); font-size: 16px; max-width: 26ch; margin-inline: auto; }
.bossbadge figcaption b { display: block; font: 400 26px/1.1 var(--display); letter-spacing: 1px; text-transform: uppercase; color: #fff; }

.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.badges li {
  background: rgba(14, 8, 22, .85);
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: 10px 6px 8px;
  text-align: center;
  font: 400 14px/1 var(--display); letter-spacing: .5px; text-transform: uppercase;
  transition: transform .2s, border-color .2s;
}
.badges img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 6px; }
.badges li:hover { transform: translateY(-3px) rotate(-2deg); border-color: var(--yellow); }

.finale__cta { display: flex; flex-direction: column; align-items: flex-end; padding-top: 140px; padding-bottom: 80px; }
.cta-title {
  font-family: var(--display);
  font-size: clamp(52px, 7.5vw, 104px);
  line-height: .9;
  text-transform: uppercase;
  text-align: right;
  color: var(--yellow);
  transform: rotate(-6deg);
  text-shadow: 4px 4px 0 #000, 0 0 40px rgba(255, 180, 0, .35);
  margin-bottom: 40px;
}
.cta-title em { display: block; font-style: normal; font-size: .38em; color: var(--yellow); margin-top: 6px; }

/* ============ Footer ============ */
/* ============ FAQ ============ */
.faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px;
}
.faq details[open] { border-color: rgba(255, 31, 122, .5); }
.faq summary {
  cursor: pointer; list-style: none; position: relative; padding-right: 28px;
  font: 700 22px/1.2 var(--body); text-transform: uppercase; letter-spacing: .3px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: -2px;
  font: 700 26px/1 var(--body); color: var(--pink);
}
.faq details[open] summary::after { content: "\2212"; color: var(--yellow); }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.faq__more { color: var(--muted); margin: 22px 0 0; }
.faq__more a { color: var(--yellow); }
@media (max-width: 700px) { .faq__list { grid-template-columns: 1fr; } }

.footer { border-top: 1px solid var(--line); padding: 28px 0; background: #07040b; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer img { height: 40px; width: auto; }
.footer nav { display: flex; gap: 20px; margin-right: auto; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--yellow); }
.footer small { color: #8a7d99; font-size: 15px; }

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; translate: 0 30px; transition: opacity .7s ease, translate .7s ease; }
.reveal.is-in { opacity: 1; translate: none; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .nav__links { gap: 20px; }
  .row { grid-template-columns: 1fr; }
  .row .lead { max-width: 46ch; }
  .finale__top { grid-template-columns: 1fr 1fr; }
  .finale__copy { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed; left: 0; right: 0; top: 62px;
    flex-direction: column; gap: 0;
    background: rgba(11, 6, 18, .97);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav__links a { padding: 16px 24px; border-top: 1px solid var(--line); font-size: 20px; }
  .nav__links.is-open { max-height: 400px; }
  .nav__burger { display: block; }
  .nav__inner { gap: 16px; }
  .nav__cta { margin-left: auto; }

  /* phone hero = one screen like desktop: copy top-left, boss bottom-right, crowd along the bottom */
  .hero { min-height: 600px; }
  .hero__inner { grid-template-columns: 1fr; align-items: start; padding-top: 18px; }
  .hero__logo { display: none; }
  .hero__tag { margin: 0 0 12px; font-size: clamp(26px, 7.4vw, 40px); }
  .hero__lead { font-size: 18px; margin-bottom: 18px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(11, 6, 18, .85) 0%, rgba(11, 6, 18, .35) 45%, rgba(11, 6, 18, .2) 70%, var(--bg) 100%); }
  .hero__fight {
    right: -3%; bottom: calc(40 * var(--u));
    width: min(64vw, 360px, max(210px, calc((100svh - 63px - 340px) * .72)));
  }
  /* on phones the HP card is moved (script.js) under the store buttons, so it never runs into them */
  .hero__copy > .bosscard {
    width: 100%; max-width: 360px; margin: 16px auto 0;
    padding: 7px 10px 6px;
  }
  .bosscard__name { font-size: 14px; }
  .bosscard .timer { font-size: 13px; }
  .bosscard__hp { font-size: 12px; margin-top: 5px; }
  .hpbar { height: 12px; }

  .split { grid-template-columns: 1fr; }

  /* swipeable rows: full-bleed, snap to centre, neighbours peek in */
  [data-carousel] {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter)); padding: 10px var(--gutter) 18px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * { flex: 0 0 auto; scroll-snap-align: center; }
  .roster__grid > .boss-tile { width: 42%; }
  .attacks { gap: 30px; }
  .attacks > .atk { width: 34%; }
  .phases { gap: 34px; }
  .phases > .phase { width: 78%; }
  .carousel-dots { display: flex; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { font-size: 18px; }
  .crowd { height: 210px; --u: .62px; }
  .wrap, .nav__inner, .hero__inner { padding-left: 16px; padding-right: 16px; }
  .nav__logo img { height: 38px; }
  .nav__cta { font-size: 15px; padding: 7px 14px 5px; }
  .sect { padding: 56px 0; }
  .bosscard__name { font-size: 18px; }
  .features { gap: 20px; justify-content: space-between; }
  .features li { font-size: 16px; }
  .roster__grid > .boss-tile { width: 64%; }
  .attacks > .atk { width: 40%; }
  .phases > .phase { width: 84%; }
  .finale__top { grid-template-columns: 1fr; }
  .badges { grid-template-columns: repeat(3, 1fr); }
  .bossbadge { --s: 230px; }
  .finale__cta { align-items: center; padding-top: 80px; }
  .cta-title { text-align: center; }
  .stores { justify-content: center; }
  .hero .stores { justify-content: flex-start; }
  .store { min-width: 0; flex: 1; justify-content: center; gap: 8px; padding: 8px 10px; font-size: clamp(16px, 4.8vw, 20px); white-space: nowrap; }
  .store svg { width: 24px; height: 24px; }
  .store small { font-size: 10px; }
  .phone-wrap__fx { width: 84px; }
  .phone-wrap__fx--a { left: -34px; }
  .phone-wrap__fx--b { right: -34px; width: 78px; }
}

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