:root {
  --ink: #0b0b0c;
  --fog: #f2ede1;
  --mist: #b7b2a6;
  --signal: #d4af37;
  --signal-deep: #b8912b;
  --glow: rgba(212, 175, 55, 0.35);
  --type: "Figtree", sans-serif;
  --display: "Syne", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--type);
  color: var(--ink);
  background: var(--fog);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
}

video {
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }

/* Atmosphere */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 6vw;
  color: var(--fog);
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 22;
}

.nav-mark img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-mark span {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: var(--signal);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 61;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 4px;
  background: rgba(11, 11, 12, 0.55);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fog);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a.ghost,
.nav button.ghost {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.8;
  transition: opacity 0.25s var(--ease), color 0.25s ease;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.nav a.ghost:hover,
.nav button.ghost:hover { opacity: 1; }

.nav a.ghost.active { color: var(--signal); opacity: 1; }

body.nav-locked { overflow: hidden; }

/* Hero — full-bleed visual plane */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--fog);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(165deg, rgba(11, 11, 12, 0.45) 0%, rgba(11, 11, 12, 0.66) 45%, rgba(11, 11, 12, 0.94) 100%),
    url("../media/pit.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 20%, var(--glow), transparent 55%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(197, 207, 199, 0.12), transparent 50%);
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.hero-content {
  width: min(920px, 100%);
  padding: 0 6vw 12vh;
  transform: translateY(30px);
}

.eyebrow {
  font-family: var(--type);
  font-weight: 600;
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s var(--ease) 0.05s forwards;
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4.5rem, 14vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 1.35rem;
  background: linear-gradient(180deg, #f6e6a8 0%, #d4af37 45%, #a9791f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin-bottom: 0.85rem;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease) 0.35s forwards;
}

.pit-wordmark-wrap {
  max-width: none;
  margin-bottom: 1rem;
}

.pit-wordmark {
  display: block;
  width: min(420px, 78vw);
  height: auto;
}

.lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 400;
  color: var(--mist);
  max-width: 34ch;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.9s var(--ease) 0.5s forwards;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.9s var(--ease) 0.65s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.55rem;
  font-family: var(--type);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--signal);
  color: #1a1405;
  font-weight: 700;
}

.btn-primary:hover { background: var(--signal-deep); }

.btn-line {
  background: transparent;
  color: var(--fog);
  border: 1px solid rgba(232, 236, 230, 0.35);
  padding: 0.85rem 1.45rem;
}

.btn-line:hover {
  border-color: rgba(232, 236, 230, 0.7);
  background: rgba(232, 236, 230, 0.06);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Purpose section */
.purpose {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
  color: var(--fog);
}

.purpose-inner {
  max-width: 720px;
}

.purpose h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--signal);
}

.purpose p {
  font-size: 1.125rem;
  color: var(--mist);
  max-width: 42ch;
}

.purpose-rule {
  width: 3rem;
  height: 3px;
  background: var(--signal);
  margin: 2rem 0 0;
  transform-origin: left;
  transform: scaleX(0);
}

.purpose.in-view .purpose-rule {
  animation: draw 0.8s var(--ease) 0.15s forwards;
}

@keyframes draw {
  to { transform: scaleX(1); }
}

/* Arena section */
.arena {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.9) 0%, rgba(11, 11, 12, 0.82) 100%),
    url("../media/pit.jpg") center / cover fixed no-repeat;
  color: var(--fog);
}

.arena-inner {
  max-width: 760px;
}

.arena-eyebrow {
  font-weight: 600;
  font-size: clamp(0.72rem, 1.4vw, 0.85rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.85rem;
}

.arena h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin-bottom: 1rem;
}

.arena-lede {
  font-size: 1.125rem;
  color: var(--mist);
  max-width: 48ch;
  margin-bottom: 1.25rem;
}

.arena-heritage {
  font-size: 1.05rem;
  color: var(--fog);
  max-width: 48ch;
  margin-bottom: 2.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--signal);
}

.arena-heritage strong {
  color: var(--signal);
  font-weight: 700;
}

.arena-marks {
  list-style: none;
  display: grid;
  gap: 1px;
  background: rgba(212, 175, 55, 0.22);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.arena-marks li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 1rem 1.25rem;
  background: rgba(11, 11, 12, 0.72);
  font-size: 0.95rem;
  color: var(--mist);
}

.arena-marks li span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--signal);
  min-width: 8ch;
}

.arena-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin: 2.75rem 0;
  width: 100%;
}

@media (max-width: 640px) {
  .arena-gallery { grid-template-columns: 1fr; }
}

.arena-gallery .arena-figure {
  margin: 0;
  max-width: none;
}

.arena-figure {
  margin: 2.75rem 0 0;
  max-width: 960px;
}

.arena-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.arena-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--mist);
  letter-spacing: 0.02em;
}

.arena-subhead {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  letter-spacing: -0.02em;
  margin: 2.75rem 0 0.6rem;
}

.arena-note {
  color: var(--mist);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 1.5rem;
}

.arena-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.75rem 1.5rem;
  max-width: 820px;
}

.arena-features li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--fog);
  font-size: 1rem;
  line-height: 1.4;
}

.arena-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  transform: rotate(45deg);
  background: var(--signal);
}

/* Page hero — compact banner for interior pages */
.page-hero {
  position: relative;
  padding: clamp(7rem, 16vw, 11rem) 6vw clamp(3rem, 7vw, 5rem);
  color: var(--fog);
  isolation: isolate;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.72) 0%, rgba(11, 11, 12, 0.9) 100%),
    url("../media/pit.jpg") center / cover no-repeat;
}

.page-hero-inner {
  max-width: 820px;
}

.page-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--mist);
  max-width: 52ch;
}

/* Federations grid */
.federations {
  padding: clamp(3.5rem, 8vw, 6rem) 6vw;
  background: linear-gradient(180deg, #141412 0%, #1b1a17 100%);
  color: var(--fog);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.75rem;
}

.section-head .eyebrow {
  animation: none;
  opacity: 1;
  transform: none;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.section-head p {
  color: var(--mist);
  font-size: 1.05rem;
  max-width: 52ch;
}

.fed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.fed-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: rgba(11, 11, 12, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 6px;
  transition: transform 0.35s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.fed-card.is-active:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(20, 20, 18, 0.8);
}

.fed-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.fed-abbr {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--signal);
}

.fed-logo {
  height: 76px;
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
}

.fed-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.fed-status.live {
  color: #0b0b0c;
  background: var(--signal);
}

.fed-status.soon {
  color: var(--mist);
  border: 1px solid rgba(183, 178, 166, 0.4);
}

.fed-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.fed-card p {
  font-size: 0.95rem;
  color: var(--mist);
  margin-bottom: 1.25rem;
}

.fed-members {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.fed-members span {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--fog);
  padding: 0.3rem 0.6rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
}

.fed-link {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--signal);
}

/* Rules page */
.rules {
  padding: clamp(3rem, 7vw, 5rem) 6vw clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, #141412 0%, #1b1a17 60%, #141412 100%);
  color: var(--fog);
}

.rules-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.rules-toc {
  position: sticky;
  top: 90px;
}

.rules-toc h2 {
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
}

.rules-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rules-toc a {
  display: block;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  color: var(--mist);
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rules-toc a:hover {
  color: var(--fog);
  border-color: var(--signal);
  background: rgba(212, 175, 55, 0.08);
}

.rule-section {
  scroll-margin-top: 90px;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.rule-section:last-child { border-bottom: none; margin-bottom: 0; }

.rule-section > h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.rule-section > h2 .num {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b0b0c;
  background: var(--signal);
  border-radius: 4px;
  padding: 0.15em 0.55em;
  flex-shrink: 0;
  transform: translateY(-0.15em);
}

.rule-section h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--signal);
  margin: 1.5rem 0 0.75rem;
}

.rule-section p {
  color: var(--mist);
  max-width: 68ch;
  margin-bottom: 1rem;
}

.rule-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.rule-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--fog);
  line-height: 1.45;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  transform: rotate(45deg);
  background: var(--signal);
}

.rule-list.cols {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 1.5rem;
}

/* Legal / illegal panels */
.rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.rule-panel {
  padding: 1.25rem 1.4rem;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(11, 11, 12, 0.5);
}

.rule-panel h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rule-panel.legal { border-color: rgba(212, 175, 55, 0.4); }
.rule-panel.legal h4 { color: var(--signal); }
.rule-panel.legal h4::before { content: "\2713"; }

.rule-panel.illegal { border-color: rgba(190, 90, 70, 0.45); background: rgba(40, 16, 14, 0.35); }
.rule-panel.illegal h4 { color: #e08a76; }
.rule-panel.illegal h4::before { content: "\2717"; }

.rule-panel ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.rule-panel li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: var(--fog);
}

.rule-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* Format table */
.format-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 0.98rem;
}

.format-table th,
.format-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.format-table th {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}

.format-table td:first-child {
  font-weight: 600;
  color: var(--fog);
}

.format-table td { color: var(--mist); }

.format-table tr:hover td { background: rgba(212, 175, 55, 0.05); }

/* Division strike cards */
.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.division-card {
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 6px;
  background: rgba(11, 11, 12, 0.5);
}

.division-card h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fog);
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.division-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.4rem;
}

.division-card ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.division-card li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.92rem;
  color: var(--mist);
}

.division-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  background: var(--signal);
  opacity: 0.6;
}

.rule-principle {
  padding: 1.75rem;
  border-left: 3px solid var(--signal);
  background: rgba(212, 175, 55, 0.06);
  border-radius: 0 6px 6px 0;
}

.rule-principle strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--signal);
  margin-bottom: 0.75rem;
}

.rule-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0.5rem;
}

.rule-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.25rem;
  color: var(--fog);
  line-height: 1.5;
}

.rule-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0b0b0c;
  background: var(--signal);
  border-radius: 50%;
}

@media (max-width: 860px) {
  .rules-layout { grid-template-columns: 1fr; }
  .rules-toc {
    position: static;
    top: auto;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  }
  .rules-toc ol {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .rules-toc a { border-left: none; border: 1px solid rgba(212, 175, 55, 0.2); border-radius: 4px; }
}

/* Auth / portal login pages */
.auth-page {
  position: relative;
  min-height: calc(100svh - 61px);
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 6vw;
  isolation: isolate;
  color: var(--fog);
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.82) 0%, rgba(11, 11, 12, 0.94) 100%),
    url("../media/pit.jpg") center / cover no-repeat;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: rgba(11, 11, 12, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.auth-logo {
  display: block;
  height: 64px;
  width: auto;
  margin: 0 auto 1.1rem;
}

.auth-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0b0b0c;
  background: var(--signal);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.9rem;
}

.auth-badge.media {
  color: var(--signal);
  background: transparent;
  border: 1px solid var(--signal);
}

.auth-card h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.auth-sub {
  color: var(--mist);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.auth-card .field { margin-bottom: 1.1rem; }

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.25rem 0 1.4rem;
  font-size: 0.85rem;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--mist);
  cursor: pointer;
}

.auth-remember input { accent-color: var(--signal); }

.auth-link { color: var(--signal); font-weight: 600; }

.auth-card .btn { width: 100%; }

.auth-switch {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  font-size: 0.88rem;
  color: var(--mist);
  text-align: center;
}

.auth-switch a { color: var(--signal); font-weight: 600; }

.auth-portals {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--mist);
  text-align: center;
}
.auth-portals a { color: var(--signal); font-weight: 600; }

.hero-login-note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--mist);
}
.hero-login-note a { color: var(--signal); font-weight: 600; }

.auth-home {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--mist);
}

.footer-portals { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-portals a { color: var(--mist); transition: color 0.2s ease; }
.footer-portals a:hover { color: var(--signal); }

/* Championship Week page */
.champ {
  padding: clamp(3rem, 7vw, 5rem) 6vw clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, #141412 0%, #1b1a17 60%, #141412 100%);
  color: var(--fog);
}

.champ-inner { max-width: 1100px; margin: 0 auto; }

.champ-block { margin-bottom: clamp(3rem, 7vw, 5rem); }

.champ-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.champ-type {
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background: rgba(11, 11, 12, 0.5);
}

.champ-type .step {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}

.champ-type h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  margin: 0.35rem 0 0.5rem;
}

.champ-type p { color: var(--mist); font-size: 0.95rem; }

.champ-advance {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--signal);
  background: rgba(212, 175, 55, 0.07);
  border-radius: 0 6px 6px 0;
  color: var(--fog);
}

/* Day schedule */
.day-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

.day-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  background: rgba(11, 11, 12, 0.5);
}

.day-card.rest { background: rgba(212, 175, 55, 0.05); }

.day-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.day-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #0b0b0c;
  background: var(--signal);
  border-radius: 4px;
  padding: 0.2em 0.6em;
  white-space: nowrap;
}

.day-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.day-card > p { color: var(--mist); font-size: 0.92rem; margin-bottom: 0.75rem; }

.day-card ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.day-card li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--fog);
}

.day-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--signal);
}

.day-outcome {
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--signal);
  font-weight: 600;
}

/* Prizes */
.belt-figure {
  margin: 0 0 1.75rem;
}

.belt-figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.belt-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--mist);
  text-align: center;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 1.1rem;
}

.prize-card {
  text-align: center;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background: rgba(11, 11, 12, 0.5);
}

.prize-ico { font-size: 2rem; display: block; margin-bottom: 0.6rem; }

.prize-card h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fog);
}

/* Athlete pathway */
.pathway {
  list-style: none;
  counter-reset: path;
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.pathway li {
  text-align: center;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 6px;
  background: rgba(11, 11, 12, 0.5);
  font-weight: 600;
  color: var(--fog);
}

.pathway li:not(:last-child)::after {
  content: "\2193";
  display: block;
  margin: 0.5rem auto;
  color: var(--signal);
  font-size: 1.2rem;
  font-weight: 700;
}

.pathway li.peak {
  border-color: var(--signal);
  background: rgba(212, 175, 55, 0.12);
  color: var(--signal);
  font-family: var(--display);
  font-weight: 800;
}

/* Motto */
.champ-motto {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.12) 0%, rgba(11, 11, 12, 0.5) 70%);
}

.champ-motto p {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--signal);
  line-height: 1.2;
}

/* Fighters page */
.fighters {
  padding: clamp(3rem, 7vw, 5rem) 6vw clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, #141412 0%, #1b1a17 60%, #141412 100%);
  color: var(--fog);
}

.fighters-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.fighters-block { margin-bottom: clamp(3rem, 7vw, 5rem); }

.division-table td:nth-child(2),
.division-table td:nth-child(3) { color: var(--mist); }

.champion-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.12) 0%, rgba(11, 11, 12, 0.5) 60%);
}

.champion-medal {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  border-radius: 50%;
  background: var(--signal);
  color: #0b0b0c;
}

.champion-belt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.2rem;
}

.champion-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: -0.01em;
}

.champion-meta {
  font-size: 0.9rem;
  color: var(--mist);
  margin-top: 0.15rem;
}

.rank-table td .pos {
  font-family: var(--display);
  font-weight: 800;
  color: var(--signal);
}

.rank-table td:last-child { color: var(--mist); }

.rank-empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--mist);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 6px;
}

/* Events page */
.events {
  padding: clamp(3rem, 7vw, 5rem) 6vw clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, #141412 0%, #1b1a17 60%, #141412 100%);
  color: var(--fog);
}

.events-inner { max-width: 1000px; margin: 0 auto; }

.events-block { margin-bottom: clamp(3rem, 7vw, 5rem); }

.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.event-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 8px;
  background: rgba(11, 11, 12, 0.5);
}

.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.event-date {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--signal);
}

.event-type {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid rgba(183, 178, 166, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
}

.event-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.event-card .event-org { font-size: 0.9rem; color: var(--mist); margin-bottom: 0.75rem; }

.event-card .event-meta {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--fog);
}

.events-empty {
  padding: 2rem;
  text-align: center;
  color: var(--mist);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: 8px;
}

.event-form-wrap {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  background: rgba(11, 11, 12, 0.5);
}

.event-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.1) 0%, rgba(11, 11, 12, 0.5) 65%);
}

.event-cta h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0.2rem 0 0.5rem;
}

.event-cta p { color: var(--mist); max-width: 52ch; }
.event-cta .btn { flex-shrink: 0; }

.signed-in-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 6px;
  background: rgba(11, 11, 12, 0.5);
  font-size: 0.9rem;
  color: var(--mist);
}

.signed-in-bar strong { color: var(--fog); }

.linklike {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

/* Dashboards */
.dash {
  min-height: calc(100svh - 61px);
  padding: clamp(2.5rem, 6vw, 4.5rem) 6vw clamp(4rem, 8vw, 6rem);
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(180deg, #10100f 0%, #171614 55%, #10100f 100%);
  color: var(--fog);
}

.dash-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.dash-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.dash-top h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.4rem;
}

.dash-meta {
  color: var(--mist);
  font-size: 0.95rem;
}

.dash-meta strong { color: var(--fog); }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.dash-card {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 10px;
  background: rgba(11, 11, 12, 0.45);
}

.dash-card h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--signal);
}

.dash-dl {
  display: grid;
  gap: 0.75rem;
}

.dash-dl > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.dash-dl dt {
  color: var(--mist);
  font-size: 0.88rem;
}

.dash-dl dd {
  font-weight: 600;
}

.dash-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dash-actions .btn {
  text-align: center;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  color: var(--fog);
  background: transparent;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--signal);
  background: rgba(212, 175, 55, 0.08);
}

@media (max-width: 760px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-dl > div { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* Registration page */
.register {
  padding: clamp(3rem, 7vw, 5rem) 6vw clamp(4rem, 9vw, 7rem);
  background: linear-gradient(180deg, #141412 0%, #1b1a17 60%, #141412 100%);
  color: var(--fog);
}

.reg-inner {
  max-width: 920px;
  margin: 0 auto;
}

.reg-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.reg-tab {
  font-family: var(--type);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mist);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.85rem 1.1rem;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.reg-tab:hover { color: var(--fog); }

.reg-tab.active {
  color: var(--signal);
  border-color: var(--signal);
}

.reg-form { display: none; }
.reg-form.active { display: block; animation: rise 0.4s var(--ease) forwards; }

.reg-form h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.reg-form > p {
  color: var(--mist);
  max-width: 60ch;
  margin-bottom: 1.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fog);
}

.field label .req { color: var(--signal); }

.field input,
.field select,
.field textarea {
  font-family: var(--type);
  font-size: 1rem;
  color: var(--fog);
  background: rgba(11, 11, 12, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 5px;
  padding: 0.75rem 0.85rem;
  min-height: 44px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea { resize: vertical; min-height: 96px; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(183, 178, 166, 0.55); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.field select option { background: #141412; color: var(--fog); }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--mist);
  max-width: 42ch;
}

.form-status {
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 5px;
  font-size: 0.95rem;
  display: none;
}

.form-status.show { display: block; }

.form-status.success {
  color: var(--signal);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.form-status.error {
  color: #e08a76;
  background: rgba(40, 16, 14, 0.4);
  border: 1px solid rgba(190, 90, 70, 0.45);
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Live stream — same dark band language as .purpose */
.live-stream {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
  color: var(--fog);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.live-stream .eyebrow {
  animation: none;
  opacity: 1;
  transform: none;
  color: var(--signal);
  margin-bottom: 0.85rem;
}

.live-stream h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--signal);
}

.live-inner {
  max-width: 1430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.live-lede {
  color: var(--mist);
  font-size: 1.125rem;
  max-width: 42ch;
  margin-bottom: 1.25rem;
}

.live-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.stream-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.stream-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--mist);
}

.stream-badge[data-state="ready"] {
  color: var(--signal);
  border-color: rgba(212, 175, 55, 0.55);
}

.stream-badge[data-state="ready"]::before {
  background: #e23b3b;
  box-shadow: 0 0 0 3px rgba(226, 59, 59, 0.25);
}

.stream-channel {
  color: var(--mist);
  font-size: 0.9rem;
}

.live-note {
  margin-top: 1.25rem;
  color: var(--mist);
  font-size: 1.05rem;
  max-width: 42ch;
  line-height: 1.5;
}

.live-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  min-height: 44px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--fog);
  background: rgba(11, 11, 12, 0.45);
  font-family: var(--type);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-btn:hover {
  border-color: var(--signal);
  background: rgba(212, 175, 55, 0.1);
  color: var(--signal);
}

.social-ico {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.live-player {
  min-width: 0;
}

.live-stream .btn-line {
  color: var(--fog);
  border-color: rgba(232, 236, 230, 0.35);
}

.stream-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border: 1px solid rgba(212, 175, 55, 0.22);
  overflow: hidden;
}

.stream-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.stream-frame[data-state="live"] .stream-mount {
  opacity: 1;
  pointer-events: auto;
}

.stream-mount iframe,
.stream-mount > div {
  width: 100% !important;
  height: 100% !important;
}

.stream-offline {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 0.45rem;
  padding: 1.75rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(212, 175, 55, 0.14), transparent 68%),
    linear-gradient(180deg, #121210 0%, #0a0a0a 100%);
}

.stream-offline[hidden] {
  display: none !important;
}

.stream-offline-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal);
}

.stream-offline-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: var(--fog);
}

.stream-offline-copy {
  color: var(--mist);
  font-size: 0.95rem;
  max-width: 34ch;
  margin: 0.25rem auto 0;
  line-height: 1.5;
}

.stream-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.stream-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(212, 175, 55, 0.12), transparent 70%),
    #0a0a0a;
}

.stream-placeholder-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--signal);
}

.stream-placeholder p {
  color: var(--mist);
  font-size: 0.95rem;
  max-width: 32ch;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .live-inner {
    grid-template-columns: 1fr;
  }
}

/* Sponsors — same dark band language as .purpose / .live-stream */
.sponsors {
  padding: clamp(4.5rem, 10vw, 7.5rem) 6vw;
  background:
    linear-gradient(180deg, #141412 0%, #1b1a17 55%, #141412 100%);
  color: var(--fog);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.sponsors-inner {
  max-width: 760px;
}

.sponsors .eyebrow {
  margin-bottom: 0.85rem;
  animation: none;
  opacity: 1;
  transform: none;
  color: var(--signal);
}

.sponsors h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: var(--signal);
}

.sponsors-lede {
  font-size: 1.125rem;
  color: var(--mist);
  max-width: 42ch;
  margin-bottom: 2rem;
}

.sponsor-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.sponsor-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.sponsor-list a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.sponsor-list img {
  display: block;
  width: 210px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.sponsor-list strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--signal);
  margin-bottom: 0.2rem;
}

.sponsor-list span {
  display: block;
  color: var(--mist);
  font-size: 0.95rem;
  max-width: 42ch;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .sponsor-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Closing CTA */
.close {
  position: relative;
  padding: clamp(5rem, 12vw, 8rem) 6vw;
  background: var(--ink);
  color: var(--fog);
  overflow: hidden;
}

.close::before {
  content: "";
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  right: -18%;
  top: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}

.close-inner {
  position: relative;
  max-width: 640px;
}

.close h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.85rem;
}

.close p {
  color: var(--mist);
  font-size: 1.1rem;
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.close-cta {
  opacity: 1;
  transform: none;
  animation: none;
  margin-bottom: 1.25rem;
}

.close-contact {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.close-contact a {
  color: var(--signal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.close-contact a:hover {
  color: var(--fog);
}

/* Footer */
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 6vw;
  background: #0a0e0c;
  color: var(--mist);
  font-size: 0.85rem;
}

footer strong {
  font-family: var(--display);
  letter-spacing: 0.14em;
  color: var(--fog);
  font-weight: 700;
}

@media (max-width: 1100px), ((hover: none) and (pointer: coarse)) {
  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 21;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: max(5.5rem, calc(env(safe-area-inset-top, 0px) + 4.5rem)) 7vw max(2.5rem, env(safe-area-inset-bottom, 0px));
    background: rgba(11, 11, 12, 0.97);
    border: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.3s ease, visibility 0.3s;
  }

  .nav-open .nav-links {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 60;
  }

  .nav-links a.ghost,
  .nav-links button.ghost {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 1rem 0;
    min-height: 48px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    opacity: 1;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
  }

  .nav-mark span { font-size: 0.92rem; }
  .nav-mark img { height: 38px; }

  .live-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .arena-gallery {
    grid-template-columns: 1fr;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 3.5rem 5vw 2.75rem;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .format-table,
  .division-table,
  .rank-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-portals {
    width: 100%;
  }

  .close-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .close-cta .btn {
    width: 100%;
  }

  .sponsor-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .auth-page {
    padding: 3rem 5vw;
    min-height: calc(100svh - 61px);
  }

  .auth-card {
    width: min(100%, 440px);
    padding: 1.75rem 1.35rem;
  }

  .reg-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .reg-tab {
    flex: 1 1 auto;
    text-align: center;
    min-height: 44px;
  }

  .division-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-inner p {
    max-width: none;
  }

  .dash-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-top .btn {
    width: 100%;
  }

  .event-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .event-cta .btn {
    width: 100%;
  }

  .dash-dl > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .live-inner,
  .sponsors-inner,
  .events-inner,
  .champ-inner,
  .reg-inner {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .rules-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav {
    padding: 0.65rem max(4.5vw, env(safe-area-inset-right, 0px)) 0.65rem max(4.5vw, env(safe-area-inset-left, 0px));
  }
  .hero-content {
    padding: 0 max(5vw, env(safe-area-inset-left, 0px)) max(9vh, env(safe-area-inset-bottom, 0px));
  }
  .brand { font-size: clamp(2.8rem, 15vw, 4.8rem); }
  .pit-wordmark { width: min(300px, 88vw); }
  .cta-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
    min-height: 48px;
  }
  .purpose,
  .arena,
  .close,
  .sponsors,
  .live-stream,
  .federations,
  .champ,
  .register,
  .events,
  .rules,
  .fighters,
  .dash {
    padding-left: max(5vw, env(safe-area-inset-left, 0px));
    padding-right: max(5vw, env(safe-area-inset-right, 0px));
  }
  .arena { background-attachment: scroll; }
  .live-lede,
  .purpose p,
  .arena-lede,
  .sponsors-lede {
    max-width: none;
  }
  .stream-frame {
    border-radius: 0;
  }
  .belt-figure img {
    width: 100%;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .eyebrow, .brand, .headline, .lede, .cta-row {
    opacity: 1;
    transform: none;
  }
  .purpose-rule { transform: scaleX(1); }
  .hero-media { transform: none; }
}
