/* ==========================================================================
   Tapanche (تپانچه) landing page
   ========================================================================== */

@font-face {
  font-family: "Lalezar";
  src: url("/assets/fonts/lalezar-arabic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Lalezar";
  src: url("/assets/fonts/lalezar-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/vazirmatn.woff2") format("woff2-variations"), url("/assets/fonts/vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0b1424;
  --bg-2: #0f1c33;
  --bg-3: #15264a;
  --panel: rgba(20, 36, 66, 0.72);
  --panel-solid: #14233f;
  --line: rgba(255, 205, 90, 0.18);
  --line-2: rgba(255, 255, 255, 0.08);
  --gold: #ffc53d;
  --gold-2: #ff9f1c;
  --gold-deep: #b4580b;
  --orange: #ff7a1a;
  --text: #f6f0e1;
  --muted: #aebad0;
  --dim: #7f8ca6;
  --green: #74d64c;
  --r-common: #9fb4c7;
  --r-rare: #3fa9ff;
  --r-epic: #b35cff;
  --r-legendary: #ffb320;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Lalezar", "Vazirmatn", system-ui, sans-serif;
  --font-body: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffd978; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.25; margin: 0; letter-spacing: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: #1c1204; padding: 8px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --b-top: #ffe27a; --b-bot: var(--gold-2); --b-edge: var(--gold-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-size: 21px; line-height: 1;
  color: #2a1503; padding: 17px 28px 19px; border-radius: 16px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--b-top), var(--b-bot));
  box-shadow: 0 6px 0 var(--b-edge), 0 14px 28px rgba(255, 140, 20, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn:hover { color: #2a1503; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 8px 0 var(--b-edge), 0 18px 34px rgba(255, 140, 20, 0.36), inset 0 2px 0 rgba(255, 255, 255, 0.55); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--b-edge), 0 8px 16px rgba(255, 140, 20, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.55); }
.btn--sm { font-size: 17px; padding: 11px 18px 13px; border-radius: 12px; box-shadow: 0 4px 0 var(--b-edge), inset 0 2px 0 rgba(255, 255, 255, 0.5); }
.btn--sm svg { width: 18px; height: 18px; }
.btn--lg { font-size: 23px; padding: 19px 32px 21px; }

.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 20px;
  border-radius: 16px; color: var(--text);
  background: rgba(10, 18, 34, 0.72); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.store img { width: 40px; height: 40px; border-radius: 10px; }
.store span { display: flex; flex-direction: column; line-height: 1.2; }
.store small { font-size: 12px; color: var(--muted); }
.store b { font-family: var(--font-display); font-weight: 400; font-size: 20px; }
.store:hover { color: var(--text); transform: translateY(-2px); border-color: rgba(255, 197, 61, 0.6); background: rgba(16, 28, 52, 0.85); }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); color: var(--gold);
  transition: background .15s ease, transform .15s ease;
}
.round-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--bg-3); transform: scale(1.06); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease; }
.nav.is-scrolled, .nav.is-open { background: rgba(9, 16, 30, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(0, 0, 0, 0.3); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__brand img { width: 128px; height: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .4)); transition: transform .2s ease; }
.nav__brand:hover img { transform: rotate(-2deg) scale(1.04); }
.nav__links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav__links a { color: var(--text); font-weight: 600; font-size: 16px; padding: 8px 14px; border-radius: 10px; transition: background .15s ease, color .15s ease; }
.nav__links a:hover { background: rgba(255, 255, 255, 0.07); color: var(--gold); }
.nav__dl { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, min(100svh, 960px)); display: flex; align-items: center; isolation: isolate; overflow: hidden; padding-top: var(--nav-h); }
.hero__bg { position: absolute; inset: 0; z-index: -2; display: block; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to left, rgba(11, 20, 36, 0.94) 0%, rgba(11, 20, 36, 0.72) 30%, rgba(11, 20, 36, 0.12) 58%, transparent 72%),
    linear-gradient(to top, var(--bg) 0%, rgba(11, 20, 36, 0.6) 14%, transparent 34%),
    linear-gradient(to bottom, rgba(9, 15, 29, 0.55) 0%, transparent 18%);
}
.hero__content { display: flex; justify-content: flex-start; }
.hero__copy { max-width: 560px; padding-block: 48px 96px; }
.hero__logo { margin: 0 0 6px -14px; }
.hero__logo img { width: min(440px, 100%); filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55)); animation: logoIn .9s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.7) rotate(-4deg); } to { opacity: 1; transform: none; } }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.eyebrow span { font-size: 13px; font-weight: 700; color: #ffe7a6; padding: 4px 12px; border-radius: 99px; background: rgba(255, 197, 61, 0.12); border: 1px solid rgba(255, 197, 61, 0.35); }
.hero__title { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 54px); line-height: 1.3; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5); }
.hero__title em { font-style: normal; background: linear-gradient(180deg, #ffe680, #ffab2e); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(120, 50, 0, .5)); }
.hero__lead { color: #dfe5f0; font-size: 18px; margin-top: 14px; max-width: 520px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 30px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(116, 214, 76, 0.2); }

.hero__sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__sparks i { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%; background: #ffd56b; box-shadow: 0 0 12px 3px rgba(255, 190, 60, 0.7); opacity: 0; animation: spark 9s linear infinite; }
.hero__sparks i:nth-child(1) { left: 8%; animation-delay: 0s; }
.hero__sparks i:nth-child(2) { left: 18%; animation-delay: 2.4s; animation-duration: 11s; }
.hero__sparks i:nth-child(3) { left: 29%; animation-delay: 4.8s; width: 4px; height: 4px; }
.hero__sparks i:nth-child(4) { left: 41%; animation-delay: 1.2s; animation-duration: 12s; }
.hero__sparks i:nth-child(5) { left: 52%; animation-delay: 6s; width: 5px; height: 5px; }
.hero__sparks i:nth-child(6) { left: 63%; animation-delay: 3.6s; animation-duration: 10s; }
.hero__sparks i:nth-child(7) { left: 77%; animation-delay: 7.2s; width: 4px; height: 4px; }
.hero__sparks i:nth-child(8) { left: 90%; animation-delay: 5.1s; animation-duration: 13s; }
@keyframes spark { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 80% { opacity: .6; } 100% { transform: translate(40px, -90vh); opacity: 0; } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -64px; }
.stat {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(27, 46, 84, 0.92), rgba(15, 27, 51, 0.92));
  border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stat img { grid-row: span 2; width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4)); }
.stat b { font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: 1; color: var(--gold); }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: 110px; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section__head--start { text-align: start; margin-inline: 0; }
.section__head h2 { font-size: clamp(36px, 4.6vw, 56px); text-shadow: 0 4px 0 rgba(0, 0, 0, 0.25); }
.section__head p:not(.kicker) { color: var(--muted); margin-top: 14px; font-size: 18px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; color: var(--gold); margin-bottom: 8px; }
.kicker::before, .kicker::after { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.kicker::after { transform: scaleX(-1); }
.section__head--start .kicker::before { display: none; }
.panel .kicker::before { display: none; }
.chip { display: inline-block; font-size: 13px; font-weight: 800; padding: 3px 12px; border-radius: 99px; background: rgba(255, 197, 61, 0.16); color: #ffe08a; border: 1px solid rgba(255, 197, 61, 0.4); }

/* ---------- Features ---------- */
.features { background: radial-gradient(800px 500px at 15% 40%, rgba(255, 140, 30, 0.12), transparent 70%), radial-gradient(700px 500px at 90% 10%, rgba(60, 120, 255, 0.10), transparent 70%); }
.features__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.features__art { order: 2; position: relative; display: grid; place-items: center; }
.features__art img { position: relative; width: min(440px, 100%); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); animation: float 6s ease-in-out infinite; }
.features__halo { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 170, 40, 0.45), rgba(255, 120, 20, 0.12) 50%, transparent 70%); filter: blur(10px); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-2); transition: border-color .2s ease, transform .2s ease; }
.feature:hover { border-color: var(--line); transform: translateY(-3px); }
.feature__icon { flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(255, 197, 61, 0.28), rgba(255, 197, 61, 0.06) 70%); border: 1px solid var(--line); }
.feature__icon img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.feature h3 { font-size: 22px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.75; }

/* ---------- Modes ---------- */
.modes { background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mode { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1.08; background: var(--panel-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow); isolation: isolate; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.mode > img:not(.mode__badge) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.mode__badge { position: absolute; top: 16px; inset-inline-start: 16px; width: 64px; height: 64px; z-index: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); transition: transform .3s cubic-bezier(.2, 1.4, .4, 1); }
.mode:hover .mode__badge { transform: rotate(-8deg) scale(1.08); }
.mode::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 12, 24, 0.96) 0%, rgba(7, 12, 24, 0.78) 28%, rgba(7, 12, 24, 0.1) 58%, transparent 70%); }
.mode__body { position: absolute; inset: auto 0 0; padding: 22px 24px 24px; }
.mode h3 { font-size: 30px; margin: 10px 0 4px; text-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.mode p { color: #cfd7e6; font-size: 15px; line-height: 1.7; }
.mode:hover { transform: translateY(-6px); border-color: rgba(255, 197, 61, 0.5); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 197, 61, 0.25); }
.mode:hover > img:not(.mode__badge) { transform: scale(1.06); }
.mode-mini { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode-mini li { display: grid; grid-template-columns: auto auto 1fr; gap: 2px 12px; align-items: center; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--panel); border: 1px dashed rgba(255, 197, 61, 0.28); }
.mode-mini b { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.mode-mini span { justify-self: start; font-size: 12px; font-weight: 800; color: #ffe08a; background: rgba(255, 197, 61, 0.14); padding: 2px 10px; border-radius: 99px; }
.mode-mini img { grid-row: span 2; width: 48px; height: 48px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.mode-mini small { grid-column: 2 / -1; color: var(--muted); font-size: 14px; }

/* ---------- Heroes ---------- */
.heroes { background: radial-gradient(900px 600px at 50% 0%, rgba(80, 60, 200, 0.16), transparent 70%); }
.roster { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
.spotlight { position: sticky; top: calc(var(--nav-h) + 20px); border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--bg-3), var(--panel-solid)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.spotlight__art { --rc: var(--r-common); position: relative; aspect-ratio: 1.2; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--rc) 55%, transparent), transparent 68%), repeating-conic-gradient(from 0deg at 50% 60%, rgba(255, 255, 255, 0.05) 0 10deg, transparent 10deg 20deg); }
.spotlight__art img { width: 64%; border-radius: 26px; box-shadow: 0 0 0 4px var(--rc), 0 20px 40px rgba(0, 0, 0, 0.5); transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); }
.spotlight__art img.is-swap { transform: scale(.85) rotate(-4deg); }
.spotlight__info { padding: 22px 24px 26px; }
.spotlight__info h3 { font-size: 38px; margin: 8px 0 6px; }
.spotlight__info p { color: var(--muted); font-size: 15px; line-height: 1.85; min-height: 5.5em; }
.spotlight__stats { margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spotlight__stats div { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); }
.spotlight__stats dt { font-size: 12px; color: var(--dim); }
.spotlight__stats dd { margin: 0; font-weight: 800; font-size: 15px; color: var(--text); }
.rarity { --rc: var(--r-common); display: inline-block; font-size: 13px; font-weight: 800; padding: 3px 12px; border-radius: 99px; color: var(--rc); background: color-mix(in srgb, var(--rc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 50%, transparent); }
:is(.rarity, .hero-card, .spotlight__art)[data-r="rare"] { --rc: var(--r-rare); }
:is(.rarity, .hero-card, .spotlight__art)[data-r="epic"] { --rc: var(--r-epic); }
:is(.rarity, .hero-card, .spotlight__art)[data-r="legendary"] { --rc: var(--r-legendary); }
.roster__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.hero-card { --rc: var(--r-common); position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 10px 12px; border-radius: 18px; cursor: pointer; background: var(--panel); border: 1px solid var(--line-2); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.hero-card img { width: 100%; aspect-ratio: 1; border-radius: 14px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--rc) 75%, transparent); }
.hero-card span { font-weight: 800; font-size: 14px; line-height: 1.3; white-space: nowrap; }
.hero-card::after { content: ""; position: absolute; top: 14px; inset-inline-end: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--rc); box-shadow: 0 0 0 3px rgba(0, 0, 0, .45); }
.hero-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rc) 60%, transparent); }
.hero-card.is-active { background: color-mix(in srgb, var(--rc) 18%, var(--panel-solid)); border-color: var(--rc); box-shadow: 0 10px 30px color-mix(in srgb, var(--rc) 25%, transparent); }

/* ---------- Gallery ---------- */
.shots {
  --pad: max(24px, calc((100vw - 1200px) / 2 + 24px));
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--pad) 24px; scroll-padding-inline: var(--pad);
  scrollbar-width: thin; scrollbar-color: rgba(255, 197, 61, .5) transparent;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: rgba(255, 197, 61, .4); border-radius: 8px; }
.shot { flex: none; width: min(640px, 86vw); padding: 0; border: 0; cursor: zoom-in; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--panel-solid); box-shadow: var(--shadow); outline-offset: 4px; transition: transform .25s ease; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot:hover { transform: translateY(-4px); }
.shots__nav { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }

/* ---------- Duo panels ---------- */
.duo { padding-top: 40px; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.panel__art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; }
.panel__body { padding: 26px 28px 30px; }
.panel h2 { font-size: clamp(30px, 3.2vw, 40px); margin-bottom: 10px; }
.panel p:not(.kicker) { color: var(--muted); }
.leagues { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.leagues img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45)); transition: transform .2s ease; }
.leagues img:hover { transform: translateY(-4px) scale(1.1); }

/* ---------- Download ---------- */
.download { position: relative; isolation: isolate; overflow: hidden; padding-block: 120px; margin-top: 60px; }
.download__bg { position: absolute; inset: 0; z-index: -2; display: block; }
.download__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 50%; }
.download::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(11, 20, 36, 0.92) 0%, rgba(11, 20, 36, 0.7) 36%, transparent 70%), linear-gradient(to bottom, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%); }
.download__inner { display: flex; justify-content: flex-start; }
.download__box { width: min(560px, 100%); padding: 36px; border-radius: 28px; background: rgba(10, 18, 34, 0.72); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.download__box h2 { font-size: clamp(36px, 4.4vw, 52px); }
.download__box > p:not(.kicker) { color: var(--muted); margin-top: 8px; }
.download__box .kicker::before { display: none; }
.platforms { display: grid; gap: 12px; margin-top: 26px; }
.platform { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.platform:hover { color: var(--text); transform: translateX(-4px); border-color: rgba(255, 197, 61, .55); background: rgba(255, 197, 61, 0.08); }
.platform__icon { flex: none; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; }
.platform--web .platform__icon { background: linear-gradient(180deg, #ffd65a, #ff9a1a); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5); }
.platform--web .platform__icon svg { width: 28px; height: 28px; fill: none; stroke: #3a1d02; stroke-width: 2; }
.platform--web { border-color: rgba(255, 197, 61, 0.45); background: rgba(255, 197, 61, 0.09); }
.platform__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.platform__text b { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.platform__text small { color: var(--muted); font-size: 13px; }
.platform__go { margin-inline-start: auto; flex: none; white-space: nowrap; font-family: var(--font-display); font-size: 17px; color: #2a1503; padding: 8px 16px 10px; border-radius: 11px; background: linear-gradient(180deg, #ffe27a, #ff9f1c); box-shadow: 0 3px 0 var(--gold-deep); }
.qr { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.qr img { flex: none; width: 112px; height: 112px; padding: 8px; border-radius: 14px; background: #fff; }
.qr p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.qr b { display: block; color: var(--text); font-size: 15px; }
.is-android .platform[data-platform="android"] { order: -1; }

/* ---------- FAQ ---------- */
.faq__wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; max-width: 1040px; }
.faq__mascot { order: 2; }
.faq__mascot img { width: 100%; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.5)); animation: float 6s ease-in-out infinite; }
.faq .section__head { margin-bottom: 28px; }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line-2); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; color: #2a1503; background: linear-gradient(180deg, #ffe27a, #ff9f1c); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { margin-top: 40px; background: #070d19; border-top: 1px solid var(--line); padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr; gap: 32px; align-items: start; }
.footer__studio p { color: var(--muted); font-size: 15px; margin-top: 12px; }
.footer__logo img { width: 124px; height: auto; }
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__col h3 { font-size: 20px; color: var(--text); margin-bottom: 6px; }
.footer__col a { color: var(--muted); font-size: 15px; }
.footer__col a:hover { color: var(--gold); }
.footer__promo { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; color: var(--text); background: linear-gradient(135deg, rgba(60, 140, 50, 0.25), rgba(255, 200, 60, 0.1)); border: 1px solid rgba(124, 193, 66, 0.35); transition: transform .2s ease, border-color .2s ease; }
.footer__promo:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(124, 193, 66, 0.7); }
.footer__promo img { width: 72px; height: 72px; border-radius: 16px; flex: none; }
.footer__promo span { display: flex; flex-direction: column; line-height: 1.4; }
.footer__promo small { color: #9fdc7a; font-size: 12px; font-weight: 700; }
.footer__promo b { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.footer__promo em { font-style: normal; color: var(--muted); font-size: 13px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; margin-top: 40px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--dim); }
.footer__top { color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(4, 8, 16, 0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100vh - 48px); width: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox__close { position: absolute; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; font-size: 30px; line-height: 1; background: rgba(255, 255, 255, 0.12); color: #fff; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center; }
.lightbox__nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__nav--prev { right: 16px; }
.lightbox__nav--next { left: 16px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 197, 61, 0.3); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links a { padding: 8px 10px; font-size: 15px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .roster { grid-template-columns: 320px 1fr; }
  .roster__grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__inner { gap: 12px; }
  .nav__toggle { display: flex; }
  .nav__play { margin-inline-start: auto; }
  .nav__links {
    position: absolute; inset: var(--nav-h) 0 auto; margin: 0; flex-direction: column; gap: 2px; padding: 10px 16px 18px;
    background: rgba(9, 16, 30, 0.97); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 12px 14px; font-size: 17px; }
  .nav__dl { display: block; }

  .hero { min-height: 0; display: block; padding-top: 0; }
  .hero__bg { position: relative; height: 64svh; min-height: 380px; max-height: 560px; }
  .hero__bg img { object-position: 24% 50%; }
  .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(11, 20, 36, 0.7) 22%, transparent 50%), linear-gradient(to bottom, rgba(11, 20, 36, 0.75) 0%, transparent 20%); }
  .hero::before { display: none; }
  .hero__sparks { display: none; }
  .hero__content { margin-top: -120px; position: relative; }
  .hero__copy { padding-block: 0 40px; max-width: none; }
  .hero__logo { margin: 0 0 4px; }
  .hero__logo img { width: min(340px, 78vw); }
  .stats { margin-top: 8px; }

  .features__grid { grid-template-columns: 1fr; gap: 12px; }
  .features__art { order: 0; }
  .features__art img { width: min(300px, 70vw); }
  .section { padding-block: 80px; }
  .mode-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .mode-mini { grid-template-columns: 1fr; }
  .roster { grid-template-columns: 1fr; }
  .spotlight { position: relative; top: 0; display: grid; grid-template-columns: 0.8fr 1.2fr; }
  .spotlight__art { aspect-ratio: auto; }
  .duo__grid { grid-template-columns: 1fr; }
  .faq__wrap { grid-template-columns: 1fr; }
  .faq__mascot { display: none; }
  .download { padding-block: 0 70px; }
  .download__bg { position: relative; height: 48svh; min-height: 300px; max-height: 460px; }
  .download__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(11, 20, 36, 0.6) 30%, transparent 60%), linear-gradient(to bottom, var(--bg) 0%, transparent 25%); }
  .download::before { display: none; }
  .download__inner { margin-top: -110px; position: relative; }
  .download__box { width: 100%; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .shots { --pad: 16px; gap: 14px; }
  .nav__brand img { width: 104px; }
  .nav__play { font-size: 15px; padding: 9px 14px 11px; }
  .hero__lead { font-size: 16px; }
  .cta { align-items: stretch; }
  .cta .btn--lg { font-size: 21px; }
  .stores { display: grid; grid-template-columns: 1fr 1fr; }
  .store { padding: 10px 12px; gap: 10px; }
  .store img { width: 34px; height: 34px; }
  .store b { font-size: 18px; }
  .stats { gap: 10px; }
  .stat { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 16px 10px; }
  .stat img { grid-row: auto; width: 44px; height: 44px; margin-bottom: 6px; }
  .stat b { font-size: 32px; }
  .stat span { font-size: 13px; }
  .feature-list { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode { aspect-ratio: 4 / 3.4; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight__art { aspect-ratio: 1.5; }
  .spotlight__art img { width: 46%; }
  .spotlight__info p { min-height: 0; }
  .roster__grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
  .hero-card { padding: 6px 6px 8px; border-radius: 14px; }
  .hero-card span { font-size: 13px; }
  .hero-card::after { top: 9px; inset-inline-end: 9px; width: 9px; height: 9px; }
  .panel__body { padding: 22px 20px 24px; }
  .download__box { padding: 24px 18px; border-radius: 22px; }
  .platform { gap: 12px; padding: 12px; }
  .platform__text b { font-size: 20px; }
  .qr { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox__nav { display: none; }
}

@media (hover: none) and (pointer: coarse) { .qr { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
