:root {
  --navy: #061a2d;
  --navy-2: #08243c;
  --ink: #111827;
  --muted: #657085;
  --line: #e4e8ef;
  --gold: #d8a83f;
  --gold-2: #f1cf74;
  --paper: #f7f8fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--white);
  background: rgba(4, 20, 36, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.topbar,
.navbar,
.overview,
.content-grid,
.feature-row,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.socials {
  display: flex;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.live-link {
  padding: 8px 14px;
  color: #102033;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-radius: 6px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
  text-transform: uppercase;
}

.brand strong {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.brand em {
  color: var(--gold-2);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  padding: 12px 0;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover {
  color: var(--gold-2);
  border-color: var(--gold);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 420px);
  align-items: center;
  min-height: 560px;
  padding: 72px max(32px, calc((100vw - 1180px) / 2)) 86px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3, 16, 31, 0.96), rgba(5, 24, 43, 0.72) 52%, rgba(3, 16, 31, 0.58)),
    url("b420b70b-13c4-4977-8af0-77a3e0884774.png") center top / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(0deg, rgba(3, 16, 31, 0.78), transparent);
}

.hero-copy,
.hero-trophy {
  position: relative;
  z-index: 1;
}

.kicker,
.values {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
}

.kicker {
  color: var(--gold-2);
}

.hero h1 {
  width: min(680px, 100%);
  margin: 18px 0 0;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.season {
  margin: 10px 0 12px;
  color: var(--gold);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.button.primary {
  color: #152236;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.button.ghost {
  color: var(--white);
  background: rgba(5, 21, 38, 0.44);
}

.hero-trophy {
  justify-self: center;
  width: min(330px, 70vw);
  aspect-ratio: 0.82;
  display: grid;
  place-items: center;
  color: #14233a;
  background:
    radial-gradient(circle at 50% 18%, #fff4bd 0 10%, transparent 11%),
    linear-gradient(145deg, #f6db83 0%, #c78f28 46%, #8f5c12 100%);
  border: 9px solid rgba(255, 236, 165, 0.65);
  border-radius: 34% 34% 42% 42%;
  box-shadow:
    inset 0 20px 55px rgba(255, 255, 255, 0.32),
    inset 0 -38px 58px rgba(75, 42, 5, 0.34),
    0 28px 34px rgba(0, 0, 0, 0.55);
}

.hero-trophy::before,
.hero-trophy::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 35%;
  top: 19%;
  border: 8px solid #d9aa42;
  border-radius: 50%;
}

.hero-trophy::before {
  right: 82%;
  border-right: 0;
}

.hero-trophy::after {
  left: 82%;
  border-left: 0;
}

.hero-trophy span {
  max-width: 170px;
  color: #16233a;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.28);
}

.overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  transform: translateY(-42px);
}

.overview article,
.panel,
.feature-row article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

.overview article {
  padding: 24px;
}

.overview strong {
  display: block;
  color: var(--navy);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 3rem;
  line-height: 0.9;
}

.overview span {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 0.95fr;
  gap: 18px;
  margin-top: -18px;
}

.panel {
  min-width: 0;
  padding: 18px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  text-transform: uppercase;
}

.section-heading a,
.feature-row a {
  color: #0b385d;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.match-date {
  padding: 10px;
  color: var(--white);
  background: var(--navy);
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.match {
  display: grid;
  grid-template-columns: 58px 56px 1fr 42px 1fr;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.match time {
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.match time strong {
  display: block;
  font-size: 1.35rem;
}

.match span,
.match b {
  font-weight: 900;
}

.match em {
  display: grid;
  place-items: center;
  min-height: 28px;
  color: #172338;
  background: var(--gold-2);
  border-radius: 4px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 390px;
  font-size: 0.84rem;
}

th {
  color: var(--muted);
  background: #f0f3f7;
  font-size: 0.72rem;
  text-transform: uppercase;
}

th,
td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

td:nth-child(1),
td:nth-child(3),
td:nth-child(4),
td:nth-child(5),
th:nth-child(1),
th:nth-child(3),
th:nth-child(4),
th:nth-child(5) {
  text-align: center;
}

td:nth-child(2),
td:nth-child(4) {
  font-weight: 900;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-list article {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
}

.news-list img {
  width: 96px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.news-list h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.16rem;
  text-transform: uppercase;
}

.news-list p {
  margin: 0;
  color: #334155;
  font-size: 0.84rem;
  line-height: 1.55;
}

.full-fixture {
  padding: 52px max(24px, calc((100vw - 1180px) / 2));
  background: #eef2f6;
}

.fixture-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.fixture-header h2 {
  margin: 8px 0 0;
  color: var(--navy);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 2.4rem;
  text-transform: uppercase;
}

.fixture-intro {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.fixture-actions {
  display: flex;
  gap: 10px;
}

.fixture-actions .ghost {
  color: var(--navy);
  background: transparent;
}

.fixture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.fixture-round {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d8dee8;
  border-radius: 8px;
}

.fixture-round.current-round {
  border: 2px solid var(--gold);
  box-shadow: 0 10px 28px rgba(6, 26, 45, 0.12);
}

.fixture-round > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 16px;
  color: var(--white);
  background: var(--navy);
}

.fixture-round > header span {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.fixture-round > header b {
  padding: 5px 8px;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 4px;
  font-size: 0.67rem;
  text-transform: uppercase;
}

.round-matches {
  padding: 6px 16px 10px;
}

.fixture-match {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid var(--line);
}

.fixture-match:last-child {
  border-bottom: 0;
}

.fixture-match time {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.fixture-match time strong {
  color: var(--navy);
  font-size: 1rem;
}

.fixture-clubs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
}

.fixture-clubs i {
  display: grid;
  width: 28px;
  height: 24px;
  place-items: center;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 4px;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.fixture-team {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.fixture-team:last-child {
  text-align: right;
}

.fixture-team:hover {
  color: #a87913;
  text-decoration: underline;
}

.teams-band {
  margin-top: 46px;
  padding: 42px max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 23, 40, 0.98), rgba(5, 31, 52, 0.96)),
    url("b420b70b-13c4-4977-8af0-77a3e0884774.png") center / cover;
}

.section-heading.inverted h2 {
  color: var(--gold-2);
}

.section-heading.inverted a {
  color: var(--white);
}

.teams {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.team-card {
  position: relative;
  min-height: 220px;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  scroll-margin-top: 130px;
}

.team-card:target {
  background: rgba(241, 207, 116, 0.14);
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(241, 207, 116, 0.18);
}

.team-card span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.team-card h3 {
  margin: 18px 0 8px;
  color: var(--white);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.team-card p {
  min-height: 60px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  line-height: 1.5;
}

.team-card a {
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 46px 0;
}

.feature-row article {
  padding: 26px;
}

.feature-row h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.feature-row p {
  min-height: 78px;
  margin: 0 0 18px;
  color: #334155;
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 38px;
  padding: 42px 0;
  color: var(--white);
}

body::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--navy);
}

.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: var(--navy);
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--gold-2);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-brand {
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .navbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 620px;
  }

  .hero-trophy {
    display: none;
  }

  .overview,
  .content-grid,
  .feature-row,
  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-panel {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  .topbar,
  .navbar,
  .overview,
  .content-grid,
  .feature-row {
    width: min(100% - 28px, 1180px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .live-link {
    width: 100%;
    text-align: center;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .brand em {
    font-size: 1.25rem;
  }

  .nav-links {
    gap: 12px 18px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 560px;
    padding: 58px 18px 74px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.75rem);
  }

  .fixture-header {
    align-items: stretch;
    flex-direction: column;
  }

  .fixture-actions {
    flex-direction: column;
  }

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

  .fixture-match {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .button {
    width: 100%;
  }

  .overview,
  .content-grid,
  .feature-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .overview {
    transform: translateY(-28px);
  }

  .content-grid {
    margin-top: -8px;
  }

  .match {
    grid-template-columns: 48px 48px 1fr 34px 1fr;
    gap: 7px;
    font-size: 0.72rem;
  }

  .news-list article {
    grid-template-columns: 82px 1fr;
  }

  .news-list img {
    width: 82px;
  }

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