/* Pepemon Cards — promotional site. Same house style as the game's menu: the logo's yellow, royal blue and navy; flat bright
   faces with a thick navy outline and a hard navy "side" underneath; Lilita One for anything that shouts.
   All artwork in img/ is made from the game itself by tools/promo/make-art.mjs. No frameworks, no trackers. */
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/lilita-one-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lilita One"; font-style: normal; font-weight: 400; font-display: swap; src: url(../assets/fonts/lilita-one-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --line: #0a1440; --navy: #060b22; --navy-2: #0c1849; --royal: #2a5bd7; --royal-2: #1a3a97; --sky: #9fc2ff; --gold: #ffcb05; --gold-2: #f5a700; --ink: #f4f6ff; --dim: #b4c3ee; --gas: #38bdf8;
  --display: "Lilita One", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--ink); font: 500 17px/1.55 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--line); padding: 8px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; position: relative; z-index: 2; }
.narrow-wrap { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.narrow { max-width: 720px; margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: .015em; }
h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1; color: #fff; -webkit-text-stroke: 8px var(--line); paint-order: stroke fill; text-shadow: 0 6px 0 var(--line); margin: 14px 0 18px; }
h2 em { font-style: normal; color: var(--gold); }
h3 { font-size: 23px; line-height: 1.1; color: #fff; text-shadow: 0 3px 0 var(--line); }
.kicker { display: inline-block; margin: 0; font-family: var(--display); font-size: 14.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--line); background: var(--gold); padding: 4px 14px 5px; border-radius: 99px; border: 3px solid var(--line); box-shadow: 0 3px 0 var(--line); transform: rotate(-1.5deg); }
.kicker.center { display: table; margin-inline: auto; }
.lead { font-size: clamp(17px, 1.5vw, 19.5px); color: #dbe5ff; margin: 0 0 18px; }
.lead b { color: #fff; }
.lead.narrow { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; letter-spacing: .03em; text-decoration: none; padding: 13px 26px 15px; border-radius: 18px; border: 4px solid var(--line); box-shadow: 0 7px 0 var(--line), 0 16px 26px #0008; transition: transform .14s cubic-bezier(.3, 1.6, .5, 1), box-shadow .12s, filter .15s; white-space: nowrap; }
.btn svg { width: 22px; height: 22px; fill: currentColor; stroke: var(--line); stroke-width: 2.4; stroke-linejoin: round; }
.btn:hover { transform: translateY(-3px); filter: brightness(1.06); box-shadow: 0 10px 0 var(--line), 0 22px 30px #0009; }
.btn:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--line); transition-duration: .05s; }
.btn-play { color: var(--line); background: repeating-linear-gradient(-45deg, #fff0 0 16px, #ffffff2e 16px 32px), linear-gradient(180deg, #ffe46b, var(--gold) 50%, #f59f00); }
.btn-play svg { fill: #fff; }
.btn-blue { color: #fff; background: linear-gradient(180deg, #3b74e6, var(--royal-2)); text-shadow: 0 2px 0 var(--line); }
.btn.small { font-size: 16px; padding: 7px 16px 9px; border-width: 3px; border-radius: 14px; box-shadow: 0 4px 0 var(--line); }
.btn.small svg { width: 16px; height: 16px; }
.btn.big { font-size: clamp(22px, 2.6vw, 30px); padding: 17px 34px 20px; border-radius: 22px; }
.btn.big svg { width: 28px; height: 28px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 22px; padding: 9px max(20px, calc((100% - var(--wrap)) / 2)); background: #070d28e0; backdrop-filter: blur(10px); }
.nav-logo img { width: 112px; filter: drop-shadow(0 3px 0 #0008); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.nav-logo:hover img { transform: rotate(-4deg) scale(1.06); }
.nav nav { display: flex; gap: 4px; margin-left: auto; }
.nav nav a { font-family: var(--display); font-size: 16px; letter-spacing: .03em; text-decoration: none; color: #cfdcff; padding: 6px 12px; border-radius: 10px; transition: color .12s, background .12s; }
.nav nav a:hover { color: #fff; background: #2a5bd74d; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(880px, calc(100svh - 62px)); display: grid; place-items: center; padding: 34px 20px 120px; background: radial-gradient(95% 70% at 50% 0%, #3b74e6 0%, #1b3c9f 30%, #0c1849 62%, var(--navy) 100%); }
.hero::before, .final::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(#ffffff1c 1.6px, transparent 2.1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(80% 75% at 50% 20%, #000, transparent 80%); mask-image: radial-gradient(80% 75% at 50% 20%, #000, transparent 80%); }
.rays { position: absolute; z-index: -1; left: 50%; top: 38%; width: min(1700px, 190vmin); aspect-ratio: 1; translate: -50% -50%; background: repeating-conic-gradient(from 0deg, #ffffff16 0deg 5deg, transparent 5deg 15deg); -webkit-mask-image: radial-gradient(circle, #000 0 10%, transparent 52%); mask-image: radial-gradient(circle, #000 0 10%, transparent 52%); animation: spin 90s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.hero-copy { position: relative; z-index: 3; text-align: center; max-width: 760px; display: grid; justify-items: center; }
.hero-logo { width: min(560px, 84vw); filter: drop-shadow(0 18px 24px #000a); animation: pop .8s cubic-bezier(.2, 1.5, .4, 1) backwards, bob 5.5s ease-in-out .8s infinite; }
@keyframes pop { from { opacity: 0; transform: scale(.7) translateY(-20px); } }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-.6deg); } }
.ribbon { margin-top: -4px; animation: pop .5s cubic-bezier(.2, 1.5, .4, 1) .35s backwards; }
.ribbon span { display: inline-block; font-family: var(--display); font-size: clamp(14px, 1.7vw, 19px); letter-spacing: .26em; text-indent: .26em; text-transform: uppercase; color: var(--line); padding: 6px 24px 7px; border-radius: 99px; background: linear-gradient(180deg, #ffe97a, var(--gold) 58%, var(--gold-2)); border: 3px solid var(--line); box-shadow: 0 4px 0 var(--line), 0 12px 24px #0009, inset 0 2px 0 #ffffffa6; transform: rotate(-2deg); }
.hero-line { margin: 22px 0 0; font-family: var(--display); font-size: clamp(25px, 3.4vw, 42px); line-height: 1.12; color: #fff; -webkit-text-stroke: 6px var(--line); paint-order: stroke fill; text-shadow: 0 4px 0 var(--line); animation: rise .6s ease .5s backwards; }
.hero-line b { font-weight: 400; color: var(--gas); }
.hero-sub { margin: 14px 0 0; max-width: 600px; font-size: clamp(16px, 1.45vw, 19px); color: #e2eaff; text-shadow: 0 1px 12px #060b22; animation: rise .6s ease .6s backwards; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 26px; animation: rise .6s ease .7s backwards; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 24px 0 0; animation: rise .6s ease .8s backwards; }
.chips li { font-size: 13.5px; font-weight: 800; letter-spacing: .02em; color: #dbe5ff; padding: 4px 13px 5px; border-radius: 99px; background: #0a144099; border: 2px solid #7aa2ff59; }
.chips li::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffcb05' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 7'/%3E%3C/svg%3E") center / contain no-repeat; }   /* the game's check mark, not the font's */
.ca { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 18px auto 0; padding: 6px 6px 6px 14px; border-radius: 12px; background: var(--navy-2); border: 3px solid var(--line); box-shadow: 0 4px 0 var(--line); animation: rise .6s ease .9s backwards; }
.ca-label { font-family: var(--display); font-size: 15px; color: var(--gold); letter-spacing: .04em; }
.ca-addr { font: 700 13.5px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.ca-copy { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 6px 11px; border-radius: 8px; border: 2px solid var(--line); background: var(--gold); color: var(--line); font: 800 13px var(--body); cursor: pointer; box-shadow: 0 3px 0 var(--line); }
.ca-copy:active { translate: 0 2px; box-shadow: 0 1px 0 var(--line); }
.ca-copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.ca-copy.done { background: #4ade80; }
@media (max-width: 520px) { .ca { gap: 8px; padding-left: 10px; } .ca-addr { font-size: 12px; } .ca-copy span { display: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero-art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pepe { position: absolute; bottom: 38px; width: auto; filter: drop-shadow(0 22px 26px #0009); transition: translate .25s ease-out; will-change: translate; }
.pepe-l { left: max(-30px, calc(50% - 760px)); height: min(60vh, 520px); animation: enterL .9s cubic-bezier(.2, 1.3, .4, 1) .25s backwards; }
.pepe-r { right: max(-40px, calc(50% - 790px)); height: min(52vh, 450px); animation: enterR .9s cubic-bezier(.2, 1.3, .4, 1) .35s backwards; }
.pepe-m { left: max(150px, calc(50% - 480px)); bottom: 18px; height: min(34vh, 290px); animation: enterL .9s cubic-bezier(.2, 1.3, .4, 1) .55s backwards; }
@keyframes enterL { from { opacity: 0; transform: translate(-120px, 40px) rotate(-8deg); } }
@keyframes enterR { from { opacity: 0; transform: translate(120px, 40px) rotate(8deg); } }
.float-card { position: absolute; width: clamp(90px, 9vw, 140px); border-radius: 8px; border: 3px solid var(--line); box-shadow: 0 14px 28px #000a; opacity: .92; animation: drift 9s ease-in-out infinite; }
.fc-1 { left: 7%; top: 12%; rotate: -14deg; } .fc-2 { right: 8%; top: 9%; rotate: 12deg; animation-delay: -3s; }
.fc-3 { left: 19%; top: 46%; rotate: 8deg; width: clamp(70px, 6.4vw, 100px); animation-delay: -5s; opacity: .7; } .fc-4 { right: 20%; top: 43%; rotate: -9deg; width: clamp(70px, 6.4vw, 100px); animation-delay: -7s; opacity: .7; }
@keyframes drift { 50% { transform: translateY(-16px) rotate(3deg); } }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 4; margin-top: -84px; padding: 0 0 26px; display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7% 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7% 93%, transparent); }
.marquee-row { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; animation-duration: 72s; }
.marquee-row img { width: clamp(104px, 10vw, 150px); border-radius: 8px; border: 3px solid var(--line); box-shadow: 0 6px 0 #0a1440aa; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- bands ---------- */
.band { position: relative; isolation: isolate; padding: clamp(64px, 9vw, 120px) 0; background: linear-gradient(180deg, #14286c, #0e1c52); }
.band.dark { background: var(--navy); }
.band.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#7aa2ff1f 1.5px, transparent 2px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
/* a slanted top edge, so the page reads as one long poster rather than stacked boxes */
.band::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: clamp(26px, 4vw, 56px); z-index: 1; background: inherit; translate: 0 -99%; clip-path: polygon(0 100%, 100% 0, 100% 101%, 0 101%); }
.band.dark::after { background: var(--navy); clip-path: polygon(0 0, 100% 100%, 100% 101%, 0 101%); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.split.flip > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; color: #d5e1ff; }
.ticks li { position: relative; padding-left: 40px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1440' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 7'/%3E%3C/svg%3E") center / 15px no-repeat; border: 3px solid var(--line); border-radius: 9px; box-shadow: 0 2px 0 var(--line); rotate: -5deg; }
.ticks b { color: #fff; }

/* gas illustration */
.gas-art { position: relative; display: grid; gap: 22px; justify-items: center; padding-bottom: 40px; }
.tank { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 22px; background: linear-gradient(180deg, #16307f, #0d1c52); border: 4px solid var(--line); box-shadow: 0 8px 0 var(--line), 0 20px 30px #0008, inset 0 2px 0 #ffffff33; rotate: -2deg; }
.tank-label { font-family: var(--display); font-size: 20px; letter-spacing: .1em; color: var(--sky); }
.tank-pips { display: flex; gap: 5px; }
.tank-pips i { width: clamp(15px, 2vw, 22px); height: clamp(30px, 3.8vw, 42px); border-radius: 6px; border: 3px solid var(--line); background: linear-gradient(180deg, #7dd3fc, #0ea5e9); box-shadow: inset 0 3px 0 #ffffff80, 0 0 12px #38bdf8aa; }
.tank-pips i.bank { background: linear-gradient(180deg, #fde68a, #f59e0b); box-shadow: inset 0 3px 0 #ffffff80, 0 0 12px #f59e0baa; }
.tank-pips i.off { background: #0a144099; box-shadow: none; }
.in .tank-pips i { animation: fill .5s cubic-bezier(.2, 1.6, .4, 1) backwards; } .in .tank-pips i:nth-child(1) { animation-delay: .1s; } .in .tank-pips i:nth-child(2) { animation-delay: .18s; } .in .tank-pips i:nth-child(3) { animation-delay: .26s; } .in .tank-pips i:nth-child(4) { animation-delay: .34s; } .in .tank-pips i:nth-child(5) { animation-delay: .42s; } .in .tank-pips i:nth-child(6) { animation-delay: .5s; } .in .tank-pips i:nth-child(7) { animation-delay: .58s; } .in .tank-pips i:nth-child(8) { animation-delay: .8s; }
@keyframes fill { from { transform: scaleY(.1); opacity: 0; } }
.tank-num { font-family: var(--display); font-size: 34px; color: #7dd3fc; text-shadow: 0 3px 0 var(--line); } .tank-num small { font-size: 18px; color: var(--dim); }
.costs { display: flex; gap: clamp(10px, 2vw, 22px); align-items: flex-end; }
.costs figure { position: relative; margin: 0; width: clamp(96px, 12vw, 150px); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.costs figure:nth-child(1) { rotate: -7deg; } .costs figure:nth-child(2) { translate: 0 -16px; } .costs figure:nth-child(3) { rotate: 7deg; }
.costs figure:hover { transform: translateY(-12px) scale(1.06); z-index: 2; }
.costs img { border-radius: 8px; border: 3px solid var(--line); box-shadow: 0 8px 0 #0a1440aa, 0 18px 26px #0009; }
.costs figcaption { position: absolute; left: -12px; top: -12px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; font-family: var(--display); font-size: 25px; color: #fff; text-shadow: 0 2px 0 #0b3f6b; background: radial-gradient(circle at 35% 30%, #a5e4ff, #0b68a8); border: 3px solid #f0f9ff; outline: 3px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.gas-pepe { position: absolute; right: -9%; bottom: -46px; width: clamp(110px, 13vw, 180px); filter: drop-shadow(0 12px 14px #0009); animation: bob 4.5s ease-in-out infinite; }

/* screenshots */
.screens { position: relative; margin: 46px auto 0; max-width: 1040px; padding: 0 0 8% 0; }
.screen-desk { margin: 0; border-radius: 18px; overflow: hidden; border: 4px solid var(--line); background: var(--line); box-shadow: 0 10px 0 var(--line), 0 40px 70px #000c, 0 0 0 1px #7aa2ff40; rotate: -1.2deg; width: 88%; }
.screen-desk .bar { display: flex; gap: 7px; padding: 9px 13px; background: #101c4d; }
.screen-desk .bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5a52; } .screen-desk .bar i:nth-child(2) { background: var(--gold); } .screen-desk .bar i:nth-child(3) { background: #35d07f; }
.screen-phone { position: absolute; right: 0; bottom: 0; margin: 0; width: 23%; border-radius: clamp(16px, 2.6vw, 32px); overflow: hidden; border: clamp(4px, .6vw, 7px) solid var(--line); box-shadow: 0 10px 0 var(--line), 0 30px 50px #000c, 0 0 0 2px #7aa2ff59; rotate: 4deg; background: var(--line); }
.callouts { list-style: none; padding: 0; margin: 54px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.callouts li { padding: 18px 20px; border-radius: 18px; background: linear-gradient(180deg, #16307f, #0e1d55); border: 3px solid var(--line); box-shadow: 0 6px 0 var(--line); color: #cfdcff; font-size: 15.5px; }
.callouts b { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.15; color: #fff; text-shadow: 0 2px 0 var(--line); margin-bottom: 6px; }

/* modes */
.peek { position: absolute; z-index: 0; pointer-events: none; filter: drop-shadow(0 18px 20px #0009); }
.peek-boss { right: max(-20px, calc(50% - 760px)); top: 10px; width: clamp(150px, 19vw, 280px); animation: bob 6s ease-in-out infinite; }
.mode-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.mode { --accent: var(--gold); position: relative; isolation: isolate; overflow: hidden; min-height: 190px; padding: 16px 16px 16px 22px; border-radius: 20px; border: 3px solid var(--line); background: linear-gradient(180deg, #2b57c9, var(--royal-2)); box-shadow: 0 7px 0 var(--line), 0 16px 24px #0008, inset 0 2px 0 #ffffff40; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .16s cubic-bezier(.3, 1.5, .5, 1), box-shadow .14s; }
.mode::before { content: ""; position: absolute; z-index: -1; inset: 0 0 34% 0; background: var(--art) 50% 23% / 135% auto no-repeat; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); transition: transform .4s cubic-bezier(.3, 1.3, .5, 1); transform-origin: 50% 30%; }
.mode::after { content: ""; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 9px; background: var(--accent); border-right: 3px solid var(--line); }
.mode:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: 0 12px 0 var(--line), 0 26px 32px #0009, inset 0 2px 0 #ffffff40; }
.mode:hover::before { transform: scale(1.1); }
.mode h3 { font-size: 24px; -webkit-text-stroke: 5px var(--line); paint-order: stroke fill; }
.mode p { margin: 7px 0 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: #e2eaff; text-shadow: 0 1px 0 var(--line); }

/* cards */
.stats { list-style: none; padding: 0; margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); text-align: center; }
.stats b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 74px); line-height: 1; letter-spacing: .01em; color: var(--gold); -webkit-text-stroke: 7px var(--line); paint-order: stroke fill; text-shadow: 0 5px 0 var(--line); }
.fan { display: flex; justify-content: center; margin: 56px auto 10px; padding: 0 20px; height: clamp(220px, 27vw, 340px); }
.fan img { width: clamp(118px, 15vw, 210px); height: max-content; margin-inline: clamp(-46px, -3.4vw, -22px); border-radius: 10px; border: 3px solid var(--line); box-shadow: 0 10px 0 #0a1440aa, 0 22px 30px #000a; transform-origin: 50% 130%; transition: transform .28s cubic-bezier(.3, 1.6, .5, 1); position: relative; }
.fan img:nth-child(1) { transform: rotate(-21deg) translateY(30px); } .fan img:nth-child(2) { transform: rotate(-14deg) translateY(12px); } .fan img:nth-child(3) { transform: rotate(-7deg) translateY(2px); } .fan img:nth-child(4) { z-index: 1; } .fan img:nth-child(5) { transform: rotate(7deg) translateY(2px); } .fan img:nth-child(6) { transform: rotate(14deg) translateY(12px); } .fan img:nth-child(7) { transform: rotate(21deg) translateY(30px); }
.fan img:hover { transform: translateY(-34px) scale(1.12); z-index: 3; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 40px; }
.trio p { margin: 8px 0 0; color: #cfdcff; font-size: 15.5px; }
.trio h3 { color: var(--gold); }
/* the line-up stands on the seam between two sections; it lives in the lower one, because later sections paint on top */
.lineup { position: absolute; z-index: 3; left: 50%; top: 0; width: min(1120px, 94%); translate: -50% -60%; filter: drop-shadow(0 20px 22px #000a); pointer-events: none; }
#cards { padding-bottom: clamp(150px, 19vw, 270px); }
#arenas { padding-top: clamp(120px, 14vw, 200px); }

/* arenas rail */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px max(20px, calc((100% - var(--wrap)) / 2)) 34px; scrollbar-width: thin; scrollbar-color: var(--royal) transparent; position: relative; z-index: 2; }
.rail figure { flex: none; width: min(720px, 82vw); margin: 0; scroll-snap-align: center; border-radius: 20px; overflow: hidden; border: 4px solid var(--line); background: #0d1c52; box-shadow: 0 9px 0 var(--line), 0 26px 40px #0009; transition: transform .2s cubic-bezier(.3, 1.4, .5, 1); }
.rail figure:hover { transform: translateY(-5px); }
.rail figcaption { padding: 13px 18px 16px; font-size: 15px; color: #cfdcff; }
.rail figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 23px; color: #fff; text-shadow: 0 2px 0 var(--line); }
.rail .locked { width: min(430px, 72vw); display: flex; flex-direction: column; background: linear-gradient(180deg, #3a0d12, #1a0608); }
.mystery { flex: 1; min-height: 210px; display: grid; place-items: center; font-family: var(--display); font-size: 150px; line-height: 1; color: #ff5a36; -webkit-text-stroke: 8px var(--line); paint-order: stroke fill; text-shadow: 0 8px 0 var(--line), 0 0 60px #ff5a36aa; background: radial-gradient(circle at 50% 80%, #ff5a3655, transparent 60%); }

/* online */
.ladder { position: relative; padding: 22px 24px 26px; border-radius: 24px; background: linear-gradient(180deg, #16307f, #0d1c52); border: 4px solid var(--line); box-shadow: 0 9px 0 var(--line), 0 28px 40px #0009, inset 0 2px 0 #ffffff33; }
.ladder h3 { margin: 14px 0 10px; color: var(--gold); }
.live { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: #d5e1ff; padding: 4px 13px 5px; border-radius: 99px; background: #0a144099; border: 2px solid #7aa2ff59; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 10px #35d07f; animation: blink 1.5s ease-in-out infinite; }
.live.off i { background: #ff5a52; box-shadow: none; animation: none; }
@keyframes blink { 50% { opacity: .3; } }
.ladder ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ladder li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: #0a144080; border: 2px solid #7aa2ff33; font-weight: 800; }
.ladder li .rk { font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--dim); } .ladder li:nth-child(1) .rk { color: var(--gold); } .ladder li:nth-child(2) .rk { color: #dfe6f5; } .ladder li:nth-child(3) .rk { color: #e7a36a; }
.ladder li .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ladder li .rt { font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--gold); }
.ladder li.empty { display: block; font-weight: 600; color: var(--dim); }
.ladder-pepe { position: absolute; right: -34px; top: -96px; width: clamp(110px, 13vw, 170px); filter: drop-shadow(0 12px 14px #0009); animation: bob 5s ease-in-out infinite; pointer-events: none; }

/* any device */
.sleepy { position: relative; justify-self: center; width: min(420px, 80%); }
.sleepy img { filter: drop-shadow(0 22px 24px #0009); }
.zzz { position: absolute; right: 6%; top: -4%; font-family: var(--display); color: #fff; -webkit-text-stroke: 5px var(--line); paint-order: stroke fill; font-size: 30px; }
.zzz b, .zzz i { font-weight: 400; font-style: normal; position: relative; } .zzz b { font-size: 44px; top: -16px; left: 4px; } .zzz i { font-size: 62px; top: -40px; left: 8px; }
.zzz, .zzz b, .zzz i { animation: zzz 2.6s ease-in-out infinite; } .zzz b { animation-delay: .3s; } .zzz i { animation-delay: .6s; }
@keyframes zzz { 50% { opacity: .35; translate: 4px -6px; } }

/* faq */
.faq { display: grid; gap: 12px; margin-top: 30px; }
.faq details { border-radius: 18px; background: linear-gradient(180deg, #16307f, #0e1d55); border: 3px solid var(--line); box-shadow: 0 5px 0 var(--line); overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 20px; font-family: var(--display); font-size: 20px; letter-spacing: .015em; text-shadow: 0 2px 0 var(--line); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-size: 24px; line-height: 1; color: var(--line); text-shadow: none; background: var(--gold); border: 3px solid var(--line); box-shadow: 0 2px 0 var(--line); transition: rotate .2s cubic-bezier(.3, 1.6, .5, 1); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 20px 18px; color: #d5e1ff; }

/* final call */
.final { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(70px, 9vw, 120px) 20px clamp(60px, 8vw, 100px); background: radial-gradient(90% 90% at 50% 100%, #3b74e6 0%, #1b3c9f 34%, #0c1849 68%, var(--navy) 100%); display: grid; justify-items: center; gap: 8px; }
.final .rays { top: 100%; }
.final-art { width: min(780px, 92vw); margin-bottom: 8px; filter: drop-shadow(0 22px 24px #000a); }
.final h2 { font-size: clamp(38px, 6vw, 76px); margin: 0 0 24px; }
.final-note { margin: 20px 0 0; font-weight: 800; color: #cfdcff; letter-spacing: .04em; }

/* ---------- shape dividers ---------- */
/* The nav and the footer finish on a wave instead of a ruled line: a "face" path in the section's own colour, so the
   shape reads as part of it (keep the two fills in step with .nav and .foot), and a gold "rim" tracing the wave where
   the border used to be. preserveAspectRatio="none" stretches the wave to any width; non-scaling-stroke keeps the rim
   3px thick while it does, and pointer-events: none lets the page be clicked through the overhang. */
.edge { position: absolute; left: 0; width: 100%; display: block; pointer-events: none; }
.edge .edge-rim { fill: none; stroke: var(--gold); stroke-width: 3; }
.edge-nav { top: 100%; height: clamp(20px, 2.6vw, 32px); }
.edge-nav .edge-face { fill: #070d28e0; }
.edge-foot { bottom: 100%; height: clamp(30px, 4.4vw, 56px); }
.edge-foot .edge-face { fill: #04071a; }

.foot { position: relative; padding: 40px 20px 50px; text-align: center; background: #04071a; display: grid; justify-items: center; gap: 16px; }
.foot img { width: 150px; opacity: .95; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-family: var(--display); font-size: 17px; }
.foot nav a { text-decoration: none; color: #cfdcff; } .foot nav a:hover { color: var(--gold); }
.foot p { max-width: 760px; margin: 0; font-size: 13px; line-height: 1.55; color: #8594c4; }

/* reveal on scroll — only when the script is running (html.js), so the page is complete without it */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, 1.2, .4, 1); transition-delay: calc(var(--n, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1020px) {
  .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pepe-m { display: none; }
  .pepe-l { height: min(40vh, 340px); left: -50px; } .pepe-r { height: min(36vh, 300px); right: -60px; }
  .peek-boss { opacity: .35; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero-line br { display: none; }
  .kicker { font-size: 12.5px; letter-spacing: .08em; }
  .nav nav { display: none; } .nav { justify-content: space-between; }
  .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; }
  .callouts, .trio { grid-template-columns: 1fr; }
  .hero { padding-bottom: 210px; min-height: 0; }
  .pepe-l { height: 190px; left: -14px; bottom: 60px; } .pepe-r { height: 170px; right: -20px; bottom: 60px; }
  .float-card { display: none; }
  .marquee { margin-top: -70px; }
  .screen-desk { width: 100%; rotate: 0deg; } .screen-phone { width: 30%; right: -4px; bottom: -2%; } .screens { padding-bottom: 16%; }
  .ladder-pepe { right: -10px; top: -80px; }
  .gas-pepe { right: -10px; }
}
@media (max-width: 520px) {
  .mode-grid { grid-template-columns: 1fr; } .mode { min-height: 150px; } .mode::before { inset: 0 0 0 40%; background-size: 210% auto; -webkit-mask-image: linear-gradient(100deg, transparent, #000 55%); mask-image: linear-gradient(100deg, transparent, #000 55%); } .mode p { max-width: 68%; }
  .btn { font-size: 19px; padding: 12px 20px 14px; }
  .fan img:nth-child(1), .fan img:nth-child(7) { display: none; }
  h2 { -webkit-text-stroke-width: 6px; }
  .peek-boss { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
