/* Scroll features page: Fight Night */
:root {
  --bg: #0b0c10; --panel: #15171d; --panel-2: #1d2029; --line: #252832; --ink: #f5f2ea; --muted: #9aa0ad;
  --red: #ff4d5e; --blue: #3fa9ff; --gold: #ffc53d; --green: #3ddc97;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif; --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cut: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; background: var(--bg);
  background-image: radial-gradient(900px 600px at 0% 0%, rgba(255, 77, 94, 0.16), transparent 60%), radial-gradient(900px 600px at 100% 0%, rgba(63, 169, 255, 0.14), transparent 60%);
}
a { color: var(--ink); }
img { max-width: 100%; display: block; }
.kicker { margin: 0 0 10px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.lead { color: #d6d9e0; font-size: 1.1rem; max-width: 36em; }

.top {
  position: sticky; top: 12px; z-index: 10; display: flex; align-items: center; gap: 24px; max-width: 1240px; margin: 12px auto 0; padding: 10px 14px 10px 24px;
  border-radius: 999px; background: rgba(11, 12, 16, 0.82); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line);
}
.logo { font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.02em; text-decoration: none; color: var(--ink); }
.top nav { display: flex; gap: 4px; flex: 1 1 auto; overflow-x: auto; }
.top nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.top nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; font-weight: 800; font-size: 0.85rem;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); white-space: nowrap; }
.btn-primary { background: var(--red); color: var(--bg); box-shadow: 0 0 30px -6px var(--red); }
.btn-primary:hover { background: #ff6b79; }
.btn-ghost { background: rgba(255, 255, 255, 0.06); color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-big { min-height: 56px; padding: 0 30px; font-size: 0.95rem; }
.btn:focus-visible, .top nav a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

main { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 80px 0 50px; }
.hero h1 { margin: 0 0 20px; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 0.95; text-transform: uppercase; }
.hero h1 span { color: var(--red); text-shadow: 0 0 40px rgba(255, 77, 94, 0.45); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-shot { margin: 0 -40px 0 0; padding: 10px; background: linear-gradient(135deg, rgba(255, 77, 94, 0.55), rgba(63, 169, 255, 0.45)); clip-path: var(--cut);
  box-shadow: 0 40px 90px -30px rgba(255, 77, 94, 0.55); }
.hero-shot img { width: 100%; clip-path: var(--cut); }
@media (max-width: 1300px) { .hero-shot { margin-right: 0; } }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 50px; } }

.instruments { text-align: center; padding: 20px 0 10px; }
.instruments ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.instruments li { padding: 10px 18px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 40px 0 30px; }
.numbers div { padding: 22px; background: var(--panel); clip-path: var(--cut); display: flex; flex-direction: column; gap: 6px; }
.numbers b { font-family: var(--display); font-weight: 400; font-size: 3.4rem; line-height: 1; color: var(--gold); }
.numbers div:nth-child(2) b { color: var(--blue); } .numbers div:nth-child(3) b { color: var(--red); } .numbers div:nth-child(4) b { color: var(--green); }
.numbers span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 800px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.feat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: center; padding: 70px 0; border-top: 1px solid var(--line); }
.feat.flip { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
.feat.flip .feat-media { order: 2; }
.feat h2 { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; text-transform: uppercase; }
.feat ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feat li { position: relative; padding-left: 28px; color: #e4e6eb; }
.feat li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.feat-media { position: relative; }
.shot { margin: 0; }
.shot img { width: 100%; border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.9); }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 0.85rem; }
.shot.inset { width: 62%; margin: 22px 0 0 auto; position: relative; }
.feat.flip .shot.inset { margin: 22px auto 0 0; }
.shot.inset img { box-shadow: 0 0 0 6px var(--bg), 0 20px 60px -20px rgba(255, 77, 94, 0.45); }
#f-bandhq .shot:first-child img { max-width: 560px; margin: 0 auto; }
#f-results .shot:first-child img, #f-board .shot:first-child img { max-width: 520px; margin: 0 auto; }
@media (max-width: 900px) {
  .feat, .feat.flip { grid-template-columns: 1fr; gap: 28px; padding: 50px 0; }
  .feat.flip .feat-media { order: 0; }
  .shot.inset, .feat.flip .shot.inset { width: 85%; margin: 18px 0 0 auto; }
}

.cta { text-align: center; padding: 90px 0 100px; border-top: 1px solid var(--line); }
.cta h2 { margin: 0 0 14px; font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.4rem); text-transform: uppercase; }
.cta .lead { margin: 0 auto 28px; }
.foot { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 1240px; margin: 0 auto; padding: 26px 24px 40px; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.9rem; }
.foot .logo { font-size: 1.4rem; }
#f-results .shot.inset { width: 70%; }
#f-results .shot:first-child, #f-board .shot:first-child { display: flex; flex-direction: column; align-items: center; }
#f-results .shot:first-child figcaption, #f-board .shot:first-child figcaption { max-width: 520px; }
@media (max-width: 640px) { .top nav { display: none; } .top { justify-content: space-between; } }

/* the way in: create an account or sign in */
.signin-link { color: var(--muted); font-weight: 700; text-decoration: none; padding: 8px 12px; white-space: nowrap; }
.signin-link:hover { color: var(--ink); }
.cta-small { margin-top: 18px; color: var(--muted); }
.cta-small a { color: var(--ink); font-weight: 700; }
.join { padding: 0; border: 0; background: transparent; color: var(--ink); max-width: 460px; width: calc(100% - 32px); }
.join::backdrop { background: rgba(5, 6, 9, 0.78); backdrop-filter: blur(6px); }
.join-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 28px; background: var(--panel); clip-path: var(--cut);
  box-shadow: inset 0 0 0 1px var(--line); background-image: linear-gradient(135deg, rgba(255, 77, 94, 0.14), transparent 45%); }
.join-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.06); color: var(--ink); font-size: 1.4rem; cursor: pointer; }
.join-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.join-tabs[hidden] { display: none; }
.join-tabs button { flex: 1 1 0; min-height: 44px; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.join-tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--red); }
.join h2 { margin: 4px 0 0; font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1; text-transform: uppercase; }
.join-note { margin: 0; color: var(--muted); font-size: 0.95rem; }
.join-field { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.join-field[hidden] { display: none; }
.join-field input, .join-field select { min-height: 48px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; }
.join-field input:focus, .join-field select:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.join-error { margin: 0; padding: 10px 12px; border-radius: 6px; background: rgba(255, 77, 94, 0.12); color: #ffb3bb; font-size: 0.9rem; }
.join-error[hidden] { display: none; }
.join-go { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.join-go:disabled { opacity: 0.6; }
