:root {
  color-scheme: dark;
  --ink: #f2efe8;
  --muted: #a6aaa3;
  --surface: #111412;
  --surface-2: #181c19;
  --line: rgba(242, 239, 232, 0.16);
  --live: #ef3434;
  --pitch: #9dcf78;
  --black: #080a09;
  --max: 1240px;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 100% 64px,
    var(--black);
  color: var(--ink);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--pitch);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 9, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-mark {
  width: 24px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  font-size: 11px;
  letter-spacing: 0;
}

.brand-name-short {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 5px rgba(239, 52, 52, 0.12);
}

.home-main {
  padding-block: clamp(72px, 11vw, 150px) 68px;
}

.hero-kicker,
.section-kicker,
.broadcast-eyebrow {
  margin: 0 0 22px;
  color: var(--pitch);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 950px;
  margin: 0;
  font-size: clamp(48px, 9.4vw, 124px);
  font-weight: 650;
  letter-spacing: -0.066em;
  line-height: 0.87;
  text-wrap: balance;
}

.hero-title span {
  color: var(--muted);
}

.fixture-section {
  padding-block: 36px 96px;
}

.section-heading-row {
  padding-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.section-title {
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.section-count {
  color: var(--muted);
  font-size: 13px;
}

.fixture-card {
  position: relative;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42%;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.fixture-card:hover .fixture-image {
  transform: scale(1.025);
  filter: saturate(0.92) brightness(0.7);
}

.fixture-card:hover .fixture-arrow {
  transform: translateX(5px);
}

.fixture-content {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 5vw, 62px) clamp(20px, 5vw, 64px) clamp(30px, 5vw, 62px) 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
}

.status-line,
.fixture-meta,
.fixture-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.match-status {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 0 9px;
  background: rgba(242, 239, 232, 0.08);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.match-status[data-stage="first-half"],
.match-status[data-stage="second-half"],
.match-status[data-stage="replay"] {
  background: var(--live);
}

.match-status[data-stage="half-time"] {
  background: var(--ink);
  color: var(--black);
}

.match-countdown {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

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

.team {
  display: flex;
  align-items: center;
  gap: 16px;
}

.team:last-child {
  justify-content: flex-end;
  text-align: right;
}

.crest {
  flex: 0 0 48px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 239, 232, 0.4);
  border-radius: 24px 24px 18px 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.team-name {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 620;
  letter-spacing: -0.035em;
}

.versus {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.fixture-meta {
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.meta-divider {
  width: 1px;
  height: 12px;
  background: var(--line);
}

.fixture-cta {
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
}

.fixture-arrow {
  display: inline-block;
  font-size: 19px;
  transition: transform 180ms ease;
}

.fixture-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: var(--surface);
}

.fixture-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.62);
  transition: transform 500ms ease, filter 500ms ease;
}

.fixture-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--black), transparent 30%);
}

.site-footer {
  padding-block: 28px 44px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}

.footer-disclaimer {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(16px, 2.3vw, 23px);
  letter-spacing: -0.02em;
}

.live-main {
  padding-block: clamp(24px, 4vw, 54px) 76px;
}

.live-topline {
  margin-bottom: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.live-title {
  margin: 0;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 620;
  letter-spacing: -0.045em;
}

.live-competition {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.live-status-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050605;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.player-shell:fullscreen,
.player-shell:-webkit-full-screen {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: #000;
}

.player-shell:fullscreen video,
.player-shell:-webkit-full-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player-shell[data-stage="upcoming"] video,
.player-shell[data-stage="half-time"] video,
.player-shell[data-stage="full-time"] video {
  filter: saturate(0.4) brightness(0.3);
}

.broadcast-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: clamp(24px, 6vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(0deg, rgba(5, 6, 5, 0.84), rgba(5, 6, 5, 0.08) 72%);
}

.broadcast-overlay[hidden] {
  display: none;
}

.broadcast-overlay::before {
  content: "";
  width: 54px;
  height: 2px;
  margin-bottom: 26px;
  background: var(--live);
}

.broadcast-eyebrow {
  margin-bottom: 12px;
}

.broadcast-title {
  margin: 0;
  max-width: 780px;
  font-size: clamp(42px, 8vw, 102px);
  font-weight: 620;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.broadcast-detail {
  max-width: 620px;
  margin: 20px 0 0;
  color: #d4d5cf;
  font-size: clamp(14px, 2vw, 19px);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.player-progress {
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.player-progress-fill {
  width: 0;
  height: 100%;
  background: var(--live);
  transition: width 1s linear;
}

.player-actions {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: rgba(5, 6, 5, 0.72);
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.player-button:hover {
  background: var(--ink);
  color: var(--black);
}

.match-strip {
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.match-strip .team-name {
  font-size: clamp(18px, 3vw, 34px);
}

.match-strip .team:last-child {
  flex-direction: row-reverse;
}

.event-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.broadcast-info {
  padding-top: 34px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
}

.info-title {
  margin: 0;
  max-width: 680px;
  font-size: clamp(25px, 4vw, 46px);
  font-weight: 560;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.info-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.info-row {
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.info-row dt {
  color: var(--muted);
}

.info-row dd {
  margin: 0;
  text-align: right;
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav {
    min-height: 68px;
  }

  .brand {
    font-size: 12px;
  }

  .brand-name-full {
    display: none;
  }

  .brand-name-short {
    display: inline;
  }

  .nav-link {
    padding-inline: 10px;
    font-size: 12px;
  }

  .nav-link:first-child {
    display: none;
  }

  .home-main {
    padding-top: 76px;
  }

  .fixture-card {
    grid-template-columns: 1fr;
  }

  .fixture-content {
    padding-right: 0;
  }

  .fixture-visual {
    order: -1;
    min-height: 220px;
  }

  .fixture-visual::after {
    background: linear-gradient(0deg, var(--black), transparent 45%);
  }

  .teams,
  .match-strip {
    gap: 12px;
  }

  .team {
    gap: 9px;
  }

  .crest {
    flex-basis: 38px;
    height: 46px;
  }

  .team-name {
    font-size: 17px;
  }

  .footer-inner,
  .live-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .player-shell {
    width: calc(100% + 28px);
    margin-left: -14px;
  }

  .player-actions {
    top: 10px;
    right: 10px;
  }

  .player-button {
    min-height: 44px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .broadcast-overlay {
    padding: 24px;
  }

  .broadcast-info {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .match-strip {
    padding-block: 22px;
  }

  .match-strip .team {
    flex-direction: column;
    text-align: left;
  }

  .match-strip .team:last-child {
    flex-direction: column;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
