:root {
  color-scheme: dark;
  --bg: #06111f;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #f7fbff;
  --muted: #aab9ca;
  --blue: #39a7ff;
  --green: #3df5a6;
  --red: #ff5a64;
  --yellow: #ffd166;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 0%, rgba(57, 167, 255, 0.26), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(61, 245, 166, 0.16), transparent 30rem),
    linear-gradient(180deg, #07111f 0%, #071626 45%, #050912 100%);
  color: var(--text);
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.hero,
main,
footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #001528;
  box-shadow: 0 10px 28px rgba(57, 167, 255, 0.35);
}

.nav-links {
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
  gap: 34px;
  align-items: center;
  min-height: 660px;
  padding: 52px 0 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.lead {
  max-width: 720px;
  color: #cfdae8;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #041527;
  border: 0;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.stamp {
  color: var(--muted);
  font-size: 14px;
}

.score-card {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(57, 167, 255, 0.18), transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.score-card::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-one {
  width: 180px;
  height: 180px;
  right: -42px;
  top: -36px;
  background: rgba(57, 167, 255, 0.58);
}

.orb-two {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -74px;
  background: rgba(61, 245, 166, 0.34);
}

.card-label {
  position: relative;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.score-card h2 {
  position: relative;
  margin-top: 72px;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.05em;
}

.countdown {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
}

.count-number {
  color: var(--yellow);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stats div {
  padding: 18px 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.stats strong {
  display: block;
  font-size: 28px;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  margin-bottom: 34px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px);
}

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

.section-heading h2,
.insight h2,
.source-box h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.live-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: -18px;
  background: linear-gradient(90deg, rgba(61, 245, 166, 0.16), rgba(57, 167, 255, 0.08));
}

.live-strip div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.live-strip p {
  margin-bottom: 0;
  color: #d9e7f4;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(255, 90, 100, 0.14);
}

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

.match-card,
.group-card,
.region-card,
.timeline-item {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
}

.match-card {
  min-height: 210px;
  padding: 22px;
}

.match-card.hot {
  background:
    linear-gradient(145deg, rgba(57, 167, 255, 0.22), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.06);
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(61, 245, 166, 0.14);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.match-card h3 {
  margin: 28px 0 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.match-card p {
  color: #cfdae8;
  line-height: 1.65;
}

.match-card small {
  color: var(--muted);
}

.insight {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) 1fr;
  gap: 26px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 90, 100, 0.16), rgba(255, 209, 102, 0.08));
}

.insight p {
  margin-bottom: 0;
  color: #f1e4d3;
  font-size: 18px;
  line-height: 1.8;
}

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

.group-card {
  padding: 18px;
}

.group-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 18px;
}

.group-card h3 span {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.team-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #d8e4f1;
  font-size: 14px;
}

.team-list em {
  color: var(--muted);
  font-style: normal;
}

.city-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.region-card {
  min-height: 190px;
  padding: 24px;
  background:
    linear-gradient(155deg, rgba(61, 245, 166, 0.13), rgba(57, 167, 255, 0.08)),
    rgba(255, 255, 255, 0.06);
}

.region-card h3 {
  font-size: 26px;
}

.region-card p {
  color: #cfdbea;
  line-height: 1.9;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.timeline-item {
  padding: 18px;
}

.timeline-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.timeline-item strong {
  display: block;
  margin: 10px 0;
  font-size: 20px;
}

.timeline-item p {
  margin-bottom: 0;
  color: #c9d6e5;
  line-height: 1.65;
}

.timeline-item.active {
  border-color: rgba(61, 245, 166, 0.48);
  background: rgba(61, 245, 166, 0.12);
}

.timeline-item.final {
  border-color: rgba(255, 209, 102, 0.46);
  background: rgba(255, 209, 102, 0.1);
}

.source-box p {
  color: var(--muted);
  line-height: 1.8;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-links a {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #d8e9ff;
  background: rgba(255, 255, 255, 0.06);
}

footer {
  padding: 28px 0 54px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 920px) {
  .hero-grid,
  .section-heading,
  .insight {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 30px;
  }

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

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

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

@media (max-width: 640px) {
  .hero,
  main,
  footer {
    width: min(100% - 20px, 1180px);
  }

  .nav {
    align-items: flex-start;
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

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

  .score-card,
  .section {
    padding: 22px;
    border-radius: 26px;
  }

  .stats,
  .match-grid,
  .group-grid,
  .city-layout,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 44px;
  }
}
