/* MySport — find games and players near you */
:root {
  --ink: #222831;
  --ink-2: #2a313b;
  --ink-3: #323b47;
  --navy: #30475e;
  --steel: #30475e;
  --coral: #f05454;
  --coral-2: #ff7d6e;
  /* AA text and fill tokens: --coral is for large headings and decoration only */
  --coral-text: #ff8a7a;
  --coral-text-navy: #ffa396;
  --coral-fill: #cc3333;
  --muted-navy: #d3dae4;
  --muted-paper: #6b6b6b;
  --paper: #f4f2f2;
  --white: #fff;
  --text: #e9edf3;
  --muted: #98a3b3;
  --line: rgba(255, 255, 255, .1);
  --radius: 24px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; overflow-x: clip; background: var(--ink); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; line-height: .95; letter-spacing: -.02em; margin: 0; text-transform: uppercase; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--coral-fill); color: #fff; padding: 10px 16px; border-radius: 99px; z-index: 100; }
.skip:focus { inset-inline-start: 12px; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
.coral { color: var(--coral); }
.outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--coral-text); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(240, 84, 84, .2); }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 34em; }
.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 { font-size: clamp(44px, 6.4vw, 92px); }
.section-head .lede { margin-top: 22px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 14px; background: var(--coral-fill); color: #fff; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate; transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--white); transform: translateX(-101%); transition: transform .55s var(--ease); z-index: -1; }
.btn:hover { color: var(--ink); box-shadow: 0 16px 40px -16px rgba(240, 84, 84, .8); }
.btn:hover::before { transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .22); }
.btn-store { background: #fff; color: var(--ink); padding: 12px 24px 12px 18px; }
.btn-store::before { background: var(--coral-fill); }
.btn-store:hover { color: #fff; }
.btn-store span { display: grid; line-height: 1.1; text-align: start; }
.btn-store small { font-size: 11px; font-weight: 500; opacity: .75; }
.btn-store b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.btn-store svg { width: 26px; height: 26px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge-block { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.badge { display: inline-block; line-height: 0; margin: 12px 12px 12px 0; border-radius: 8px; transition: transform .3s var(--ease); }
.badge:hover { transform: translateY(-2px); }
.badge img { display: block; height: 48px; width: auto; min-height: 40px; }
.soon { display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--muted); }
.hero-get { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.qr { display: none; margin: 0; }
.qr img { display: block; width: 112px; height: 112px; border-radius: 10px; }
.qr figcaption { margin-top: 8px; max-width: 112px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.story .badge-block { margin-top: 40px; }
.foot .badge-block { margin-top: 18px; }
@media (min-width: 900px) { .qr { display: block; } }

/* navy panels: the app's SportBackdrop (red glow + diagonal red stripes) in CSS */
.hero::before, .trust::before, .cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(114deg, rgba(240, 84, 84, .13) 0 28px, transparent 28px 56px); mask-image: linear-gradient(90deg, transparent 15%, #000 85%); -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 85%); pointer-events: none; }
.trust > .wrap, .cta > .wrap { position: relative; z-index: 1; }
.trust .lede { color: var(--muted-navy); }
.trust .eyebrow { color: var(--coral-text-navy); }
.trust { background: radial-gradient(700px 500px at 80% 55%, rgba(240, 84, 84, .38), transparent 75%), var(--navy); }

/* header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .5s var(--ease), background .4s, box-shadow .4s; }
.top.scrolled { background: rgba(34, 40, 49, .8); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: 30px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: 21px; letter-spacing: .02em; }
.brand img { width: 38px; height: auto; }
.nav-links { display: flex; gap: 28px; margin-inline-start: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .3s; position: relative; padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 11px 20px; font-size: 14px; }
.menu-btn { display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; inset-inline: 13px; height: 2px; background: #fff; transition: transform .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { min-height: 100svh; padding: 130px 0 80px; display: grid; align-items: center; position: relative; overflow: hidden; background: radial-gradient(900px 600px at 80% 30%, rgba(240, 84, 84, .16), transparent 60%), radial-gradient(800px 600px at 10% 90%, var(--navy), transparent 60%), var(--ink); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 60% 40%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 60% 40%, #000, transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(50px, 7vw, 108px); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .ln > span { display: inline-block; }
.rotator { display: inline-grid; color: var(--coral); vertical-align: top; }
.rotator > span { grid-area: 1 / 1; display: inline-block; opacity: 0; transform: translateY(70%) rotateX(-70deg); transform-origin: 50% 100%; transition: transform .7s var(--ease), opacity .5s; }
.rotator > span.on { opacity: 1; transform: none; }
.rotator > span.out { opacity: 0; transform: translateY(-70%) rotateX(70deg); }
.hero .lede { margin: 30px 0 38px; }
.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 40px; font-size: 14px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--coral); }

.hero-art { position: absolute; z-index: 3; inset-inline-end: -3%; bottom: 0; width: min(380px, 62%); height: auto; pointer-events: none; }
.stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.orbit { position: absolute; width: min(560px, 100%); aspect-ratio: 1; }
.orbit svg { width: 100%; height: 100%; overflow: visible; }
.orbit .ring { fill: none; stroke: var(--coral); stroke-width: 3; stroke-linecap: round; }
.orbit .ring-2 { fill: none; stroke: rgba(240, 84, 84, .35); stroke-width: 1.5; stroke-dasharray: 4 10; transform-origin: 50% 50%; animation: drift 5s ease-out 1 forwards; }
.orbit .ball { fill: #fff; }
.orbit .spin { transform-origin: 280px 280px; animation: spin 5s ease-in-out 1 forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: rotate(40deg); } }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(42, 49, 59, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 13.5px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); white-space: nowrap; }
.chip i { width: 32px; height: 32px; border-radius: 10px; background: rgba(240, 84, 84, .16); color: var(--coral); display: grid; place-items: center; font-style: normal; flex: none; }
.chip i svg { width: 17px; height: 17px; }
.chip b { display: block; font-weight: 600; color: #fff; }
.chip small { color: var(--muted); font-size: 12px; }
.chip.c1 { top: 22%; inset-inline-start: -6%; }
.chip.c2 { top: 46%; inset-inline-end: -6%; }
.chip.c3 { bottom: 10%; inset-inline-start: 2%; }
.float { animation: float 5s ease-in-out 1; }
.float.d2 { animation-delay: -2s; } .float.d3 { animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* phone */
.phone { position: relative; z-index: 2; width: 290px; aspect-ratio: 9 / 19.2; border-radius: 46px; background: #05070a; padding: 11px; box-shadow: 0 0 0 1.5px #2b3442, 0 50px 100px -30px rgba(0, 0, 0, .9), 0 30px 80px -40px rgba(240, 84, 84, .5); }
.phone::before { display: none; }
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #f4f2f2; color: #222831; font-size: 12px; }
.scr { position: absolute; inset: 0; padding: 54px 14px 14px; display: flex; flex-direction: column; gap: 9px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.scr.on { opacity: 1; transform: none; }
.scr.shot { padding: 0; gap: 0; }
.scr.shot picture, .scr.shot img { display: block; width: 100%; height: 100%; }
.scr.shot img { object-fit: cover; object-position: top; border-radius: inherit; }
.scr .scr-t { margin: 0 0 2px; font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: -.01em; color: #222831; }
.scr .sub { color: var(--muted-paper); font-size: 11px; margin-top: -6px; }
.ev { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 4px 14px -8px rgba(34, 40, 49, .35); }
.ev img { width: 54px; height: 54px; border-radius: 12px; object-fit: contain; background: var(--navy); }
.ev b { display: block; font-size: 12.5px; color: #222831; }
.ev span { display: block; font-size: 10.5px; color: var(--muted-paper); }
.ev em { font-style: normal; display: inline-block; margin-top: 4px; font-size: 10px; font-weight: 600; color: var(--coral-fill); background: rgba(240, 84, 84, .1); padding: 2px 7px; border-radius: 99px; }
.tabs { display: flex; gap: 6px; }
.tabs span { padding: 5px 10px; border-radius: 99px; background: #fff; font-size: 10.5px; font-weight: 600; color: #595757; }
.tabs span.on { background: #222831; color: #fff; }
.field { background: #fff; border-radius: 12px; padding: 8px 12px; }
.field small { display: block; font-size: 9.5px; color: var(--muted-paper); text-transform: uppercase; letter-spacing: .08em; }
.field b { font-size: 13px; color: #222831; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pbtn { margin-top: auto; background: var(--coral-fill); color: #fff; text-align: center; padding: 12px; border-radius: 14px; font-weight: 700; font-size: 13px; }
.msg { max-width: 82%; padding: 8px 11px; border-radius: 14px; background: #fff; font-size: 11.5px; line-height: 1.35; box-shadow: 0 3px 10px -8px rgba(0, 0, 0, .4); }
.msg small { display: block; font-size: 9.5px; font-weight: 700; color: var(--coral-fill); margin-bottom: 1px; }
.msg.me { align-self: flex-end; background: #222831; color: #fff; }
.msg-in { margin-top: auto; display: flex; gap: 6px; align-items: center; background: #fff; border-radius: 99px; padding: 8px 8px 8px 14px; color: var(--muted-paper); font-size: 11px; }
.msg-in i { margin-inline-start: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); }
.pay-card { background: #222831; color: #fff; border-radius: 18px; padding: 16px; }
.pay-card small { color: #a9b3c1; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.pay-card b { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; margin: 4px 0; }
.pay-line { display: flex; justify-content: space-between; font-size: 11.5px; padding: 7px 0; border-bottom: 1px solid #e4e1e1; }
.ok { display: flex; gap: 8px; align-items: center; background: #e9f8ef; color: #1e7a45; border-radius: 12px; padding: 9px 11px; font-weight: 600; font-size: 11.5px; }
.ok::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1e7a45; color: #fff; font-size: 11px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.grid3 img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--navy); border-radius: 9px; }
.squad { display: flex; }
.squad span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #f4f2f2; margin-inline-end: -8px; background: linear-gradient(135deg, #30475e, #222831); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.squad span:nth-child(2n) { background: linear-gradient(135deg, #f05454, #c23d3d); }

/* marquee */
.marquee { overflow: hidden; padding: 26px 0; background: var(--coral); color: #fff; transform: rotate(-1.5deg); margin: -10px -2vw 0; position: relative; z-index: 3; }
.marquee-track { display: flex; width: max-content; animation: marquee 5s ease-out 1 forwards; }
.marquee.paused .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--display); font-weight: 800; font-stretch: 115%; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 52px); padding: 0 24px; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; line-height: 1; }
.marquee span:nth-child(2n) { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.marquee span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
@keyframes marquee { to { transform: translateX(-12%); } }

/* story (features) */
.story { background: var(--ink); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 7vw, 120px); }
.story-steps { display: grid; }
.sstep { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .28; transition: opacity .6s var(--ease); }
.sstep.on { opacity: 1; }
.sstep .num { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--coral-text); letter-spacing: .1em; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; }
.sstep .num::after { content: ""; height: 1px; width: 60px; background: var(--coral); opacity: .6; }
.sstep h3 { font-size: clamp(38px, 4.6vw, 66px); margin-bottom: 20px; }
.sstep p { color: var(--muted); font-size: 18px; max-width: 30em; }
.story-phone { position: sticky; top: calc(50vh - 300px); height: 600px; display: grid; place-items: center; }
.story-phone .phone { width: 282px; }
.story-phone .glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 84, 84, .35), transparent 65%); }

/* sports grid */
.sports { background: var(--paper); color: #222831; }
.sports h2 { color: #222831; }
.sports .lede { color: #595757; }
.sport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sport { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; color: #fff; isolation: isolate; background: radial-gradient(circle at 50% 45%, rgba(240, 84, 84, .38), transparent 75%), repeating-linear-gradient(114deg, rgba(240, 84, 84, .13) 0 18px, transparent 18px 36px), var(--navy); }
.sport img { position: absolute; inset-inline-start: 0; top: 10%; width: 100%; height: auto; }
.sport img { transition: transform 1.2s var(--ease); }
.sport::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(34, 40, 49, .92)); z-index: 0; transition: background .5s; }
.sport:hover img { transform: scale(1.08); }
.sport:hover::after { background: linear-gradient(180deg, rgba(240, 84, 84, .15) 0%, rgba(34, 40, 49, .95) 70%); }
.sport .txt { position: absolute; inset-inline: 0; bottom: 0; padding: 20px; z-index: 1; }
.sport h3 { font-size: 26px; }
.sport p { font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .8); margin: 8px 0 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.sport:hover p, .sport:focus-within p { max-height: 120px; opacity: 1; }
a.sport { display: block; text-decoration: none; }
a.sport:focus-visible { outline-offset: 4px; border-radius: 20px; }
.sport .find { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--coral-text); }
.sport .find::after { content: " \2192"; }
[dir="rtl"] .sport .find::after { content: " \2190"; }
.sport .tag { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 5px 10px; border-radius: 99px; }

/* moments */
.moments { background: var(--ink-2); overflow: hidden; }
.big-words { font-family: var(--display); font-weight: 800; font-stretch: 118%; text-transform: uppercase; font-size: clamp(54px, 10vw, 170px); line-height: .9; letter-spacing: -.03em; white-space: nowrap; }
.big-words .row { display: block; will-change: transform; }
.mstrip { display: flex; gap: 18px; margin-top: 60px; will-change: transform; }
.mstrip figure { margin: 0; background: var(--navy); flex: none; width: clamp(220px, 24vw, 340px); aspect-ratio: 1; border-radius: 22px; overflow: hidden; }
.mstrip figure:nth-child(2n) { margin-top: 50px; }
.mstrip img { width: 100%; height: 100%; object-fit: cover; }

/* how it works */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.how { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden; transition: border-color .4s, transform .6s var(--ease); }
.how:hover { border-color: rgba(240, 84, 84, .5); transform: translateY(-6px); }
.how::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-weight: 800; font-size: 90px; line-height: 1; position: absolute; inset-inline-end: 14px; top: 6px; color: rgba(255, 255, 255, .05); }
.how .ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(240, 84, 84, .14); color: var(--coral); display: grid; place-items: center; margin-bottom: 22px; }
.how .ic svg { width: 24px; height: 24px; }
.how h3 { font-size: 30px; margin-bottom: 10px; }
.how p { color: var(--muted); font-size: 15.5px; margin: 0; }
.illus { margin-top: 50px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; }
.illus img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* trust */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tcard { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.tcard .ic { color: var(--coral-text-navy); margin-bottom: 16px; }
.tcard .ic svg { width: 28px; height: 28px; }
.tcard h3 { font-size: 22px; margin-bottom: 8px; font-stretch: 105%; }
.tcard p { color: var(--muted-navy); font-size: 15.5px; margin: 0; }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-weight: 600; font-size: clamp(18px, 1.6vw, 21px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .3s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--coral); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { background: rgba(240, 84, 84, .14); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 0 24px; padding-inline-end: 50px; color: var(--muted); }

/* cta */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 14vw, 190px) 0; background: radial-gradient(700px 400px at 50% 100%, rgba(240, 84, 84, .35), transparent 70%), var(--ink); }
.cta .logo-big { width: 120px; margin: 0 auto 30px; }
.cta h2 { font-size: clamp(50px, 8.6vw, 140px); }
.cta p { color: var(--muted); max-width: 32em; margin: 26px auto 40px; font-size: 19px; }
.cta .btns { justify-content: center; }
.socials { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.socials a:hover { background: var(--coral); border-color: var(--coral); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

/* footer */
.foot { background: var(--ink); color: var(--muted); padding: 70px 0 34px; font-size: 15px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot .brand { color: #fff; margin-bottom: 16px; }
.foot h2, .foot h4 { font-family: inherit; font-stretch: normal; line-height: inherit; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; transition: color .3s; }
.foot a:hover { color: #fff; }
.foot address { font-style: normal; font-size: 13.5px; margin-top: 14px; line-height: 1.6; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* legal */
.legal-hero { padding: 170px 0 60px; background: radial-gradient(800px 400px at 80% 0%, rgba(240, 84, 84, .16), transparent 60%), var(--ink); }
.legal-hero h1 { font-size: clamp(48px, 7vw, 100px); }
.legal-hero p { color: var(--muted); margin-top: 18px; }
.legal { max-width: 800px; padding-bottom: 120px; color: #c9d1dc; }
.legal h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 54px 0 16px; color: #fff; font-stretch: 105%; }
.legal h3 { font-size: 19px; margin: 30px 0 10px; color: #fff; text-transform: none; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.legal ul { padding-inline-start: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--coral-text); }
.legal strong { color: #fff; }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 20px; }
.notfound h1 { font-size: clamp(70px, 12vw, 170px); }

/* public games page */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.games { padding: 40px 0 120px; }
.game-filters { display: grid; gap: 14px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.filter-chip:hover { border-color: var(--coral); }
.filter-chip[aria-pressed="true"], .filter-chip[aria-current="true"] { background: var(--coral-fill); border-color: var(--coral-fill); color: #fff; }
a.filter-chip { text-decoration: none; }
.game-input { font: inherit; font-size: 16px; width: 100%; max-width: 420px; padding: 14px 20px; border-radius: 99px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); }
.game-input:focus { outline: 2px solid var(--coral); outline-offset: 2px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.game-card { display: block; padding: 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; overflow-wrap: anywhere; transition: border-color .3s, transform .5s var(--ease); }
a.game-card:hover { border-color: var(--coral); transform: translateY(-3px); }
.game-card h3 { font-size: 22px; margin: 8px 0 12px; color: #fff; }
.game-sport { font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--coral-text); }
.game-meta { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.game-more { justify-content: center; margin-top: 28px; }
.game-empty { text-align: center; padding: 40px 0; }
.game-empty .lede { margin: 0 auto 28px; color: #fff; }

/* sport landing pages */
.sport-illus { max-width: 480px; margin: 0 auto 30px; }
.sport-illus img { display: block; width: 100%; height: auto; }
.game-empty .badge-block, .sport-cta .badge-block { justify-content: center; }

/* sport page: breadcrumb and long-form sections (the FAQ reuses .faq and .help-sec) */
.crumbs { margin-bottom: 22px; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "\203A"; margin-inline-end: 10px; }
.crumbs a { color: var(--coral-text); }
.crumbs [aria-current] { color: var(--text); }
.sport-copy { max-width: 800px; }
.sport-copy h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 48px 0 16px; }
.sport-copy h2:first-child { margin-top: 0; }
.sport-copy p { color: var(--muted); }

/* language switcher (header menu, footer chips) and suggestion banner */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; padding: 8px 16px; font-size: 14px; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; z-index: 60; min-width: 200px; display: grid; padding: 8px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); }
.lang-menu a { padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--text); font-size: 15px; }
.lang-menu a:hover { background: var(--ink-3); color: #fff; }
.lang-menu a[aria-current="true"] { color: var(--coral-text); font-weight: 600; }
.lang-chips { margin-top: 40px; }
.lang-banner { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 70; background: var(--ink-2); border-top: 1px solid var(--line); padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); }
.lang-banner .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.lang-banner p { margin: 0; flex: 1 1 240px; color: var(--text); font-size: 15px; }
.lang-banner .btn { padding: 10px 18px; font-size: 14px; }
.lang-banner .btn-ghost { cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; }

/* animation states */
.anim [data-reveal] { opacity: 0; transform: translateY(36px); }
.anim .hero h1 .ln > span, .anim .legal-hero h1 .ln > span { transform: translateY(105%); }

@media (max-width: 1080px) {
  .sport-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav .btn { display: none; }
  .nav-links { position: fixed; inset: 76px 0 auto; background: var(--ink); flex-direction: column; gap: 0; padding: 10px 20px 26px; border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .35s, transform .45s var(--ease), visibility .35s; }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 15px 0; font-size: 22px; font-family: var(--display); font-weight: 800; text-transform: uppercase; color: #fff; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav { gap: 12px; }
  .lang-switch { margin-inline-start: auto; }
  .lang-switch summary { max-width: 112px; padding: 8px 12px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .lang-switch ~ .menu-btn { margin-inline-start: 0; }
  .hero { padding-top: 110px; }
  .hero-grid, .faq-grid, .trust-grid { grid-template-columns: 1fr; }
  .stage { min-height: 600px; margin-top: 10px; }
  .chip.c1 { inset-inline-start: 0; } .chip.c2 { inset-inline-end: 0; } .chip.c3 { inset-inline-start: 4%; }
  .story-grid { grid-template-columns: 1fr; }
  .story-phone { display: none; }
  .sstep { min-height: 0; opacity: 1; padding: 30px 0; border-top: 1px solid var(--line); }
  .sstep .mini { display: block; }
  .sport-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .phone { width: 250px; border-radius: 40px; }
  .screen { border-radius: 31px; }
  .stage { min-height: 560px; }
  .chip { font-size: 12px; padding: 9px 12px; }
  .chip i { width: 28px; height: 28px; }
  .chip.c2 { top: 52%; }
  .sport-grid { gap: 10px; }
  .sport h3 { font-size: 20px; }
  .sport .txt { padding: 14px; }
  .how-grid { grid-template-columns: 1fr; }
  .illus { aspect-ratio: 4 / 3; }
  .faq .ans { padding-inline-end: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .btns .btn { flex: 1 1 auto; justify-content: center; }
  .mstrip figure:nth-child(2n) { margin-top: 24px; }
}
@media (hover: none) { .sport p { max-height: 120px; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .anim [data-reveal] { opacity: 1; transform: none; }
  .anim .hero h1 .ln > span, .anim .legal-hero h1 .ln > span { transform: none; }
}

/* account action page (/auth/action/) */
.auth-card { width: min(100%, 520px); }
.notfound .auth-card h1 { font-size: clamp(34px, 8vw, 56px); }
.auth-form { display: grid; justify-items: center; gap: 16px; }
.auth-error { margin: 0; color: var(--coral-2); font-size: 15px; }
.auth-form[hidden], .btns[hidden], .btn[hidden] { display: none; }
.auth-form .btn { font: inherit; font-weight: 600; font-size: 15.5px; cursor: pointer; }
.auth-form .btn[disabled] { opacity: .6; cursor: progress; }

/* replaces inline style= so the CSP needs no unsafe-inline */
.btns-center { justify-content: center; }
.lede-cta { margin: 20px auto 34px; }
.lede-game { margin: 0 auto 34px; color: #fff; font-weight: 600; }
.lede-note { margin: 28px auto 0; font-size: 15px; }
.lede-top { margin-top: 20px; }
.faq-title { font-size: clamp(44px, 5.6vw, 80px); }
.pay-card .pay-note { font-size: 11px; color: #a9b3c1; }
/* help page: one section per topic, reusing the FAQ list */
.help-sec { padding: clamp(40px, 5vw, 72px) 0; }
.help-sec h2 { font-size: clamp(28px, 3.4vw, 44px); }

/* per-script fonts: system fonts only (the CSP font-src allows only gstatic); the class is set on <html> by tool/build.mjs */
.script-latin { --display: "Archivo", "Helvetica Neue", Arial, sans-serif; --sans: "Poppins", "Helvetica Neue", Arial, sans-serif; }
.script-cyrillic { --display: "Archivo", "Helvetica Neue", Arial, "Segoe UI", Roboto, sans-serif; --sans: "Poppins", "Helvetica Neue", Arial, "Segoe UI", Roboto, sans-serif; }
.script-greek { --display: "Archivo", "Helvetica Neue", Arial, "Segoe UI", Roboto, sans-serif; --sans: "Poppins", "Helvetica Neue", Arial, "Segoe UI", Roboto, sans-serif; }
.script-arabic { --display: "Geeza Pro", "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif; --sans: "Geeza Pro", "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif; }
.script-hebrew { --display: "Arial Hebrew", "Segoe UI", "Noto Sans Hebrew", Arial, sans-serif; --sans: "Arial Hebrew", "Segoe UI", "Noto Sans Hebrew", Arial, sans-serif; }
.script-devanagari { --display: "Kohinoor Devanagari", "Devanagari Sangam MN", "Nirmala UI", "Noto Sans Devanagari", sans-serif; --sans: "Kohinoor Devanagari", "Devanagari Sangam MN", "Nirmala UI", "Noto Sans Devanagari", sans-serif; }
.script-thai { --display: "Thonburi", "Sukhumvit Set", "Leelawadee UI", "Noto Sans Thai", sans-serif; --sans: "Thonburi", "Sukhumvit Set", "Leelawadee UI", "Noto Sans Thai", sans-serif; }
.script-cjk { --display: "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", "Yu Gothic", "Malgun Gothic", "Noto Sans CJK SC", sans-serif; --sans: "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Microsoft YaHei", "Yu Gothic", "Malgun Gothic", "Noto Sans CJK SC", sans-serif; }
.script-cjk:lang(zh-Hant) { --display: "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif; --sans: "PingFang TC", "Microsoft JhengHei", "Noto Sans CJK TC", sans-serif; }
.script-cjk:lang(ja) { --display: "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", sans-serif; --sans: "Hiragino Sans", "Yu Gothic", "Noto Sans CJK JP", sans-serif; }
.script-cjk:lang(ko) { --display: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif; --sans: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif; }
/* scripts with no capitals or joined letters: no uppercase, no letter-spacing or width stretch, smaller display headings */
.script-arabic :is(h1, h2, h3, h4, .eyebrow, .brand, .marquee span, .big-words, .sport .tag, .scr .scr-t, .field small, .pay-card small, .game-sport, .foot h2, .foot h4, .nav-links a),
.script-devanagari :is(h1, h2, h3, h4, .eyebrow, .brand, .marquee span, .big-words, .sport .tag, .scr .scr-t, .field small, .pay-card small, .game-sport, .foot h2, .foot h4, .nav-links a),
.script-thai :is(h1, h2, h3, h4, .eyebrow, .brand, .marquee span, .big-words, .sport .tag, .scr .scr-t, .field small, .pay-card small, .game-sport, .foot h2, .foot h4, .nav-links a),
.script-cjk :is(h1, h2, h3, h4, .eyebrow, .brand, .marquee span, .big-words, .sport .tag, .scr .scr-t, .field small, .pay-card small, .game-sport, .foot h2, .foot h4, .nav-links a) { text-transform: none; letter-spacing: 0; font-stretch: normal; }
.script-arabic :is(h1, h2, h3), .script-devanagari :is(h1, h2, h3), .script-thai :is(h1, h2, h3), .script-cjk :is(h1, h2, h3) { line-height: 1.2; }
.script-arabic :is(.hero h1, .legal-hero h1),
.script-devanagari :is(.hero h1, .legal-hero h1),
.script-thai :is(.hero h1, .legal-hero h1),
.script-cjk :is(.hero h1, .legal-hero h1) { font-size: clamp(34px, 5vw, 76px); }
.script-arabic :is(.section-head h2, .faq-title),
.script-devanagari :is(.section-head h2, .faq-title),
.script-thai :is(.section-head h2, .faq-title),
.script-cjk :is(.section-head h2, .faq-title) { font-size: clamp(30px, 4.4vw, 64px); }
.script-arabic .cta h2,
.script-devanagari .cta h2,
.script-thai .cta h2,
.script-cjk .cta h2 { font-size: clamp(34px, 6vw, 96px); }
.script-arabic .sstep h3,
.script-devanagari .sstep h3,
.script-thai .sstep h3,
.script-cjk .sstep h3 { font-size: clamp(28px, 3.4vw, 48px); }
.script-arabic .notfound h1,
.script-devanagari .notfound h1,
.script-thai .notfound h1,
.script-cjk .notfound h1 { font-size: clamp(56px, 10vw, 140px); }
.script-arabic .big-words,
.script-devanagari .big-words,
.script-thai .big-words,
.script-cjk .big-words { font-size: clamp(40px, 7vw, 120px); line-height: 1.1; }
.script-arabic .marquee span,
.script-devanagari .marquee span,
.script-thai .marquee span,
.script-cjk .marquee span { font-size: clamp(24px, 2.8vw, 40px); }

/* sport and city landing pages (templates/sport.html, city.html): hero with illustration, smaller headings, one even section gap */
.landing .section { padding: 24px 0; }
.landing .wrap h2 { font-family: var(--display); font-size: clamp(28px, 3vw, 36px); text-transform: none; line-height: 1.1; }
.landing .sport-copy h2 { margin: 36px 0 12px; }
.landing .sport-copy h2:first-child { margin-top: 0; }
.landing .section-head { margin-bottom: 20px; }
.landing .section-head .lede { margin-top: 12px; }
.landing .game-empty { padding: 16px 0; }
.landing .game-empty .lede { margin-bottom: 20px; }
.landing .wrap h2.eyebrow-h { font-family: var(--sans); font-size: 12.5px; line-height: 1.4; margin-bottom: 0; text-transform: uppercase; }
.landing-hero { padding-bottom: 24px; }
.landing-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumbs" "eyebrow" "title" "illus" "intro"; justify-items: start; }
.landing-hero .crumbs { grid-area: crumbs; }
.landing-hero .eyebrow { grid-area: eyebrow; }
.landing-hero h1 { grid-area: title; font-size: clamp(44px, 5.4vw, 80px); }
.landing-hero .hero-intro { grid-area: intro; }
.hero-illus { grid-area: illus; margin: 20px auto 0; width: 60%; }
.hero-illus img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .landing .section { padding: 36px 0; }
  .landing-hero { padding-bottom: 36px; }
  .landing-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); grid-template-areas: "crumbs illus" "eyebrow illus" "title illus" "intro illus"; column-gap: 48px; grid-template-rows: auto auto auto 1fr; }
  .hero-illus { width: 100%; margin: 0; align-self: center; }
}
