:root {
  --navy: #0b1f3b;
  --red: #e10600;
  --white: #ffffff;
  --light: #f4f6f8;
  --text: #1b1b1b;
  --muted: #6b7280;
  --green: #1f8f4e;
  --line: #d9e0e8;
  --surface: #ffffff;
  --surface-soft: #eef2f6;
  --radius: 12px;
  --shadow-soft: 0 10px 30px rgba(11, 31, 59, 0.08);
  --shadow-card: 0 14px 34px rgba(11, 31, 59, 0.12);
  --container: 1200px;
  --ease: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--light);
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(225, 6, 0, 0.08), transparent 32%),
    linear-gradient(180deg, #f7f9fb 0%, #f4f6f8 100%);
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section-tight {
  padding: 40px 0;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--red);
  border-radius: 999px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
}

h1,
.display {
  font-family: "Bebas Neue", "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3rem, 9vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.1;
}

h4 {
  font-size: 22px;
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.lede {
  max-width: 62ch;
  font-size: 18px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition:
    transform var(--ease),
    background-color var(--ease),
    border-color var(--ease),
    color var(--ease),
    box-shadow var(--ease);
}

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

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: var(--shadow-card);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #c80500;
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--navy);
}

.btn-dark {
  color: var(--white);
  background: var(--navy);
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: #061327;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 800;
}

.link-arrow::after {
  content: ">";
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(31, 143, 78, 0.12);
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(217, 224, 232, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid rgba(11, 31, 59, 0.1);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.brand img {
  height: 34px;
  width: auto;
  max-width: min(60vw, 300px);
  object-fit: contain;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
}

.site-nav {
  position: absolute;
  top: calc(100% + 8px);
  left: 16px;
  right: 16px;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: var(--surface-soft);
}

.nav-cta {
  margin-top: 6px;
}

.hero {
  padding: 32px 0 64px;
}

.hero-grid {
  display: grid;
  gap: 24px;
}

.hero-copy {
  display: grid;
  gap: 16px;
}

.hero-copy h1 {
  max-width: 11ch;
}

.hero-actions {
  margin-top: 8px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.stat-card,
.card,
.surface-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 16px;
}

.stat-card strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(11, 31, 59, 0.98), rgba(17, 48, 90, 0.96)),
    linear-gradient(180deg, rgba(225, 6, 0, 0.18), transparent);
  box-shadow: 0 24px 50px rgba(11, 31, 59, 0.24);
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
}

.hero-panel::before {
  width: 360px;
  height: 360px;
  right: -110px;
  top: -100px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.32), transparent 68%);
}

.hero-panel::after {
  width: 280px;
  height: 280px;
  left: -80px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
}

.hero-panel-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  height: 100%;
}

.hero-scoreboard {
  display: grid;
  gap: 16px;
}

.hero-logo-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.hero-logo-panel img {
  height: clamp(38px, 6vw, 52px);
  width: auto;
}

.hero-card {
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.hero-card p,
.hero-card span,
.hero-card h3,
.hero-card strong {
  color: var(--white);
}

.match-banner {
  display: grid;
  gap: 8px;
}

.match-pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(31, 143, 78, 0.2);
  color: #bff4d2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.team-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.team-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-mini-grid,
.grid-2,
.grid-3,
.grid-4,
.table-grid,
.story-grid,
.gallery-grid {
  display: grid;
  gap: 16px;
}

.card,
.surface-card {
  padding: 20px;
}

.card h3,
.card h4,
.surface-card h3,
.surface-card h4 {
  margin-bottom: 8px;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgba(225, 6, 0, 0.1);
  color: var(--red);
  font-weight: 800;
}

.step-row {
  display: grid;
  gap: 12px;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.league-highlight {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--white);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(11, 31, 59, 1), rgba(17, 48, 90, 0.94)),
    rgba(11, 31, 59, 1);
  box-shadow: var(--shadow-card);
}

.league-highlight h2,
.league-highlight h3,
.league-highlight p,
.league-highlight strong {
  color: var(--white);
}

.number-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.number-ribbon .stat-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.number-ribbon .stat-card strong,
.number-ribbon .stat-card p {
  color: var(--white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.metric-panel {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.metric-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
}

.match-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.match-meta,
.row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.versus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.versus-team {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.versus-team.align-right {
  justify-items: end;
  text-align: right;
}

.team-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--navy);
  background: var(--surface-soft);
  font-size: 18px;
  font-weight: 800;
}

.vs-pill {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(225, 6, 0, 0.08);
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.table-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 15px;
}

th {
  color: var(--navy);
  background: #f8fafc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.tab-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab,
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.tab.is-active,
.filter-chip.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.split-panel {
  display: grid;
  gap: 20px;
}

.bracket,
.flow-diagram {
  display: grid;
  gap: 16px;
}

.flow-line {
  display: grid;
  gap: 12px;
}

.flow-node {
  position: relative;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.flow-node::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -16px;
  width: 2px;
  height: 16px;
  background: rgba(11, 31, 59, 0.18);
}

.flow-node:last-child::after {
  display: none;
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-tile {
  min-height: 180px;
  padding: 18px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(11, 31, 59, 0.06), rgba(11, 31, 59, 0.2)),
    linear-gradient(135deg, rgba(225, 6, 0, 0.16), rgba(11, 31, 59, 0.08));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.story-card,
.sponsor-card,
.team-card {
  display: grid;
  gap: 12px;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  color: var(--navy);
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

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

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

.registration-card {
  display: grid;
  gap: 24px;
}

.registration-head {
  display: grid;
  gap: 8px;
}

.registration-head h2 {
  margin: 0;
}

.registration-head p {
  margin: 0;
  color: var(--muted);
}

.registration-table td {
  vertical-align: middle;
}

.registration-table td:first-child {
  width: 64px;
  font-weight: 800;
  color: var(--navy);
}

.registration-table input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
}

.site-footer {
  margin-top: 40px;
  padding: 40px 0;
  color: var(--white);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-logo-box {
  display: inline-flex;
  width: fit-content;
  padding: 12px 14px;
  background: var(--white);
  border-radius: 12px;
}

.footer-logo-box img {
  height: 32px;
  width: auto;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links strong {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a,
.footer-brand p,
.footer-meta {
  color: rgba(255, 255, 255, 0.76);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.page-hero {
  padding: 32px 0 24px;
}

.page-hero-box {
  display: grid;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.page-hero-grid {
  display: grid;
  gap: 20px;
}

.hero-side-card {
  padding: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #123161);
  border-radius: 16px;
}

.hero-side-card h3,
.hero-side-card p {
  color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 760px) {
  .section {
    padding: 80px 0;
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .metrics-grid,
  .logo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-grid,
  .split-panel,
  .page-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: start;
  }

  .table-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .header-bar {
    min-height: 96px;
  }

  .menu-toggle {
    display: none;
  }

  .brand-lockup {
    padding: 9px 16px;
  }

  .brand img {
    height: 44px;
    max-width: 310px;
  }

  .site-nav {
    position: static;
    display: flex;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 10px 12px;
    font-size: 14px;
  }

  .nav-cta {
    margin-top: 0;
    margin-left: 10px;
  }

  .hero-panel {
    min-height: 520px;
    padding: 28px;
  }

  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
