:root {
  --bg: #080f1f;
  --bg-2: #101a2f;
  --text: #f5f8ff;
  --muted: #b2bfd9;
  --line: rgba(230, 237, 255, 0.2);
  --panel: rgba(10, 22, 45, 0.62);
  --light-surface: #eef4ff;
  --light-text: #112341;
  --light-muted: #4a6288;
  --flag-a: #00b894;
  --flag-b: #1e5eff;
  --flag-c: #ef2d56;
  --radius: 1rem;
  --radius-lg: 1.4rem;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -5%, rgba(255, 47, 107, 0.23), transparent 34%),
    radial-gradient(circle at 88% 2%, rgba(43, 109, 255, 0.25), transparent 35%),
    linear-gradient(160deg, #091124 12%, #0b1530 45%, #121e39 100%);
  min-height: 100vh;
  line-height: 1.5;
}

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

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

.shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link,
.sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  clip-path: none;
  inline-size: auto;
  block-size: auto;
  top: 1rem;
  left: 1rem;
  z-index: 999;
  padding: 0.6rem 0.9rem;
  border-radius: 0.6rem;
  background: #fff;
  color: #001;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(8, 14, 29, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 4.7rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
}

.logo-mark {
  inline-size: 2.2rem;
  block-size: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--flag-c), var(--flag-b));
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
}

.logo-text,
h1,
h2,
h3,
.footer-brand {
  font-family: "Teko", sans-serif;
  letter-spacing: 0.03em;
}

.logo-text {
  font-size: 1.5rem;
  line-height: 1;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.3vw, 1.6rem);
  margin: 0;
  padding: 0;
}

.menu a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.3rem;
}

.menu-toggle span {
  width: 1.4rem;
  height: 2px;
  display: block;
  background: #fff;
}

.menu-toggle span + span {
  margin-top: 0.3rem;
}

.desktop-only {
  display: inline-flex;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 0.7rem 1.25rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #00182f;
  background: linear-gradient(130deg, var(--flag-a), #7de9ff 45%, #fff2 100%);
  box-shadow: 0 10px 24px rgba(0, 233, 255, 0.22);
}

.btn-ghost,
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.hero {
  padding-block: clamp(2rem, 5vw, 4.8rem);
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1fr;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 -1.2rem auto;
  block-size: 500px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(8, 20, 42, 0.45), rgba(5, 12, 27, 0.78)),
    url("https://images.unsplash.com/photo-1543357480-c60d400e2ef9?auto=format&fit=crop&w=1800&q=70")
      center/cover no-repeat;
  opacity: 0.85;
  z-index: -1;
  box-shadow: var(--shadow);
}

.hero-content {
  max-width: 38rem;
}

.eyebrow {
  margin: 0;
  color: #8fdbff;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1 {
  margin: 0.45rem 0 0.5rem;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.9;
}

.hero-copy {
  margin: 0;
  color: #d6e2fa;
  font-size: clamp(1rem, 2vw, 1.22rem);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.2rem 0 1.3rem;
}

.glass {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(9px);
  box-shadow: var(--shadow);
}

.countdown {
  padding: 0.95rem;
}

.countdown-title {
  margin: 0;
  color: #e7f1ff;
  font-weight: 700;
}

.countdown-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.countdown-grid div {
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  padding: 0.55rem 0.25rem;
}

.countdown-grid span {
  display: block;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.45rem);
}

.countdown-grid small {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.7rem;
}

.hero-media {
  position: relative;
  animation: rise 720ms ease both;
}

.hero-image {
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.live-card {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 3;
  max-width: 15rem;
  padding: 0.8rem;
}

.live-label {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ff385f;
  display: inline-block;
  margin-right: 0.4rem;
  box-shadow: 0 0 0 8px rgba(255, 56, 95, 0.12);
}

.live-card h2 {
  margin: 0.4rem 0 0.2rem;
  font-size: 1.55rem;
  line-height: 0.95;
}

.live-card p {
  margin: 0;
  color: #d1dffb;
  font-size: 0.82rem;
}

.section {
  padding-block: clamp(1.2rem, 3vw, 2.6rem);
}

.section-light {
  position: relative;
}

.section-light::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(239, 247, 255, 0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 0.92;
}

.section-head a {
  color: #7ecbff;
  font-weight: 600;
}

.section-light h2,
.section-light .section-head a,
.light-card h3,
.light-card p,
.light-card .meta,
.section-light th,
.section-light td {
  color: var(--light-text);
}

.section-light .section-head a,
.section-light .meta,
.section-light .light-card p {
  color: var(--light-muted);
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.card {
  padding: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(155, 224, 255, 0.5);
}

.meta {
  margin: 0;
  font-weight: 700;
  color: #a5b4d6;
  font-size: 0.83rem;
}

h3 {
  margin: 0.25rem 0 0.35rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 0.95;
}

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

.player-card img,
.city-card img {
  border-radius: 0.85rem;
  margin-bottom: 0.7rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.table-wrap {
  overflow-x: auto;
  padding: 0.45rem;
}

.light-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(56, 88, 130, 0.18);
}

table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.72rem;
}

thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

tbody tr + tr td {
  border-top: 1px solid rgba(89, 117, 155, 0.2);
}

.ticket-cta {
  text-align: center;
  padding: clamp(1.3rem, 3vw, 2.3rem);
  background:
    linear-gradient(140deg, rgba(13, 32, 60, 0.9), rgba(8, 17, 36, 0.86)),
    url("https://images.unsplash.com/photo-1579952363873-27f3bade9f55?auto=format&fit=crop&w=1500&q=70")
      center/cover no-repeat;
}

.ticket-cta p {
  margin: 0.2rem auto 1rem;
  max-width: 52ch;
  color: #c6d8f6;
}

.site-footer {
  margin-top: 1.8rem;
  background: #070d1b;
  border-top: 1px solid var(--line);
  color: #c3d1ee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.7rem 0 1rem;
}

.footer-brand {
  margin: 0;
  font-size: 1.8rem;
}

.footer-copy,
.footer-head {
  margin: 0.2rem 0;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
}

.copyright {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 0.95rem 0 1.1rem;
  color: #9eb0cf;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from {
    transform: translateY(18px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 740px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 990px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .match-cards,
  .team-cards,
  .schedule-cards,
  .city-cards,
  .news-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    margin-left: auto;
  }

  .menu {
    position: absolute;
    inset: 4.8rem 1rem auto;
    padding: 0.8rem;
    border-radius: 0.8rem;
    border: 1px solid var(--line);
    background: rgba(8, 14, 29, 0.96);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .desktop-only {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
