:root {
  color-scheme: dark;
  --ink: #f9f1dd;
  --muted: rgb(249 241 221 / 70%);
  --field: #083d2b;
  --field-dark: #041915;
  --panel: rgb(249 241 221 / 8%);
  --panel-strong: rgb(249 241 221 / 13%);
  --line: rgb(249 241 221 / 18%);
  --gold: #f4c255;
  --red: #e43d38;
  --blue: #64d9ff;
  --black: #060b0c;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--black);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
}

a {
  color: inherit;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 24px clamp(18px, 4vw, 58px) 90px;
  background:
    radial-gradient(circle at 76% 18%, rgb(244 194 85 / 26%), transparent 31%),
    radial-gradient(circle at 20% 82%, rgb(100 217 255 / 18%), transparent 30%),
    linear-gradient(118deg, #041915 0 50%, #0b5a3e 50% 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent 49.8%, rgb(249 241 221 / 18%) 49.8% 50.2%, transparent 50.2%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 4%) 0 1px, transparent 1px 84px),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 3%) 0 1px, transparent 1px 84px);
  opacity: 0.75;
}

.topbar,
.hero-grid,
.quick-stats,
.schedule-section,
.standings-section {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  width: min(1220px, 100%);
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
}

.brand,
.nav-links {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 950;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 47%, var(--ink) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, var(--ink) 47% 53%, transparent 53%),
    var(--red);
  box-shadow: 0 0 0 7px rgb(249 241 221 / 10%);
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--line);
  background: rgb(249 241 221 / 10%);
  color: var(--ink);
}

.hero-grid {
  display: grid;
  width: min(1220px, 100%);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  margin: 86px auto 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 950;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 8vw, 7.2rem);
  line-height: 0.96;
}

.lead {
  max-width: 64ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 18px;
  background: transparent;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgb(0 0 0 / 28%);
}

.button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #151006;
}

.hero-card {
  position: relative;
  min-height: 460px;
  padding: 28px;
  border: 1px solid rgb(249 241 221 / 32%);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, transparent 0 33%, rgb(249 241 221 / 14%) 33.5% 34%, transparent 34.5%),
    linear-gradient(160deg, rgb(228 61 56 / 86%), rgb(4 25 21 / 94) 58%);
  box-shadow: 18px 18px 0 rgb(0 0 0 / 28%);
}

.hero-card::before {
  position: absolute;
  top: 48px;
  left: 50%;
  width: 184px;
  aspect-ratio: 1;
  border: 4px solid var(--ink);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.hero-card span,
.hero-card strong,
.hero-card p,
.hero-card small {
  position: relative;
  z-index: 1;
}

.hero-card span {
  display: block;
  margin-top: 250px;
  color: var(--gold);
  font-weight: 950;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin: 8px 0;
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.96;
}

.hero-card p {
  margin-bottom: 4px;
  font-size: 1.3rem;
  font-weight: 950;
}

.hero-card small {
  color: var(--muted);
  font-size: 0.96rem;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: var(--field-dark);
}

.quick-stats div {
  min-width: 0;
  padding: 22px clamp(18px, 4vw, 48px);
  border-right: 1px solid rgb(4 25 21 / 16%);
}

.quick-stats span {
  display: block;
  color: rgb(4 25 21 / 62%);
  font-size: 0.78rem;
  font-weight: 900;
}

.quick-stats strong {
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.schedule-section,
.standings-section {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 82px clamp(18px, 4vw, 40px);
}

.standings-section {
  padding-top: 42px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  align-items: end;
  gap: 22px;
  margin-bottom: 28px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 0.98;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 180px 180px minmax(220px, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(6 11 12 / 88%);
  backdrop-filter: blur(14px);
}

.toolbar label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.toolbar span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

select,
input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  outline: none;
  background: rgb(249 241 221 / 9%);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

option {
  background: var(--field-dark);
}

input::placeholder {
  color: rgb(249 241 221 / 45%);
}

select:focus,
input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(244 194 85 / 18%);
}

.result-line {
  margin: 16px 0;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 900;
}

.schedule-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fixture-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--panel-strong), var(--panel)),
    var(--field-dark);
}

.fixture-meta {
  display: grid;
  align-content: space-between;
  padding: 18px 16px;
  border-right: 1px solid var(--line);
  background: rgb(249 241 221 / 8%);
}

.fixture-meta span {
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 950;
}

.fixture-meta strong {
  color: var(--gold);
  font-size: 1.05rem;
}

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

.pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgb(100 217 255 / 14%);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 950;
}

.fixture-card h3 {
  margin: 20px 0 8px;
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  line-height: 1.2;
}

.fixture-card em {
  color: var(--red);
  font-style: normal;
  font-size: 0.9em;
}

.fixture-card p {
  margin-bottom: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

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

.table-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.table-card h3 {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-size: 1.18rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid rgb(249 241 221 / 10%);
  text-align: center;
}

th {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

td:first-child,
th:first-child {
  width: 42%;
  text-align: left;
}

td:first-child {
  font-weight: 900;
}

td:last-child {
  color: var(--gold);
  font-weight: 950;
}

@media (max-width: 1020px) {
  .hero-grid,
  .section-heading,
  .schedule-list,
  .standings-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .hero {
    min-height: auto;
    padding-bottom: 62px;
  }

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

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: clamp(2.65rem, 17vw, 4.4rem);
  }

  .hero-actions,
  .button,
  .quick-stats,
  .toolbar {
    width: 100%;
  }

  .hero-card {
    min-height: 390px;
    box-shadow: 10px 10px 0 rgb(0 0 0 / 28%);
  }

  .hero-card span {
    margin-top: 220px;
  }

  .quick-stats,
  .toolbar {
    grid-template-columns: 1fr;
  }

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

  .fixture-meta {
    grid-template-columns: 1fr auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
