:root {
  --bg: #07111f;
  --bg-soft: #0d1b2d;
  --panel: rgba(7, 17, 31, 0.82);
  --panel-strong: rgba(10, 20, 35, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f7fb;
  --muted: #a9b7ca;
  --red: #ff5f39;
  --gold: #ffc857;
  --cyan: #57e2e5;
  --lime: #b7ff65;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(87, 226, 229, 0.14), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(255, 95, 57, 0.16), transparent 26%),
    linear-gradient(180deg, #07111f 0%, #091523 45%, #07111f 100%);
}

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

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

.site-shell {
  min-height: 100vh;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 20px clamp(20px, 4vw, 42px) 56px;
  background-color: #030914;
  background-size: cover;
  background-position: center;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 9, 20, 0.92) 0%, rgba(3, 9, 20, 0.72) 42%, rgba(3, 9, 20, 0.42) 100%),
    linear-gradient(180deg, rgba(3, 9, 20, 0.5) 0%, rgba(3, 9, 20, 0.12) 35%, rgba(3, 9, 20, 0.88) 100%);
}

.hero-home {
  background-image: url("assets/top-events-hero.jpg");
}

.page-hero-pulse {
  min-height: 72vh;
  background-image: url("assets/top-events-fans.jpg");
  background-position: center 28%;
}

.page-hero-guide {
  min-height: 72vh;
  background-image: url("assets/top-events-court.jpg");
  background-position: center;
}

.topbar,
.hero-grid,
.page-hero-content,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.topbar {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
  font-size: 1.7rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #08111d;
  background: linear-gradient(135deg, var(--gold), var(--red));
  box-shadow: 0 12px 28px rgba(255, 95, 57, 0.28);
}

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

.nav-links a {
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
}

.nav-toggle {
  display: none;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 4px 0;
}

.hero-grid {
  max-width: var(--max);
  margin: clamp(60px, 10vw, 110px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.8fr);
  gap: 28px;
  align-items: end;
}

.hero-copy,
.hero-card,
.page-hero-content,
.timeline-card,
.gallery-copy,
.copy-panel,
.guide-card,
.checklist-note {
  backdrop-filter: blur(8px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.signal-label,
.card-label,
.time-badge {
  margin: 0 0 16px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(4rem, 9vw, 7.5rem);
  max-width: 10.6ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
}

h3 {
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
}

.lead,
p,
li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.lead {
  margin: 20px 0 0;
  max-width: 60ch;
  font-size: 1.08rem;
}

.narrow {
  max-width: 52ch;
}

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

.button {
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.mini-stats {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.mini-stats li {
  min-width: 130px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(6, 14, 25, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1.4rem;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  justify-self: end;
  width: min(100%, 380px);
}

.signal-box {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(8, 16, 30, 0.85), rgba(10, 22, 38, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.signal-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.signal-list article {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.signal-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.signal-list strong {
  font-size: 1rem;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 42px) 48px;
}

.score-strip {
  margin-top: -26px;
  position: relative;
  z-index: 2;
}

.score-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(255, 95, 57, 0.94), rgba(255, 200, 87, 0.94));
  color: #07111f;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.section {
  padding: 76px 0 12px;
}

.feature-split,
.spotlight-grid,
.gallery-layout,
.checklist-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.media-stack img,
.image-panel img,
.gallery-image img {
  min-height: 100%;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.cards-grid,
.rank-grid,
.guide-grid,
.timeline-layout {
  display: grid;
  gap: 18px;
}

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

.info-card,
.guide-card,
.timeline-card,
.copy-panel,
.gallery-copy,
.checklist-note,
.timeline-card,
.checklist-copy {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid var(--line);
}

.accent-red {
  box-shadow: inset 0 0 0 1px rgba(255, 95, 57, 0.18);
}

.accent-gold {
  box-shadow: inset 0 0 0 1px rgba(255, 200, 87, 0.2);
}

.accent-cyan {
  box-shadow: inset 0 0 0 1px rgba(87, 226, 229, 0.18);
}

.copy-panel {
  background:
    linear-gradient(180deg, rgba(255, 95, 57, 0.11), transparent 30%),
    var(--panel);
}

.image-panel img,
.gallery-image img {
  height: 100%;
}

.page-hero-content {
  max-width: var(--max);
  margin: clamp(72px, 14vw, 150px) auto 0;
  padding: 30px 0;
}

.timeline-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.time-badge {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.rank-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rank-grid article {
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

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

.dark-card {
  background: linear-gradient(180deg, rgba(255, 95, 57, 0.12), rgba(255, 255, 255, 0.03));
}

.bright-card {
  background: linear-gradient(180deg, rgba(255, 200, 87, 0.16), rgba(255, 255, 255, 0.03));
}

.outline-card {
  border-style: dashed;
}

.quote-band {
  padding-top: 28px;
}

.quote-band > div {
  padding: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.checklist {
  margin: 20px 0 0;
  padding-left: 20px;
}

.checklist li + li {
  margin-top: 12px;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--gold);
  font-weight: 700;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px clamp(20px, 4vw, 42px) 42px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .hero,
  .page-hero {
    min-height: auto;
  }

  .hero-grid,
  .feature-split,
  .spotlight-grid,
  .gallery-layout,
  .checklist-layout,
  .cards-grid,
  .timeline-layout,
  .rank-grid,
  .guide-grid,
  .score-strip-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-self: stretch;
    width: 100%;
  }

  h1 {
    max-width: 11.5ch;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .hero-grid {
    margin-top: 40px;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .site-footer {
    flex-direction: column;
  }
}
