/* =====================================================================
   Ballers – landing page styles (v3, 20 Nov 2026) – calm, like a premium sports broadcast:
   pitch black, floodlight white, Volt only for "you" and the main action, rival blue for the
   opponent. Archivo condensed for headlines, Inter for text. Lots of air, one idea per section.
   ===================================================================== */
:root {
  --bg: #09090b;
  --s1: #121216;
  --s2: #18181d;
  --ink: #f4f4f6;
  --ink-2: #a3a3ad;
  --ink-3: #6c6c76;
  --volt: #d4ff3f;
  --volt-ink: #0d1400;
  --rival: #7aa7ff;
  --line: rgba(255, 255, 255, 0.08);
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- type: condensed headlines, plenty of air ---------- */
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 66%; font-variation-settings: "wdth" 66; font-weight: 900; text-transform: uppercase; letter-spacing: 0.005em; }
h1 { font-size: clamp(46px, 5.8vw, 88px); line-height: 0.9; }
h2 { font-size: clamp(38px, 5vw, 68px); line-height: 0.92; }
h3 { font-size: 26px; line-height: 1; }
.sub { margin: 18px auto 0; max-width: 34em; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19px); }
.fine { margin: 18px 0 0; color: var(--ink-3); font-size: 13.5px; }
.fine a { color: var(--ink-2); }
.sec { padding: clamp(88px, 10vw, 136px) 0 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--volt); color: var(--volt-ink);
  font: 700 16px var(--sans); white-space: nowrap; text-decoration: none; cursor: pointer; transition: transform 0.15s var(--ease), background 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-quiet { background: rgba(255, 255, 255, 0.08); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); }
.btn-quiet:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 3px rgba(212, 255, 63, 0.18); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- top bar ---------- */
.topbar { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 var(--gutter); transition: background 0.25s, box-shadow 0.25s; }
.topbar.stuck { background: rgba(9, 9, 11, 0.72); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.logo img { width: 112px; height: auto; }
.top-nav { display: flex; gap: 26px; margin-left: auto; }
.top-nav a { text-decoration: none; color: var(--ink-2); font-size: 14.5px; font-weight: 500; transition: color 0.15s; }
.top-nav a:hover { color: var(--ink); }

/* ---------- 1. hero: the stadium at night ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 92px 0 48px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: url(img/stadium.jpg) 50% 38% / cover no-repeat; transform: scale(1.06); animation: settle 2.4s var(--ease) both; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.72) 42%, rgba(9, 9, 11, 0.35) 100%),
  linear-gradient(180deg, rgba(9, 9, 11, 0.55) 0%, rgba(9, 9, 11, 0) 30%, rgba(9, 9, 11, 0) 60%, var(--bg) 100%); }
@keyframes settle { from { transform: scale(1.14); } }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 80px); align-items: center; width: 100%; }
.hero-pre { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); color: var(--ink-2); font-size: 14px; font-weight: 500; }
.hero h1 { max-width: 9.6em; }
.hero .lead { margin: 22px 0 0; max-width: 24em; color: rgba(244, 244, 246, 0.78); font-size: clamp(18px, 1.5vw, 20px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* one orchestrated entrance: copy, then the phone */
.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; } .hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; } .hero-copy > :nth-child(5) { animation-delay: 0.3s; }
.hero-art { position: relative; justify-self: center; width: min(100%, 290px); animation: rise 1.1s 0.25s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* the phone: a real-looking frame around an app screenshot */
.phone { position: relative; margin: 0; padding: 9px; border-radius: 46px; background: linear-gradient(160deg, #2c2c33, #121216 55%, #1c1c22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.6); }
.phone img { width: 100%; border-radius: 38px; }
.phone-hero { transform: rotate(2deg); }
/* "Gerade gelost": a small glass card on the phone */
.drawn { position: absolute; left: -18%; bottom: 12%; display: grid; gap: 6px; padding: 14px 18px 15px; border-radius: 18px; background: rgba(18, 18, 22, 0.78);
  backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 20px 40px -12px rgba(0, 0, 0, 0.7); }
.drawn-top { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.drawn-duel { display: flex; align-items: baseline; gap: 8px; font: 900 26px/1 var(--display); font-stretch: 66%; font-variation-settings: "wdth" 66; text-transform: uppercase; transition: opacity 0.25s, transform 0.25s var(--ease); }
.drawn-duel i { font: 500 13px var(--sans); font-style: normal; text-transform: none; color: var(--ink-3); }
.drawn-duel .me { color: var(--volt); }
.drawn-duel .op { color: var(--rival); }
.drawn-duel.swap { opacity: 0; transform: translateY(6px); }

/* ---------- 2. all of Germany: message + facts left, the map right ---------- */
.g-split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.g-copy .sub { margin-left: 0; }
.map-art { position: relative; width: 100%; max-width: 520px; justify-self: center; }
#map-svg { display: block; width: 100%; height: auto; overflow: visible; }
#map-svg .border { fill: rgba(255, 255, 255, 0.02); stroke: rgba(255, 255, 255, 0.09); stroke-width: 0.8; stroke-linejoin: round; }
#map-svg .dots circle { fill: #f4f4f1; }
#map-svg .city { fill: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6)); }
#map-svg .city-l { font: 600 10px var(--sans); letter-spacing: 0.02em; fill: rgba(244, 244, 241, 0.7); paint-order: stroke; stroke: #070708; stroke-width: 3px; stroke-linejoin: round; transition: opacity 0.3s; }
#map-svg .city-l.off { opacity: 0; }
#map-svg .ping { fill: none; stroke: var(--volt); stroke-width: 1; }
#map-svg .duel .trail { fill: none; stroke-width: 1.6; opacity: 0; }
#map-svg .duel.hero .trail { stroke-width: 2.2; filter: drop-shadow(0 0 5px rgba(212, 255, 63, 0.35)); }
#map-svg .duel .half { fill: none; stroke-width: 2.4; stroke-linecap: round; }
#map-svg .duel .half.a { stroke: var(--volt); }
#map-svg .duel .half.b { stroke: var(--rival); }
#map-svg .duel .head { fill: #fff; }
#map-svg .duel .head.a { filter: drop-shadow(0 0 3px var(--volt)) drop-shadow(0 0 8px var(--volt)); }
#map-svg .duel .head.b { filter: drop-shadow(0 0 3px var(--rival)) drop-shadow(0 0 8px var(--rival)); }
#map-svg .duel .end { fill: #070708; stroke-width: 1.8; }
#map-svg .duel .end.a { stroke: var(--volt); }
#map-svg .duel .end.b { stroke: var(--rival); }
#map-svg .duel .flash { fill: #fff; filter: drop-shadow(0 0 8px #fff); }
#map-svg .duel .burst { fill: none; stroke: #fff; stroke-width: 1.2; opacity: 0; }
#map-svg .duel .lbl { font: 900 13px var(--display); font-stretch: 66%; font-variation-settings: "wdth" 66; letter-spacing: 0.06em; text-transform: uppercase; text-anchor: middle; paint-order: stroke; stroke: #070708; stroke-width: 4px; stroke-linejoin: round; }
#map-svg .duel .lbl.a { fill: var(--volt); }
#map-svg .duel .lbl.b { fill: var(--rival); }
#map-svg .duel:not(.hero) .half { stroke-width: 1.3; opacity: 0.7; }
#map-svg .duel:not(.hero) .head { r: 1.8; filter: none; }
#map-svg .duel:not(.hero) .end { stroke-width: 1.2; }
#map-svg .duel.still .trail { opacity: 0.9; }
#map-svg .duel.still .half, #map-svg .duel.still .head { display: none; }
/* one table for the whole country – sits on the lower right of the map */
.rank { position: absolute; right: -4%; bottom: 4%; width: min(300px, 70%); padding: 14px 14px 10px; border-radius: 20px; background: rgba(20, 20, 25, 0.86);
  backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.11), 0 30px 60px -20px rgba(0, 0, 0, 0.85); }
.rank-head { display: grid; gap: 3px; padding: 2px 4px 10px; }
.rank-head b { font: 900 17px/1 var(--display); font-stretch: 66%; font-variation-settings: "wdth" 66; text-transform: uppercase; }
.rank-head span { font-size: 11px; color: var(--ink-3); }
.rank ol { list-style: none; margin: 0; padding: 0; }
.rank li { display: grid; grid-template-columns: 52px 24px 1fr auto; align-items: center; gap: 8px; padding: 7px 6px; border-top: 1px solid var(--line); font-size: 14px; }
.rank li i { font-style: normal; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rank li img { width: 22px; height: 22px; object-fit: contain; }
.rank li span { display: grid; line-height: 1.2; font-weight: 600; }
.rank li small { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.rank li b { font-variant-numeric: tabular-nums; }
.rank li.gap { display: block; padding: 2px 0; text-align: center; color: var(--ink-3); letter-spacing: 0.3em; }
.rank li.me { margin: 2px -6px 0; padding: 9px 12px; border: 0; border-radius: 12px; background: rgba(212, 255, 63, 0.1); box-shadow: inset 0 0 0 1px rgba(212, 255, 63, 0.35); }
.rank li.me i, .rank li.me b { color: var(--volt); }

.facts { list-style: none; display: grid; gap: 0; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts b { font: 900 24px/1 var(--display); font-stretch: 66%; font-variation-settings: "wdth" 66; text-transform: uppercase; }
.facts span { color: var(--ink-2); font-size: 15.5px; }

/* ---------- 3. a matchday in three phones ---------- */
/* the matchday sits on a barely lighter band with soft edges – gives the long page some structure */
.how { margin-top: clamp(40px, 5vw, 72px); padding: clamp(72px, 8vw, 104px) 0 clamp(72px, 8vw, 104px); background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.028) 14%, rgba(255, 255, 255, 0.028) 86%, rgba(255, 255, 255, 0) 100%); }
.how h2 { text-align: center; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; }
.steps li { display: grid; justify-items: center; align-content: start; text-align: center; }
.steps li:nth-child(2) { margin-top: -36px; }   /* a little rhythm: the middle phone sits higher */
.steps .phone { width: min(100%, 270px); margin-bottom: 30px; }
.steps .no { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 12px; border-radius: 50%; background: var(--volt); color: var(--volt-ink); font: 800 14px var(--sans); }
.steps p { margin: 10px 0 0; max-width: 22em; color: var(--ink-2); font-size: 15.5px; }

/* ---------- 4. the climb: ten shields as a staircase on one line ---------- */
.leagues { padding-bottom: 0; }
.stairs { list-style: none; display: flex; align-items: flex-end; gap: clamp(4px, 1.4vw, 18px); margin: clamp(110px, 13vw, 170px) 0 0; padding: 0 0 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.stairs li { flex: 1 1 0; display: grid; justify-items: center; transform: translateY(calc(var(--k) * -14px)); }
.stairs img { width: calc(58% + var(--k) * 4.6%); max-width: 112px; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.6)); }
.stairs-ends { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.stairs-ends span:last-child { color: var(--ink); }

/* ---------- 5. friends + gear: a bento grid, the socks big ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.fr-head { display: none; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; }
.fr-head .sub { margin: 0; max-width: 30em; }
.bento { list-style: none; display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: 12px; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; }
.bento li { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 260px; padding: 22px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 42%, #1d1d23 0%, #131317 70%); box-shadow: inset 0 0 0 1px var(--line); }
.bento li.b-big { grid-row: span 2; }
.bento li.b-photo { padding: 0; background: #f5f2ec; }
.bento li.b-photo img { width: 100%; max-width: none; height: 100%; aspect-ratio: auto; object-fit: cover; filter: none; }
.bento li.b-photo > div { position: absolute; left: 22px; bottom: 20px; }
.bento li.b-photo h3 { color: #111216; }
.bento li.b-photo b { color: #4f6b00; }
.bento li.b-dark { background: radial-gradient(70% 60% at 50% 42%, #23271a 0%, #131317 72%); }
.bento img, .bento .shirt { align-self: center; width: 62%; max-width: 230px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, 0.55)); }
.bento .b-big img { width: 86%; max-width: 440px; }
.bento .shirt svg { width: 100%; height: 100%; }
.bento li > div { display: grid; gap: 3px; }
.bento b { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--volt); }
.bento h3 { font-size: 24px; }
.bento p { margin: 4px 0 0; max-width: 26em; color: var(--ink-2); font-size: 15px; }


/* ---------- 6. FAQ ---------- */
.faq h2 { margin-bottom: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 17.5px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { margin: -6px 0 22px; max-width: 40em; color: var(--ink-2); }

/* ---------- 7. beta: the stadium again ---------- */
.beta { position: relative; margin-top: clamp(80px, 10vw, 130px); padding: clamp(90px, 10vw, 130px) 0 clamp(90px, 10vw, 130px); overflow: hidden; isolation: isolate; }
.beta-bg { position: absolute; inset: 0; z-index: -1; background: url(img/stadium.jpg) 50% 30% / cover no-repeat; }
.beta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(9, 9, 11, 0.78) 18%, rgba(9, 9, 11, 0.8) 75%, var(--bg) 100%); }
.kickoff { display: flex; justify-content: center; gap: clamp(20px, 4vw, 44px); margin: 30px 0 30px; }
.kickoff div { display: grid; justify-items: center; }
.kickoff b { font: 900 clamp(52px, 7vw, 84px)/1 var(--display); font-stretch: 62%; font-variation-settings: "wdth" 62; font-variant-numeric: tabular-nums; }
.kickoff small { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.wait { display: flex; gap: 8px; width: min(100%, 480px); margin: 0 auto; padding: 6px; border-radius: 999px; background: rgba(18, 18, 22, 0.85); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.wait input { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border: 0; background: transparent; color: var(--ink); font: 500 16px var(--sans); outline: none; }
.wait input::placeholder { color: var(--ink-3); }
.wait .btn { height: 48px; }
.wait.done input { opacity: 0.5; }
.wait-msg { min-height: 1.5em; margin: 14px 0 0; font-size: 15px; font-weight: 600; }
.wait-msg.ok { color: var(--volt); } .wait-msg.err { color: #ff8a8a; }
.stores { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px 0 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); color: var(--ink-2); }
.store span { display: grid; line-height: 1.05; font-size: 16px; font-weight: 700; color: var(--ink); }
.store small { font-size: 10.5px; font-weight: 500; color: var(--ink-3); }

/* ---------- footer ---------- */
.foot { padding: 44px 0 56px; border-top: 1px solid var(--line); }
.foot-in { display: grid; justify-items: center; gap: 16px; text-align: center; }
.foot-logo { width: 92px; opacity: 0.55; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.foot nav a { color: var(--ink-2); font-size: 14px; text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot p { margin: 0; max-width: 32em; color: var(--ink-3); font-size: 13px; }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
  .top-nav { display: none; }
  .topbar .btn-sm { margin-left: auto; }
  .hero { padding-top: 104px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { width: min(74vw, 300px); margin-top: 12px; }
  .drawn { left: -12%; }
  .g-split { grid-template-columns: 1fr; }
  /* phones: headline, sentence, then the map, then the facts */
  .g-copy { display: contents; }
  .g-copy h2 { order: 1; } .g-copy .sub { order: 2; } .g-split .map-art { order: 3; margin-top: 8px; } .g-copy .facts { order: 4; margin-top: 8px; }
  .g-split { gap: 0; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .steps li:nth-child(2) { margin-top: 0; }
  .steps { grid-template-columns: repeat(3, 78%); overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .steps li { scroll-snap-align: center; }
  .split, .faq .split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento li.b-big { grid-column: span 2; grid-row: auto; }
  .bento li { min-height: 200px; padding: 16px; }
  .bento h3 { font-size: 20px; }
  .rank { position: relative; right: auto; bottom: auto; width: 100%; margin-top: -12%; }
  .stairs li { transform: translateY(calc(var(--k) * -6px)); }
  .stairs-ends { font-size: 12.5px; }
  .bento li.b-photo { min-height: 320px; }
}
@media (max-width: 520px) {
  .hero-bg { background-position: 58% 40%; }
  .actions .btn { flex: 1 1 auto; padding: 0 16px; font-size: 15px; }
  .wait { flex-direction: column; border-radius: 22px; }
  .wait .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
