:root {
  --ink: #101820;
  --muted: rgba(16, 24, 32, 0.68);
  --paper: #f6efe2;
  --paper-strong: #fffaf0;
  --green: #0b6d54;
  --green-dark: #06392d;
  --blue: #174f9f;
  --red: #c92e33;
  --gold: #f3bd45;
  --line: rgba(16, 24, 32, 0.14);
  --shadow: 0 24px 60px rgba(16, 24, 32, 0.18);
  --radius: 8px;
  font-family: "Aptos", "Segoe UI", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(243, 189, 69, 0.14), transparent 30%),
    linear-gradient(180deg, #fffdf7 0%, var(--paper) 48%, #eaf3ee 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-weight: 950;
  background: conic-gradient(from 220deg, var(--red), var(--gold), var(--green), var(--blue), var(--red));
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.main-nav a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover,
.main-nav a.is-current {
  color: white;
  background: var(--ink);
}

.header-cta,
.primary-button,
.secondary-button,
.text-link,
.match-list a,
.resource-grid button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.header-cta,
.primary-button {
  color: white;
  background: var(--red);
  box-shadow: 0 14px 28px rgba(201, 46, 51, 0.24);
}

.secondary-button {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.15);
}

.text-link,
.match-list a,
.resource-grid button {
  color: var(--ink);
  background: var(--gold);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero {
  display: grid;
  min-height: calc(100svh - 76px);
  align-items: end;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 57, 45, 0.96), rgba(6, 57, 45, 0.58) 46%, rgba(16, 24, 32, 0.12)),
    linear-gradient(0deg, rgba(16, 24, 32, 0.7), transparent 48%);
}

.hero-content {
  width: min(880px, calc(100% - 48px));
  padding: 0 0 clamp(52px, 9vw, 112px) clamp(24px, 7vw, 96px);
  color: white;
}

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

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy,
.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.62;
}

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

.match-card {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: clamp(24px, 6vw, 76px);
  width: min(320px, calc(100% - 48px));
  padding: 22px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(16, 24, 32, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.match-card p,
.match-card small {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.match-card strong {
  display: block;
  margin: 10px 0;
  font-size: 30px;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: #2ce58a;
  box-shadow: 0 0 0 7px rgba(44, 229, 138, 0.16);
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--paper-strong);
}

.ticker div {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.ticker div:last-child {
  border-right: 0;
}

.ticker strong {
  display: block;
  color: var(--green);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.ticker span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 940px;
}

.section-heading h2,
.image-story h2,
.ticket-form h2,
.safety-panel h2,
.planning-strip h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow),
.image-story p,
.ticket-form p,
.safety-panel li,
.planning-strip p {
  color: var(--muted);
  line-height: 1.72;
}

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

.feature-card,
.news-grid article,
.news-grid a,
.guide-grid article,
.resource-grid article {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.news-grid a:hover,
.resource-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(16, 24, 32, 0.12);
}

.feature-card.highlight {
  color: white;
  background:
    linear-gradient(150deg, rgba(23, 79, 159, 0.58), transparent 58%),
    var(--green-dark);
}

.feature-card span,
.news-grid span,
.guide-grid span,
.match-list span,
.city-page-grid span {
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-card.highlight span {
  color: var(--gold);
}

.feature-card h3,
.news-grid h2,
.news-grid h3,
.guide-grid h2,
.resource-grid h2 {
  margin: 18px 0 12px;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.12;
}

.feature-card p,
.news-grid p,
.guide-grid p,
.resource-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-card.highlight p {
  color: rgba(255, 255, 255, 0.76);
}

.image-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1fr;
  gap: clamp(22px, 5vw, 54px);
  align-items: center;
  background: var(--ink);
  color: white;
}

.image-story img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.image-story p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.72);
}

.news-section {
  background: var(--paper-strong);
}

.page-hero {
  display: grid;
  min-height: 430px;
  align-items: end;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 72px) clamp(48px, 7vw, 84px);
  color: white;
  background:
    linear-gradient(120deg, rgba(6, 57, 45, 0.94), rgba(23, 79, 159, 0.74)),
    var(--green-dark);
}

.compact-hero {
  background:
    linear-gradient(135deg, rgba(201, 46, 51, 0.8), rgba(6, 57, 45, 0.92)),
    var(--green-dark);
}

.teams-hero {
  background:
    linear-gradient(135deg, rgba(11, 109, 84, 0.95), rgba(243, 189, 69, 0.65)),
    var(--green-dark);
}

.cities-hero {
  background:
    linear-gradient(0deg, rgba(16, 24, 32, 0.78), rgba(16, 24, 32, 0.2)),
    url("./assets/city-newyork.jpg") center/cover;
}

.ticket-hero {
  background:
    linear-gradient(135deg, rgba(201, 46, 51, 0.88), rgba(16, 24, 32, 0.8)),
    var(--red);
}

.news-hero,
.media-hero {
  background:
    linear-gradient(135deg, rgba(23, 79, 159, 0.88), rgba(6, 57, 45, 0.88)),
    var(--blue);
}

.fan-hero {
  background:
    linear-gradient(0deg, rgba(16, 24, 32, 0.75), rgba(16, 24, 32, 0.22)),
    url("./assets/fans-stand.jpg") center/cover;
}

.schedule-toolbar,
.team-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.schedule-toolbar button,
.team-controls button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 900;
  background: white;
  cursor: pointer;
}

.schedule-toolbar button.is-active,
.team-controls button.is-active {
  color: white;
  background: var(--green-dark);
}

.match-list {
  display: grid;
  gap: 12px;
}

.match-list article {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.match-list time {
  color: var(--green);
  font-size: 22px;
  font-weight: 950;
}

.match-list h2 {
  margin: 6px 0;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.05;
}

.match-list p {
  margin: 0;
  color: var(--muted);
}

.is-hidden {
  display: none !important;
}

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

.team-grid.xl {
  grid-template-columns: repeat(5, 1fr);
}

.team-grid article {
  min-height: 154px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.team-grid strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
}

.team-grid span {
  display: block;
  margin: 12px 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.team-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.city-page-grid article {
  overflow: hidden;
  border-radius: var(--radius);
  background: white;
}

.city-page-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.city-page-grid div {
  padding: 22px;
}

.city-page-grid h2 {
  margin: 10px 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.city-page-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.planning-strip {
  background: var(--gold);
}

.planning-strip div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.planning-strip span {
  padding: 12px 16px;
  border: 1px solid rgba(16, 24, 32, 0.18);
  border-radius: 999px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.42);
}

.ticket-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) 1fr;
  gap: 18px;
  align-items: stretch;
}

.ticket-form,
.safety-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.ticket-form label {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-weight: 900;
}

.ticket-form input,
.ticket-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}

.ticket-form button {
  margin-top: 22px;
}

.fine-print {
  font-size: 13px;
}

.safety-panel {
  color: white;
  background:
    linear-gradient(145deg, rgba(23, 79, 159, 0.5), transparent 58%),
    var(--green-dark);
}

.safety-panel ul {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.safety-panel li {
  color: rgba(255, 255, 255, 0.78);
}

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

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

.guide-grid article:first-child {
  grid-column: span 2;
  color: white;
  background:
    linear-gradient(140deg, rgba(201, 46, 51, 0.5), transparent 58%),
    var(--green-dark);
}

.guide-grid article:first-child p {
  color: rgba(255, 255, 255, 0.74);
}

.resource-grid button {
  margin-top: 24px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 18px;
  align-items: center;
  padding: 28px clamp(20px, 6vw, 72px);
  color: white;
  background: var(--green-dark);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: min(360px, calc(100% - 40px));
  padding: 14px 18px;
  color: white;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
  .site-header {
    flex-wrap: wrap;
    min-height: auto;
    padding: 14px 20px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .feature-grid,
  .team-grid,
  .team-grid.xl,
  .news-grid,
  .news-grid.large,
  .guide-grid,
  .resource-grid,
  .city-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-story,
  .ticket-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: 100%;
    padding: 0 20px 34px;
  }

  .match-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 0 20px 20px;
  }

  .ticker,
  .feature-grid,
  .team-grid,
  .team-grid.xl,
  .news-grid,
  .news-grid.large,
  .guide-grid,
  .resource-grid,
  .city-page-grid {
    grid-template-columns: 1fr;
  }

  .ticker div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .ticker div:last-child {
    border-bottom: 0;
  }

  .match-list article {
    grid-template-columns: 1fr;
  }

  .guide-grid article:first-child {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
