/* =========================================================
   Eternal Sports · eternalsports.app
   ========================================================= */
:root {
  --bg: #0b0a09;
  --bg-2: #110f0d;
  --surface: #181513;
  --surface-2: #211d1a;
  --line: rgba(244, 239, 233, .1);
  --line-2: rgba(244, 239, 233, .18);
  --text: #f4efe9;
  --muted: #a69c93;
  --accent: #ea6852;
  --accent-2: #f39a80;
  --accent-ink: #1a0d09;
  --ok: #4fc58b;
  --warn: #e6b450;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-2); letter-spacing: 0; }
code { font-family: var(--mono); font-size: .85em; background: rgba(234,104,82,.12); color: var(--accent-2); padding: .1em .4em; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 16px; }
.mono { font-family: var(--mono); font-size: .86em; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 900px; }

.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 20px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__eyebrow::before { display: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.02; font-stretch: 85%; }
h2 { font-size: clamp(40px, 6vw, 88px); }
h2 em, h3 em { font-size: 1.06em; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }

.section-head { margin-bottom: clamp(48px, 7vw, 96px); max-width: 980px; }
.section-head__lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 660px; margin: 28px 0 0; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .section-head__lead { margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s;
  position: relative; overflow: hidden;
}
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 40px -10px rgba(234,104,82,.6); }
.btn--accent:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(234,104,82,.75); }
.btn--ghost { border-color: var(--line-2); background: rgba(244,239,233,.04); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn span { transition: transform .4s var(--ease); }
.btn:hover span { transform: translateX(4px); }

/* ---------- Ambient light (scroll-driven) ---------- */
@property --glow { syntax: '<color>'; inherits: true; initial-value: rgb(234 104 82); }
.ambient {
  --glow: rgb(234 104 82);
  position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden;
  mix-blend-mode: screen; opacity: var(--amb, .5); transition: --glow 1.6s ease;
}
.ambient i {
  position: absolute; left: 0; top: 0; width: 72vmax; height: 72vmax; margin: -36vmax 0 0 -36vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(234 104 82 / .16), rgb(234 104 82 / .06) 45%, transparent 72%);
  will-change: transform; transform: translate3d(50vw, 40vh, 0);
}
.ambient i:nth-child(2) { width: 60vmax; height: 60vmax; margin: -30vmax 0 0 -30vmax;
  background: radial-gradient(closest-side, rgb(255 196 140 / .12), rgb(255 196 140 / .04) 45%, transparent 72%); }
.ambient i:nth-child(3) { width: 80vmax; height: 80vmax; margin: -40vmax 0 0 -40vmax;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 20%, transparent), color-mix(in srgb, var(--glow) 7%, transparent) 45%, transparent 72%); }
@media (max-width: 640px) { .ambient { opacity: calc(var(--amb, .5) * .8); } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--bg);
  display: grid; place-content: center; gap: 28px; justify-items: center;
  animation: loaderFailsafe .6s 3s forwards; /* si el JS no carga, el loader desaparece igualmente */
}
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.loader__mark svg { width: 72px; height: 72px; fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: square;
  stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .8s var(--ease) forwards; }
.loader__line { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loader__line span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: load .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes load { to { transform: scaleX(1); } }
.is-loaded .loader { opacity: 0; visibility: hidden; transition: opacity .8s var(--ease) .1s, visibility 0s .9s; }
.no-js .loader { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background .4s, border-color .4s, height .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11,10,9,.72); backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); height: 64px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand img { height: 36px; width: auto; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { padding: 8px 14px; font-size: 14px; color: var(--muted); border-radius: 999px; transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(244,239,233,.06); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 5px 9px; border-radius: 999px; color: var(--muted); transition: color .3s, background .3s; }
.lang a:hover { color: var(--text); }
.lang a.is-on { background: var(--text); color: var(--bg); }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: none; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 16px; } .nav__burger span:last-child { top: 24px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 140px var(--gutter) clamp(90px, 12vh, 140px); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.18); filter: saturate(.85) contrast(1.05); }
.hero__spot {
  position: absolute; inset: 0;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 45%), rgba(255,220,190,.18), transparent 60%);
  mix-blend-mode: soft-light; pointer-events: none;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 0 30%, rgba(11,10,9,.55) 75%),
    linear-gradient(180deg, rgba(11,10,9,.65) 0%, rgba(11,10,9,.05) 30%, rgba(11,10,9,.25) 60%, var(--bg) 100%);
}
.hero__content { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; }
.hero__eyebrow { color: var(--text); background: rgba(11,10,9,.4); border: 1px solid var(--line-2); backdrop-filter: blur(12px); padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 11px; letter-spacing: .16em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(234,104,82,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(234,104,82,0); } 100% { box-shadow: 0 0 0 0 rgba(234,104,82,0); } }
.hero__title {
  font-size: clamp(60px, min(12vw, 19vh), 200px); line-height: .86; letter-spacing: -.045em; font-weight: 700; font-stretch: 75%;
  margin: 8px 0 34px; text-transform: none;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .split { display: inline-block; }
.hero__title em { font-weight: 400; letter-spacing: -.02em; font-size: 1.08em; color: var(--accent); }
.hero__title .char { display: inline-block; will-change: transform; }
.hero__lead { max-width: 560px; font-size: clamp(17px, 1.5vw, 21px); color: rgba(244,239,233,.82); margin: 0 0 36px; }
.hero__lead strong { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--accent); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ticker {
  position: absolute; right: var(--gutter); bottom: clamp(90px, 12vh, 140px);
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  padding: 16px 20px 16px 36px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(11,10,9,.5); backdrop-filter: blur(14px); font-size: 14px;
}
.hero__ticker b { color: var(--accent-2); font-weight: 500; }
.hero__ticker .hash { color: var(--text); }
.hero__ticker-pulse { position: absolute; left: 16px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: ping-ok 1.8s infinite; }
@keyframes ping-ok { 0% { box-shadow: 0 0 0 0 rgba(79,197,139,.7); } 70%,100% { box-shadow: 0 0 0 9px rgba(79,197,139,0); } }
.hero__ticker.flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { border-color: var(--accent); box-shadow: 0 0 40px -6px rgba(234,104,82,.6); } 100% { border-color: var(--line-2); box-shadow: none; } }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--accent), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--bg); }
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 5vw, 72px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(244,239,233,.45); }
.marquee span:nth-of-type(3n+2) { color: var(--text); -webkit-text-stroke: 0; }
.marquee i { font-style: normal; color: var(--accent); font-size: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(110px, 16vw, 220px) 0 clamp(90px, 12vw, 160px); }
.manifesto__text { font-size: clamp(30px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -.025em; font-weight: 500; font-stretch: 85%; margin: 0; max-width: 1180px; }
.manifesto__text .w { opacity: .42; transition: opacity .2s; }
.no-js .manifesto__text .w, .reduce .manifesto__text .w { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 9vw, 130px); border-top: 1px solid var(--line); }
.stat { padding: 34px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(42px, 5vw, 76px); font-weight: 600; font-stretch: 75%; letter-spacing: -.04em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stat:last-child b { color: var(--accent); font-family: var(--serif); font-weight: 400; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 200px; }

/* ---------- Product pillars ---------- */
.product { padding: clamp(90px, 12vw, 160px) 0; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end;
  transform-style: preserve-3d; transition: transform .6s var(--ease), border-color .4s;
}
.pillar:hover { border-color: rgba(234,104,82,.5); }
.pillar__img { position: absolute; inset: 0; }
.pillar__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.75) brightness(.8); }
.pillar:hover .pillar__img img { transform: scale(1.14); filter: saturate(1) brightness(.9); }
.pillar__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,9,0) 25%, rgba(11,10,9,.92) 72%); }
.pillar__body { position: relative; padding: 28px; transform: translateZ(40px); }
.pillar__num { font-family: var(--mono); font-size: 12px; color: var(--accent); display: block; margin-bottom: 14px; }
.pillar h3 { margin-bottom: 12px; }
.pillar p { margin: 0; font-size: 15px; color: rgba(244,239,233,.75); line-height: 1.55; }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--px, 50%) var(--py, 50%), rgba(234,104,82,.18), transparent 50%); }
.pillar:hover::before { opacity: 1; }

/* ---------- Horizontal gallery ---------- */
.hscroll { background: var(--bg-2); overflow: hidden; }
.hscroll__pin { height: 100vh; display: flex; align-items: center; gap: 56px; padding: 90px 0 40px var(--gutter); }
.hscroll__intro { flex: 0 0 min(440px, 34vw); position: relative; z-index: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: var(--bg-2); }
.hscroll__intro::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 56px; background: linear-gradient(90deg, var(--bg-2), transparent); pointer-events: none; }
.hscroll__intro > * { flex: 0 0 auto; }
.hscroll__intro { margin-left: calc(var(--gutter) * -1); padding-left: var(--gutter); box-sizing: content-box; }
.hscroll__intro h2 { font-size: clamp(40px, 5vw, 76px); margin-bottom: 24px; }
.hscroll__intro p { color: var(--muted); }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }
.hscroll__track { display: flex; gap: 22px; height: min(68vh, 620px); will-change: transform; padding-right: var(--gutter); }
.slide { margin: 0; flex: 0 0 auto; height: 100%; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--surface); border: 1px solid var(--line); }
.slide--wide { aspect-ratio: 16/10; }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.slide:hover img { transform: scale(1.05); }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(11,10,9,.9)); display: grid; gap: 2px; }
.slide figcaption b { font-size: 18px; font-weight: 600; }
.slide figcaption span { font-size: 14px; color: var(--muted); }

/* ---------- Blockchain ---------- */
.chain { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; isolation: isolate; }
.chain__bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(234,104,82,.14), transparent 70%),
    linear-gradient(rgba(244,239,233,.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(244,239,233,.035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
}
.blocks { position: relative; margin: 0 calc(var(--gutter) * -1) clamp(60px, 8vw, 100px); overflow: hidden; padding: 30px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.blocks__rail { display: flex; align-items: center; justify-content: center; min-height: 168px; }
.blk { flex: 0 0 auto; display: flex; align-items: center; }
.blk__card {
  width: 200px; padding: 16px 18px; border-radius: 14px; background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; line-height: 1.7; color: var(--muted);
  position: relative; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); transition: border-color 1.2s, box-shadow 1.2s;
}
.blk__card b { display: block; color: var(--text); font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.blk__card .h { color: var(--accent-2); }
.blk__card .tag { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(79,197,139,.12); color: var(--ok); }
.blk__link { width: 44px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 10px); opacity: .7; }
.blk.is-new .blk__card { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 60px -10px rgba(234,104,82,.6); }

.chain__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg); padding: 36px 30px 40px; transition: background .4s; }
.feature:hover { background: var(--surface); }
.feature svg { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.feature h3 { font-size: 22px; margin-bottom: 10px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.verify {
  margin-top: clamp(60px, 8vw, 100px); display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 60px; align-items: start;
  padding: clamp(28px, 4vw, 56px); border-radius: 28px; border: 1px solid var(--line-2);
  background: linear-gradient(145deg, rgba(234,104,82,.09), rgba(244,239,233,.02) 50%);
}
.verify__copy h3 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 12px; }
.verify__copy p { color: var(--muted); margin: 0; }
.verify__form { display: flex; gap: 10px; align-self: center; }
.verify__form input {
  flex: 1; min-width: 0; height: 54px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(11,10,9,.6); color: var(--text); font-size: 15px;
}
.verify__form input:focus { outline: none; border-color: var(--accent); }
.verify__result { grid-column: 1 / -1; display: none; }
.verify__result.is-on { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px 60px; align-items: start; }
.verify__steps { display: grid; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.verify__steps span { opacity: .25; transition: opacity .3s, color .3s; padding-left: 22px; position: relative; }
.verify__steps span::before { content: "○"; position: absolute; left: 0; }
.verify__steps span.is-done { opacity: 1; color: var(--text); }
.verify__steps span.is-done::before { content: "●"; color: var(--ok); }
.cert { border-radius: 18px; border: 1px solid rgba(79,197,139,.4); background: rgba(11,10,9,.7); padding: 24px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.cert.is-on { opacity: 1; transform: none; }
.cert.is-bad { border-color: rgba(234,104,82,.6); }
.cert__head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.cert__head b { display: block; font-size: 18px; }
.cert__head span.muted { font-size: 13px; }
.cert__seal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #062214; font-weight: 700; font-size: 20px; flex: 0 0 auto; }
.cert.is-bad .cert__seal { background: var(--accent); color: var(--accent-ink); }
.cert__data { margin: 0; display: grid; gap: 8px; }
.cert__data div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.cert__data dt { color: var(--muted); }
.cert__data dd { margin: 0; text-align: right; }

/* ---------- Platform / mockup ---------- */
.platform { padding: clamp(110px, 14vw, 200px) 0; background: linear-gradient(180deg, var(--bg), var(--bg-2) 40%, var(--bg)); }
.mock { --club-a: #a50044; --club-b: #004d98; position: relative; isolation: isolate; }
.mock::before { content: ""; position: absolute; inset: 10% 8% -4%; z-index: -1; filter: blur(90px); opacity: .45;
  background: radial-gradient(closest-side, var(--club-a), transparent), radial-gradient(closest-side at 70% 60%, var(--club-b), transparent); }
.mock__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.mock__tabs { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(244,239,233,.03); }
.mock__tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .35s, color .35s; }
.mock__tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.mock__tenant { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: none; font-size: 13px; transition: border-color .3s, background .3s; }
.chip i { width: 18px; height: 18px; border-radius: 50%; }
.chip.is-on, .chip:hover { border-color: var(--text); background: rgba(244,239,233,.06); }

.browser { border-radius: 20px; border: 1px solid var(--line-2); background: #0e0d0c; overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset; }
.browser__top { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #151311; }
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3532; }
.browser__dots i:first-child { background: #e0614d; } .browser__dots i:nth-child(2) { background: #e5b44f; } .browser__dots i:nth-child(3) { background: #55c27f; }
.browser__url { flex: 1; max-width: 460px; margin: 0 auto; text-align: center; padding: 6px 14px; border-radius: 8px; background: rgba(244,239,233,.05); color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(234,104,82,.14); color: var(--accent-2); white-space: nowrap; }

.view { display: none; min-height: 640px; }
.view.is-on { display: grid; grid-template-columns: 230px 1fr; animation: viewIn .6s var(--ease); }
.view--fan.is-on { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 40px clamp(20px, 4vw, 60px); gap: 40px; overflow: hidden;
  background: radial-gradient(600px 400px at 80% 50%, color-mix(in srgb, var(--club-a) 25%, transparent), transparent 70%); }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } }

.side { border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 18px; background: #121110; font-size: 14px; }
.side__club { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; border-bottom: 1px solid var(--line); }
.side__club b { font-size: 14px; }
.crest { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--club-a) 50%, var(--club-b) 50%); flex: 0 0 auto; }
.crest--eternal { background: var(--accent); }
.side nav { display: grid; gap: 2px; }
.side nav span { display: block; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; }
.side nav span.is-on { background: rgba(244,239,233,.07); color: var(--text); box-shadow: inset 2px 0 0 var(--club-a); }
.side--super nav span.is-on { box-shadow: inset 2px 0 0 var(--accent); }
.side nav hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.side__user { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 10px 8px 0; border-top: 1px solid var(--line); }
.side__user b { display: block; font-size: 13px; } .side__user small { color: var(--ok); font-size: 11px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--line-2); flex: 0 0 auto; }
.avatar.sm { width: 26px; height: 26px; font-size: 9px; margin-left: auto; }

.dash { padding: 24px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.dash__head .mock-h { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-stretch: 90%; }
.mini-btn { border: 0; background: var(--club-a); color: #fff; padding: 9px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.side--super ~ .dash .mini-btn { background: var(--accent); color: var(--accent-ink); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.kpi small { color: var(--muted); font-size: 12px; }
.kpi b { font-size: 26px; font-weight: 600; font-stretch: 80%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.up { color: var(--ok); font-size: 12px; }
.bar { height: 4px; border-radius: 4px; background: rgba(244,239,233,.08); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--club-a), var(--club-b)); border-radius: 4px; }
.dash__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.card { padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; font-size: 14px; }
.card__head small { font-size: 12px; }
.live { display: inline-flex; align-items: center; gap: 6px; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: ping-ok 1.8s infinite; }
.spark { width: 100%; height: 150px; display: block; }
.spark__line { stroke-dasharray: 700; stroke-dashoffset: 700; }
.mock.in-view .spark__line { animation: drawline 2.2s var(--ease) forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }
.toggles { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.toggles li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tog { width: 32px; height: 18px; border-radius: 999px; background: rgba(244,239,233,.14); position: relative; flex: 0 0 auto; transition: background .4s; cursor: pointer; }
.tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); }
.tog.is-on { background: var(--club-a); } .tog.is-on::after { transform: translateX(14px); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 0 10px 10px 0; border-bottom: 1px solid var(--line); }
.tbl td { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.is-new td { animation: rowIn 1.4s var(--ease); }
@keyframes rowIn { from { background: rgba(234,104,82,.18); } }
.tbl--tenants { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tbl--tenants th, .tbl--tenants td { padding-left: 16px; }
.tbl--tenants th { padding-top: 12px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 10px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(244,239,233,.08); color: var(--muted); }
.pill.ok { background: rgba(79,197,139,.14); color: var(--ok); }
.pill.warn { background: rgba(230,180,80,.14); color: var(--warn); }
.iso { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.iso span { font-family: var(--mono); font-size: 11px; padding: 5px 10px; border-radius: 8px; border: 1px dashed var(--line-2); color: var(--accent-2); }
.life { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; counter-reset: l; }
.life li { counter-increment: l; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.life li::before { content: counter(l); width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 11px; }
.life li.done { color: var(--text); } .life li.done::before { content: "✓"; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Fan phones */
.fan-intro .mock-h { margin: 0 0 14px; font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; font-stretch: 85%; }
.fan-intro p { color: var(--muted); }
.phones { position: relative; height: 560px; }
.phone { position: absolute; left: 50%; top: 50%; width: 270px; height: 550px; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #2a2623, #0c0b0a); border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.95); transform: translate(-30%, -50%) rotate(4deg); z-index: 2; }
.phone--back { transform: translate(-95%, -47%) rotate(-7deg) scale(.92); z-index: 1; filter: brightness(.75); }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 80px; height: 22px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 3; }
.phone__screen { height: 100%; border-radius: 34px; background: #0f0e0d; overflow: hidden; padding: 50px 16px 72px; position: relative; display: flex; flex-direction: column; gap: 12px; font-size: 12px; }
.app-top { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.app-top .crest { width: 22px; height: 22px; border-radius: 6px; }
.wcard { position: relative; overflow: hidden; border-radius: 18px; padding: 16px; color: #fff; display: grid; gap: 2px; min-height: 150px;
  background: linear-gradient(135deg, var(--club-a), var(--club-b)); box-shadow: 0 20px 40px -18px var(--club-a); }
.wcard small { font-size: 9px; letter-spacing: .18em; opacity: .8; }
.wcard b { font-size: 17px; margin-top: 18px; }
.wcard span { font-size: 11px; opacity: .85; }
.wcard__foot { display: flex; justify-content: space-between; margin-top: auto; padding-top: 14px; font-size: 10px; }
.wcard__shine { position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); animation: shine 4.5s var(--ease) infinite; pointer-events: none; }
@keyframes shine { 0%, 40% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.wlist { display: grid; gap: 8px; }
.wlist > div { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.wlist b { display: block; font-size: 12px; font-weight: 600; } .wlist small { color: var(--muted); font-size: 10px; }
.wlist > div > i { margin-left: auto; font-style: normal; color: var(--ok); font-size: 12px; }
.ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--club-a) 25%, transparent); color: var(--text); flex: 0 0 auto; }
.legacy-hero { position: relative; border-radius: 16px; overflow: hidden; height: 150px; flex: 0 0 auto; }
.legacy-hero img { width: 100%; height: 100%; object-fit: cover; }
.legacy-hero span { position: absolute; inset: auto 0 0; padding: 30px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.15; }
.tabbar { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-around; padding: 12px 6px; border-radius: 22px; background: rgba(33,29,26,.9); font-size: 10px; }
.tabbar i { font-style: normal; color: var(--muted); } .tabbar i.is-on { color: var(--text); font-weight: 600; }

/* Architecture */
.arch { margin-top: clamp(90px, 12vw, 160px); }
.arch__head { margin-bottom: 40px; }
.arch__head h3 { font-size: clamp(30px, 3.6vw, 52px); font-stretch: 85%; }
.arch__roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.role { padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); display: grid; gap: 4px; }
.role small { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; }
.role b { font-size: 20px; font-weight: 600; } .role span { color: var(--muted); font-size: 14px; }
.arch__flow { display: grid; grid-template-columns: repeat(3, 1fr); height: 56px; }
.arch__flow i { justify-self: center; width: 1px; background: linear-gradient(var(--line-2), var(--accent)); position: relative; overflow: hidden; }
.arch__flow i::after { content: ""; position: absolute; left: -1px; width: 3px; height: 14px; border-radius: 3px; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: flow 2.2s linear infinite; }
.arch__flow i:nth-child(2)::after { animation-delay: .7s; } .arch__flow i:nth-child(3)::after { animation-delay: 1.4s; }
@keyframes flow { from { top: -14px; } to { top: 100%; } }
.layer { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line-2); }
.layer + .layer { margin-top: 12px; }
.layer--core { background: linear-gradient(90deg, rgba(234,104,82,.16), rgba(234,104,82,.03)); border-color: rgba(234,104,82,.45); }
.layer--p2 { border-style: dashed; }
.layer--chain { background: repeating-linear-gradient(135deg, rgba(244,239,233,.025) 0 10px, transparent 10px 20px); }
.layer__label small { display: block; font-family: var(--mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; }
.layer__label b { font-size: 22px; font-weight: 600; font-stretch: 85%; }
.layer__mods { display: flex; flex-wrap: wrap; gap: 8px; }
.layer__mods span { padding: 7px 14px; border-radius: 999px; font-size: 13px; background: rgba(11,10,9,.6); border: 1px solid var(--line-2); }

.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(70px, 9vw, 120px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cap { padding: 32px 30px; background: var(--bg); }
.cap h4 { font-size: 19px; margin-bottom: 10px; font-stretch: 90%; }
.cap h4::before { content: ""; display: block; width: 24px; height: 2px; background: var(--accent); margin-bottom: 20px; }
.cap p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Clubs ---------- */
.clubs { padding: clamp(110px, 14vw, 200px) 0; }
.clubcard { display: grid; grid-template-columns: 1.25fr 1fr; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .4s, transform .6s var(--ease); }
.clubcard:hover { border-color: #a50044; transform: translateY(-4px); }
.clubcard__img { position: relative; min-height: 520px; overflow: hidden; }
.clubcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.clubcard:hover .clubcard__img img { transform: scale(1.05); }
.clubcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--surface)); }
.clubcard__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-content: center;
  background: radial-gradient(500px 300px at 100% 0%, rgba(165,0,68,.25), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(0,77,152,.25), transparent 70%); }
.clubcard__logo { width: 220px; height: auto; }
.clubcard__quote { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3vw, 44px); line-height: 1.05; margin: 0; }
.clubcard__body > p:not(.clubcard__quote) { color: var(--muted); margin: 0; }
.clubcard__facts { list-style: none; padding: 0; margin: 6px 0 10px; display: flex; gap: 28px; flex-wrap: wrap; }
.clubcard__facts b { display: block; font-size: 28px; font-weight: 600; font-stretch: 75%; }
.clubcard__facts span { font-size: 13px; color: var(--muted); }
.clubs__next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.slot { position: relative; padding: 30px; border-radius: var(--radius); border: 1px dashed var(--line-2); display: grid; justify-items: start; gap: 4px; min-height: 180px; align-content: end; overflow: hidden; }
.slot b { font-size: 18px; } .slot small { color: var(--muted); }
.slot__ring { position: absolute; top: 26px; left: 30px; width: 46px; height: 46px; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.slot--cta { border-style: solid; border-color: rgba(234,104,82,.5); background: linear-gradient(135deg, rgba(234,104,82,.14), transparent); transition: background .4s, transform .4s var(--ease); }
.slot--cta:hover { background: linear-gradient(135deg, rgba(234,104,82,.28), transparent); transform: translateY(-3px); }
.slot__plus { position: absolute; top: 22px; left: 30px; width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 26px; font-weight: 300; }

/* ---------- How ---------- */
.how { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; isolation: isolate; }
.how__img { position: absolute; inset: 0; z-index: -1; }
.how__img img { width: 100%; height: 120%; object-fit: cover; opacity: .28; filter: grayscale(.4); }
.how__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg), rgba(11,10,9,.6) 30%, rgba(11,10,9,.6) 70%, var(--bg)); }
.how__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.how h2 { font-size: clamp(36px, 4.2vw, 62px); margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 4px; }
.steps b { font-size: 19px; font-weight: 600; }
.steps span { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(100px, 12vw, 170px) 0; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; transition: color .3s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; color: var(--accent); transition: transform .4s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
summary:hover { color: var(--accent-2); }
details p { margin: 0 0 28px; color: var(--muted); max-width: 720px; }

/* ---------- Contact ---------- */
.contact { position: relative; padding: clamp(110px, 14vw, 190px) 0; overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 20%, rgba(11,10,9,.75)), linear-gradient(var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.contact__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.contact__copy h2 { font-size: clamp(52px, 7vw, 110px); margin-bottom: 26px; }
.contact__copy > p { color: var(--muted); max-width: 460px; }
.contact__list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: grid; grid-template-columns: 100px 1fr; gap: 10px; font-size: 16px; }
.contact__list span { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.contact__list a { border-bottom: 1px solid var(--line-2); transition: border-color .3s, color .3s; overflow-wrap: anywhere; justify-self: start; }
.contact__list a:hover { color: var(--accent-2); border-color: var(--accent); }
.form { padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: rgba(24,21,19,.75); backdrop-filter: blur(18px); border: 1px solid var(--line-2); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.form input:not([type="checkbox"]), .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(11,10,9,.6); color: var(--text); font: inherit; font-size: 15px; resize: vertical; transition: border-color .3s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
legend { font-size: 13px; color: var(--muted); margin-bottom: 8px; width: 100%; }
.form .check { display: inline-flex; cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--text); transition: background .3s, border-color .3s, color .3s; }
.check input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 60px; overflow: hidden; }
.footer__wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__wrap img { height: 44px; width: auto; margin-bottom: 14px; }
.footer nav { display: grid; gap: 4px; align-content: start; font-size: 14px; }
.footer nav a { color: var(--muted); transition: color .3s; display: inline-flex; align-items: center; min-height: 28px; } .footer nav a:hover { color: var(--text); }
.footer__big { font-size: clamp(90px, 22vw, 360px); font-weight: 800; font-stretch: 62%; letter-spacing: -.04em; line-height: .78; text-align: center; margin-top: 60px;
  background: linear-gradient(180deg, rgba(244,239,233,.14), rgba(244,239,233,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__langs { margin-top: 10px; color: var(--muted); font-size: 13px; }
.footer__langs a { display: inline-block; padding: 5px 2px; }
.footer__copy { font-size: 13px; padding-bottom: 30px; margin: 0 auto; }

/* ---------- Fan app ---------- */
.fan { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; isolation: isolate; }
.fan__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 520px at 78% 55%, rgba(165,0,68,.22), transparent 70%), radial-gradient(600px 480px at 88% 70%, rgba(0,77,152,.22), transparent 70%); }
.fan__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 96px); align-items: center; }
.fan__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { display: flex; gap: 14px; align-items: flex-start; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(24,21,19,.6);
  transition: border-color .3s, background .3s, transform .4s var(--ease); }
.fact:hover { border-color: var(--line-2); transform: translateY(-2px); }
.fact.is-on { border-color: rgba(234,104,82,.6); background: linear-gradient(135deg, rgba(234,104,82,.16), rgba(24,21,19,.6)); }
.fact__ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); transition: background .3s; }
.fact.is-on .fact__ico { background: var(--accent); }
.fact__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fact.is-on .fact__ico svg { stroke: var(--accent-ink); }
.fact b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.fact small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.fan__stage { display: grid; justify-items: center; gap: 18px; }
.fan__hint { margin: 0; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }

.fphone { --club-a: #a50044; --club-b: #004d98; position: relative; width: 360px; aspect-ratio: 360 / 740; padding: 12px; border-radius: 56px;
  background: linear-gradient(150deg, #34302c, #0e0d0c 55%, #24201d); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 80px 140px -50px rgba(0,0,0,.95), 0 0 0 2px #0a0908, inset 0 0 0 1px rgba(255,255,255,.05); }
.fphone__btn { position: absolute; width: 4px; border-radius: 3px; background: #2a2623; }
.fphone__btn--a { left: -4px; top: 150px; height: 60px; } .fphone__btn--b { right: -4px; top: 190px; height: 90px; }
.fphone__screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: #0d0c0b; display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; color: var(--text); }
.fstatus { flex: 0 0 auto; height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 6px 28px 0; font-size: 13px; font-weight: 600; position: relative; }
.fstatus__island { position: absolute; left: 50%; top: 11px; width: 104px; height: 30px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.fstatus__icons { font-size: 10px; letter-spacing: 1px; }
.fapp { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.fapp__top { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 4px 18px 10px; }
.fcrest { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--club-a) 50%, var(--club-b) 50%); }
.fapp__club { font-weight: 600; font-size: 14px; } .fapp__club i { font-style: normal; color: var(--muted); font-size: 10px; }
.fapp__bell { margin-left: auto; color: var(--accent); font-size: 8px; }
.favatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; background: linear-gradient(135deg, #3a332e, #1d1a17); border: 1px solid var(--line-2); flex: 0 0 auto; }
.favatar.sm { width: 26px; height: 26px; font-size: 9px; }
.fapp__views { flex: 1; min-height: 0; position: relative; }
.fv { position: absolute; inset: 0; overflow-y: auto; padding: 4px 18px 22px; opacity: 0; transform: translateX(24px); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--ease); scrollbar-width: none; }
.fv::-webkit-scrollbar { display: none; }
.fv.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fv__hello { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.fv__sub { margin: 2px 0 14px; color: var(--muted); font-size: 12px; }
.fv__title { margin: 4px 0 14px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.fv__label { margin: 18px 0 8px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fv button { font: inherit; color: inherit; }

.fbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; margin-top: 12px; border-radius: 14px; border: 0; background: var(--club-a); color: #fff !important; font-size: 13px; font-weight: 600; transition: transform .3s var(--ease), filter .3s; }
.fbtn:hover { filter: brightness(1.12); } .fbtn:active { transform: scale(.97); }
.fbtn--light { background: #fff; color: #141210 !important; }
.fbtn--ghost { background: transparent; border: 1px solid var(--line-2); color: var(--text) !important; }
.fbtn--sm { width: auto; height: 32px; padding: 0 14px; margin-top: 8px; font-size: 12px; border-radius: 10px; }
.when-on { display: none; }
.is-done > .when-off, .is-done .when-off { display: none; }
.is-done > .when-on, .is-done .when-on { display: inline; }
.fbtn.is-done { background: rgba(79,197,139,.18); color: var(--ok) !important; }
.fbtn--light.is-done { background: rgba(255,255,255,.2); color: #fff !important; }

.fmatch { position: relative; overflow: hidden; border-radius: 22px; padding: 18px; color: #fff; display: grid; gap: 2px;
  background: linear-gradient(135deg, var(--club-a), var(--club-b)); box-shadow: 0 24px 40px -22px var(--club-a); }
.fmatch::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px); pointer-events: none; }
.fmatch > * { position: relative; z-index: 1; }
.fmatch small { font-size: 11px; opacity: .85; font-weight: 600; letter-spacing: .04em; }
.fmatch b { font-size: 18px; letter-spacing: -.01em; }
.fmatch span { font-size: 12px; opacity: .85; }
.fstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.fstats > div { padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.fstats b { display: block; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fstats small { font-size: 10px; color: var(--muted); }
.fquick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.fquick button { text-align: left; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 600; transition: border-color .3s; }
.fquick button:hover { border-color: var(--line-2); }
.fquick i { display: block; font-style: normal; font-size: 16px; color: var(--accent-2); margin-bottom: 6px; }
.fnews { display: block; width: 100%; text-align: left; padding: 12px; margin-bottom: 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.fnews b { display: block; font-size: 13px; margin-top: 6px; } .fnews small { font-size: 11px; color: var(--muted); }
.fnews__tag { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(234,104,82,.16); color: var(--accent-2); }

.fring { display: flex; align-items: center; gap: 18px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.fring svg { width: 96px; height: 96px; transform: rotate(-90deg); flex: 0 0 auto; }
.fring circle { fill: none; stroke-width: 10; }
.fring__bg { stroke: rgba(244,239,233,.08); }
.fring__val { stroke: var(--club-a); stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.4s var(--ease); }
.fring b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.03em; font-stretch: 80%; }
.fring small { color: var(--muted); font-size: 11px; }
.fbadges { display: flex; flex-wrap: wrap; gap: 6px; }
.fbadge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11px; background: var(--surface); }
.fbadge i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 700; background: linear-gradient(135deg, var(--club-a), var(--club-b)); color: #fff; }
.fbadge--new { border-color: var(--accent); box-shadow: 0 0 20px -4px rgba(234,104,82,.7); animation: pop .7s var(--ease); }
.fbadge--new i { background: linear-gradient(135deg, #f5d38a, #c2872f); color: #3a2405; }
.flist, .flegacy { list-style: none; margin: 0; padding: 0; }
.flist li, .flegacy li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.flist li[data-newmatch] { animation: pop .7s var(--ease); }
.flist b, .flegacy b { display: block; font-size: 13px; } .flist small, .flegacy small { font-size: 11px; color: var(--muted); }
.flist em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); }
.flist em.fok { color: var(--ok); font-weight: 600; }
.fdate { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-content: center; text-align: center; font-weight: 700; font-size: 15px; line-height: 1; }
.fdate small { font-size: 9px; font-weight: 500; color: var(--muted); text-transform: uppercase; margin-top: 2px; }
.fico { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--club-a) 28%, transparent); }
.flegacy li > i { margin-left: auto; font-style: normal; font-size: 12px; }

.fchips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.fchips span { flex: 0 0 auto; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11px; cursor: pointer; transition: background .3s, color .3s; }
.fchips span.is-on { background: var(--text); color: var(--bg); border-color: var(--text); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ftile { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.ftile img { width: 100%; height: 100%; object-fit: cover; }
.ftile figcaption { position: absolute; inset: auto 0 0; padding: 26px 9px 8px; font-size: 11px; font-weight: 600; line-height: 1.25; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.ftile figcaption small { display: block; font-size: 9px; font-weight: 500; color: rgba(255,255,255,.7); margin-top: 2px; }
.fseal { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.fplay { position: absolute; left: 50%; top: 42%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: #111; font-size: 12px; padding-left: 2px; }
.ftile--new { outline: 2px solid var(--accent); outline-offset: -2px; animation: pop .8s var(--ease); }
.ftile--ticket { background: linear-gradient(160deg, var(--club-b), var(--club-a)); }
.fticket { position: absolute; inset: 10px 10px 46px; border: 1px dashed rgba(255,255,255,.5); border-radius: 10px; padding: 10px; display: grid; align-content: start; gap: 2px; color: #fff; }
.fticket small { font-size: 8px; letter-spacing: .2em; opacity: .8; text-transform: uppercase; }
.fticket b { font-size: 22px; font-weight: 800; font-stretch: 70%; letter-spacing: -.02em; }
.fticket span, .fticket i { font-size: 10px; font-style: normal; opacity: .9; }
.ftile--voice { background: linear-gradient(160deg, #2a2522, #171412); }
.fwave { position: absolute; inset: 30% 14px auto; height: 50px; display: flex; align-items: center; gap: 4px; }
.fwave i { flex: 1; border-radius: 3px; background: var(--accent-2); height: 30%; animation: wave 1.1s ease-in-out infinite; }
.fwave i:nth-child(3n) { animation-delay: -.3s; } .fwave i:nth-child(3n+1) { animation-delay: -.6s; } .fwave i:nth-child(4n) { animation-delay: -.8s; }
@keyframes wave { 50% { height: 100%; } }
.ffab { position: sticky; bottom: 4px; display: grid; place-items: center; width: 50px; height: 50px; margin: 12px 0 0 auto; border-radius: 50%; border: 0; font-size: 24px; color: #fff !important; background: linear-gradient(135deg, var(--club-a), var(--club-b)); box-shadow: 0 12px 24px -8px var(--club-a); }

.fscan { position: relative; height: 230px; border-radius: 20px; overflow: hidden; border: 2px solid transparent; transition: border-color .4s; }
.fscan img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(.8); transition: filter .5s; }
.fscan__c { position: absolute; inset: 22px; background:
  linear-gradient(#fff, #fff) 0 0 / 22px 2px no-repeat, linear-gradient(#fff, #fff) 0 0 / 2px 22px no-repeat,
  linear-gradient(#fff, #fff) 100% 0 / 22px 2px no-repeat, linear-gradient(#fff, #fff) 100% 0 / 2px 22px no-repeat,
  linear-gradient(#fff, #fff) 0 100% / 22px 2px no-repeat, linear-gradient(#fff, #fff) 0 100% / 2px 22px no-repeat,
  linear-gradient(#fff, #fff) 100% 100% / 22px 2px no-repeat, linear-gradient(#fff, #fff) 100% 100% / 2px 22px no-repeat; }
.fscan__laser { position: absolute; left: 26px; right: 26px; height: 2px; top: 30px; background: var(--accent); box-shadow: 0 0 16px 3px rgba(234,104,82,.7); animation: laser 1.6s ease-in-out infinite alternate; }
@keyframes laser { to { top: calc(100% - 32px); } }
.fscan__msg { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap; font-size: 11px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.fscan.is-found { border-color: var(--ok); }
.fscan.is-found img { filter: none; }
.fscan.is-found .fscan__laser, .fscan.is-found .fscan__msg { display: none; }
.fverify { margin-top: 12px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid rgba(79,197,139,.35); opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.fverify.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fverify__head { display: flex; align-items: center; gap: 10px; }
.fverify__head b { display: block; font-size: 15px; } .fverify__head small { font-size: 11px; color: var(--muted); }
.fverify__ok { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #062214; font-weight: 800; flex: 0 0 auto; }
.fverify__obj { margin: 10px 0; font-size: 12px; font-weight: 600; }
.ftimeline { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 1px solid var(--line-2); display: grid; gap: 8px; }
.ftimeline li { position: relative; font-size: 12px; }
.ftimeline li::before { content: ""; position: absolute; left: -21px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); }
.ftimeline li.is-now::before { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 10px var(--ok); }
.ftimeline b { display: block; font-weight: 600; } .ftimeline small { color: var(--muted); font-size: 10px; }
.frow { display: flex; gap: 8px; }
.frow .fbtn { flex: 1; }
.frow .fbtn[data-act="rescan"] { flex: 0 0 44px; font-size: 16px; }

.fv--memorial { padding-top: 0; }
.fmem__cover { position: relative; height: 140px; border-radius: 20px; overflow: hidden; }
.fmem__cover img { width: 100%; height: 100%; object-fit: cover; }
.fmem__cover span { position: absolute; left: 10px; top: 10px; font-size: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.fmem__id { text-align: center; margin-top: -34px; position: relative; display: grid; justify-items: center; gap: 2px; }
.fmem__portrait { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 20px; background: linear-gradient(135deg, var(--club-a), var(--club-b)); border: 4px solid #0d0c0b; margin-bottom: 4px; }
.fmem__id b { font-size: 17px; } .fmem__id small { font-size: 11px; color: var(--muted); }
.fmem__id p { margin: 8px 0 0; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.25; color: var(--accent-2); }
.fcandle { display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); text-align: left; transition: border-color .4s, background .4s; }
.fcandle b { display: block; font-size: 14px; } .fcandle.is-done b.when-on { display: block; } .fcandle small { font-size: 11px; color: var(--muted); }
.fcandle.is-done { border-color: rgba(245,190,90,.5); background: linear-gradient(135deg, rgba(245,190,90,.14), var(--surface)); }
.fcandle__flame { position: relative; width: 22px; height: 44px; flex: 0 0 auto; }
.fcandle__flame::before { content: ""; position: absolute; left: 3px; right: 3px; bottom: 0; height: 22px; border-radius: 3px; background: linear-gradient(#f2ece4, #cfc6bb); }
.fcandle__flame::after { content: ""; position: absolute; left: 50%; bottom: 22px; width: 10px; height: 16px; margin-left: -5px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #6b625b; transition: background .4s, box-shadow .4s; }
.fcandle.is-done .fcandle__flame::after { background: radial-gradient(circle at 50% 70%, #fff6d8, #ffc24a 45%, #ff7a1a 80%); box-shadow: 0 0 18px 6px rgba(255,170,60,.55); animation: flicker 1.4s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(-2deg); } 40% { transform: scale(1.08, .95) rotate(2deg); } 70% { transform: scale(.95, 1.06) rotate(-1deg); } }
.fmsg { padding: 10px 12px; margin-bottom: 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.fmsg b { font-size: 12px; } .fmsg p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.fnote { margin: 12px 0 0; font-size: 11px; color: var(--muted); }

.fexp { display: flex; gap: 10px; padding: 8px; margin-bottom: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.fexp img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.fexp b { display: block; font-size: 13px; } .fexp small { display: block; font-size: 11px; color: var(--muted); }

.fvote { padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.fvote > b { display: block; margin: 10px 0 12px; font-size: 15px; line-height: 1.3; }
.fopt { position: relative; display: block; width: 100%; overflow: hidden; text-align: left; padding: 12px 48px 12px 12px; margin-bottom: 8px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; font-size: 12px; font-weight: 500; }
.fopt i { position: absolute; inset: 0 auto 0 0; width: 0; background: color-mix(in srgb, var(--club-a) 35%, transparent); transition: width 1.1s var(--ease); }
.fopt span { position: relative; }
.fopt em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 700; opacity: 0; transition: opacity .6s .4s; }
.fvote.voted .fopt i { width: var(--pct); }
.fvote.voted .fopt em { opacity: 1; }
.fopt.is-picked { border-color: var(--club-a); }
.fvote__foot { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; }
.fvote.voted .fvote__foot { color: var(--ok); }

.fguard { margin: 14px 0 4px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 6px; }
.fguard b { font-size: 12px; } .fguard small { font-size: 11px; color: var(--muted); }
.fguard div { display: flex; } .fguard div .favatar + .favatar { margin-left: -8px; }

.fwallet { display: grid; gap: 10px; }
.fwcard { position: relative; overflow: hidden; border-radius: 18px; padding: 16px; min-height: 108px; color: #fff; display: grid; align-content: start; gap: 2px; }
.fwcard small { font-size: 9px; letter-spacing: .16em; opacity: .8; }
.fwcard b { font-size: 16px; margin-top: 12px; }
.fwcard span { font-size: 11px; opacity: .85; }
.fwcard--club { background: linear-gradient(135deg, var(--club-a), var(--club-b)); }
.fwcard--plate { background: linear-gradient(135deg, #3b342f, #1d1a17); border: 1px solid var(--line-2); }
.fwcard--badge { background: linear-gradient(135deg, #f0c873, #b4762a); color: #2b1a04; animation: pop .7s var(--ease); }
.fwcard--ticket { background: #f4efe9; color: #141210; padding-right: 92px; animation: pop .7s var(--ease); }
.fqr { position: absolute; right: 14px; top: 50%; width: 64px; height: 64px; transform: translateY(-50%); color: #141210; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }

.fapp__tabs { flex: 0 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 8px 8px 22px; background: rgba(18,16,15,.96); border-top: 1px solid var(--line); position: relative; }
.fapp__tabs::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 120px; height: 4px; margin-left: -60px; border-radius: 4px; background: rgba(244,239,233,.5); }
.fapp__tabs button { border: 0; background: none; display: grid; justify-items: center; gap: 2px; font-size: 10px; color: var(--muted); padding: 4px 0; transition: color .3s; }
.fapp__tabs button i { font-style: normal; font-size: 17px; line-height: 1; }
.fapp__tabs button.is-on { color: var(--text); }
.fapp__tabs .fapp__plus { width: 48px; height: 48px; justify-self: center; align-self: center; margin-top: -16px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 24px; background: linear-gradient(135deg, var(--club-a), var(--club-b)); box-shadow: 0 10px 22px -8px var(--club-a); }

.fover { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(8,7,6,.88); backdrop-filter: blur(10px); animation: fadeIn .35s var(--ease); }
.fover[hidden], [data-checkstage][hidden], [data-memstage][hidden] { display: none !important; }
@keyframes fadeIn { from { opacity: 0; } }
.fover--sheet { place-items: end stretch; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.fsheet { width: 100%; max-height: 92%; overflow-y: auto; scrollbar-width: none; background: #1b1816; border-radius: 26px 26px 0 0; padding: 10px 18px 28px; border-top: 1px solid var(--line-2); animation: slideUp .45s var(--ease); display: grid; gap: 2px; }
@keyframes slideUp { from { transform: translateY(100%); } }
.fsheet__grab { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 0 auto 12px; }
.fsheet > button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 10px; border: 0; border-radius: 12px; background: none; font-size: 14px; font-weight: 500; text-align: left; transition: background .25s; }
.fsheet > button:hover { background: var(--surface-2); }
.fsheet > button i { font-style: normal; width: 30px; text-align: center; }
.fsheet .fsheet__cancel { justify-content: center; color: var(--muted); margin-top: 6px; border: 1px solid var(--line); }
.fsheet__title { display: block; font-size: 17px; margin-bottom: 12px; }
.fpreview { height: 140px; border-radius: 14px; overflow: hidden; margin: 2px 0 10px; }
.fpreview img { width: 100%; height: 100%; object-fit: cover; }
.ffield { display: block; padding: 8px 12px; margin-bottom: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.ffield small { display: block; font-size: 10px; color: var(--muted); } .ffield span { font-size: 13px; }
.fseg { display: flex; padding: 3px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.fseg span { flex: 1; text-align: center; padding: 7px 4px; border-radius: 9px; font-size: 12px; cursor: pointer; transition: background .3s; }
.fseg span.is-on { background: var(--club-a); color: #fff; }
.ftoggle { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 12px 0 2px; font-size: 12px; }
.ftoggle i { position: relative; width: 36px; height: 20px; border-radius: 999px; background: rgba(244,239,233,.16); cursor: pointer; transition: background .3s; flex: 0 0 auto; }
.ftoggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.ftoggle i.is-on { background: var(--club-a); } .ftoggle i.is-on::after { transform: translateX(16px); }
.fsteps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.fsteps li { position: relative; padding-left: 22px; font-family: var(--mono); font-size: 11px; color: var(--muted); opacity: .35; transition: opacity .3s, color .3s; }
.fsteps li::before { content: "○"; position: absolute; left: 0; }
.fsteps li.is-done { opacity: 1; color: var(--text); }
.fsteps li.is-done::before { content: "●"; color: var(--ok); }
.fcheck { display: grid; justify-items: center; gap: 8px; padding: 24px; text-align: center; }
.fcheck > b { font-size: 18px; } .fcheck > small { font-size: 12px; color: var(--muted); }
.fnfc { position: relative; width: 130px; height: 130px; display: grid; place-items: center; margin-bottom: 10px; }
.fnfc span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ripple 2.2s var(--ease) infinite; }
.fnfc span:nth-child(2) { animation-delay: .7s; } .fnfc span:nth-child(3) { animation-delay: 1.4s; }
.fnfc i { font-style: normal; font-size: 44px; animation: tap 2.2s var(--ease) infinite; }
@keyframes ripple { from { transform: scale(.35); opacity: .9; } to { transform: scale(1.15); opacity: 0; } }
@keyframes tap { 50% { transform: translateY(-6px) rotate(-8deg); } }
.fcheck--done .fbtn { margin-top: 6px; }
.fmedal { position: relative; width: 156px; height: 156px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 1px; margin-bottom: 12px; color: #2b1a04;
  background: radial-gradient(circle at 35% 30%, #fff1c7, #f0c873 40%, #b4762a 100%); box-shadow: 0 0 0 6px rgba(240,200,115,.2), 0 0 60px -6px rgba(240,200,115,.7); animation: medal 1s var(--ease); overflow: hidden; }
.fmedal::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.6) 50%, transparent 60%); animation: shine 3s var(--ease) infinite; }
.fmedal span { font-size: 26px; line-height: 1; } .fmedal small { font-size: 9px; letter-spacing: .16em; font-weight: 700; }
.fmedal b { font-size: 15px; font-weight: 800; } .fmedal em { font-family: var(--serif); font-size: 16px; color: #5a3608; }
@keyframes medal { from { transform: scale(.3) rotate(-25deg); opacity: 0; } 60% { transform: scale(1.08) rotate(4deg); } }
.ftoast { position: absolute; left: 50%; top: 56px; z-index: 40; transform: translate(-50%, -16px); opacity: 0; pointer-events: none; white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: #f4efe9; color: #141210; font-size: 12px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0,0,0,.8); transition: opacity .35s, transform .45s var(--ease); }
.ftoast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { position: fixed; inset: 64px 0 auto; flex-direction: column; padding: 16px var(--gutter) 28px; background: rgba(11,10,9,.96); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .5s var(--ease); z-index: -1; }
  .nav__links a { font-size: 20px; padding: 12px 0; color: var(--text); }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open { background: rgba(11,10,9,.96); }
  .nav__burger { display: block; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { min-height: 480px; }
  .chain__grid { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .caps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hero__ticker { position: relative; right: auto; bottom: auto; align-self: flex-start; }
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
  .hscroll__pin { height: auto; flex-direction: column; align-items: stretch; padding: 100px var(--gutter); }
  .hscroll__intro { flex: none; }
  .hscroll__intro::after { display: none; }
  .hscroll__intro { margin-left: 0; padding-left: 0; background: none; }
  .hscroll__track { height: 380px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-bottom: 10px; }
  .slide { scroll-snap-align: start; }
  .verify, .verify__result.is-on { grid-template-columns: 1fr; }
  .view.is-on { grid-template-columns: 1fr; }
  .side { display: none; }
  .view--fan.is-on { grid-template-columns: 1fr; }
  .dash__grid, .how__wrap, .contact__wrap, .clubcard { grid-template-columns: 1fr; }
  .clubcard__img { min-height: 300px; }
  .clubcard__img::after { background: linear-gradient(180deg, transparent 60%, var(--surface)); }
  .layer { grid-template-columns: 1fr; gap: 14px; }
  .fan__grid { grid-template-columns: 1fr; }
  .fan__stage { order: -1; }
  .footer__wrap { grid-template-columns: 1fr 1fr; }
  .footer__wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav .btn--sm { display: none; }
  .hero { padding-top: 110px; }
  .hero__ctas .btn { flex: 1; }
  .pillars, .chain__grid, .caps, .clubs__next, .arch__roles, .form__row { grid-template-columns: 1fr; }
  .arch__flow { grid-template-columns: 1fr; height: 40px; } .arch__flow i:not(:first-child) { display: none; }
  .pillar { min-height: 420px; }
  .stat { padding-right: 12px; } .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi b { font-size: 22px; }
  .dash { padding: 16px; }
  .dash__head { flex-direction: column; align-items: flex-start; }
  .card { overflow-x: auto; }
  .badge { display: none; }
  .mock__tabs { width: 100%; } .mock__tabs button { flex: 1; padding: 10px 8px; font-size: 13px; }
  .phones { height: 520px; }
  .phone { width: 240px; height: 500px; transform: translate(-50%, -50%) rotate(3deg); }
  .phone--back { display: none; }
  .verify__form { flex-direction: column; }
  .tbl--tenants { display: block; overflow-x: auto; }
  .footer__wrap { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .fphone { width: min(360px, 100%); border-radius: 48px; padding: 10px; }
  .fphone__screen { border-radius: 38px; }
  .fact { padding: 12px; gap: 10px; }
  .fact small { display: none; }
  .fact__ico { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .spark__line { stroke-dashoffset: 0; }
}

.fv:focus { outline: none; }
.fv:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 12px; }
