:root {
  --bg: #f3f6fb;
  --bg-alt: #eef3fa;
  --surface: #ffffff;
  --surface-soft: #eaf0f9;
  --text: #102038;
  --muted: #607089;
  --primary: #0f4fe0;
  --primary-strong: #0a2e8a;
  --accent: #0cc2a0;
  --border: #d6deea;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 12px 30px rgba(12, 28, 58, 0.08);
  --shadow-strong: 0 16px 40px rgba(8, 24, 51, 0.18);
  --container: 1140px;
  --header-height: 82px;
  --header-topbar-height: 36px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: linear-gradient(180deg, #f9fbff, var(--bg));
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: calc((var(--header-height) + var(--header-topbar-height)) * -1);
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.site-header-home {
  margin-bottom: calc((var(--header-height) + var(--header-topbar-height)) * -1);
}

.site-header::before {
  content: none;
}

.site-header::after {
  content: none;
}

.header-topbar {
  min-height: var(--header-topbar-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(12px) saturate(135%);
}

.header-topbar-inner {
  min-height: var(--header-topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-locale {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 600;
}

.header-locale-item {
  opacity: 0.72;
}

.header-locale-item.is-active {
  opacity: 1;
}

.header-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.24);
}

.header-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.header-social-link {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.header-social-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
}

.header-social-link svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-social-link .icon-fill {
  fill: currentColor;
  stroke: none;
}

.header-social-link .icon-stroke {
  fill: none;
}

.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 247, 255, 0.9));
  border: 1px solid rgba(140, 167, 214, 0.26);
  border-radius: 0 0 22px 22px;
  padding: 0.95rem 1rem;
  box-shadow:
    0 18px 40px rgba(4, 9, 17, 0.12),
    0 8px 18px rgba(93, 130, 197, 0.08);
  backdrop-filter: blur(12px);
}

.site-header-home .nav-wrap {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 22px 44px rgba(4, 9, 17, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.brand img {
  height: 64px !important;
  width: auto !important;
  vertical-align: middle;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
  transition: transform 0.24s ease, filter 0.24s ease;
}

.header-logo {
  height: 72px;
  width: auto;
}

.brand:hover img {
  transform: translateY(-1px) scale(1.015);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(15, 20, 28, 0.12);
  background: #fff;
  color: #111820;
  padding: 0.44rem 0.84rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  font: inherit;
  box-shadow: 0 8px 18px rgba(14, 20, 28, 0.08);
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-left: auto;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-nav a {
  color: #131a22;
  text-decoration: none;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #0f1115;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 17, 21, 0.18);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 0.5rem;
}

.header-search-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 20, 28, 0.12);
  background: #fff;
  color: #111820;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(15, 20, 28, 0.06);
}

.header-search-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.2rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta:hover,
.header-search-btn:hover {
  transform: translateY(-1px);
}

.header-cta-secondary {
  color: #131a22;
  background: #f3f5f8;
  border: 1px solid rgba(15, 20, 28, 0.08);
}

.header-cta-primary {
  color: #fff;
  background: #0f1115;
  border: 1px solid #0f1115;
  box-shadow: 0 12px 24px rgba(15, 17, 21, 0.18);
}

.hero {
  position: relative;
  color: #0b234a;
  width: 100%;
  margin-inline: 0;
  padding: calc(var(--header-height) + var(--header-topbar-height) + 2.25rem) 0 0;
  background:
    radial-gradient(circle at 10% 14%, rgba(237, 63, 91, 0.12), transparent 40%),
    radial-gradient(circle at 84% 12%, rgba(82, 148, 255, 0.14), transparent 44%),
    linear-gradient(145deg, #f6f9ff 0%, #ecf3ff 56%, #e5efff 100%);
  border-bottom: 1px solid rgba(92, 126, 191, 0.3);
  box-shadow: inset 0 -16px 34px rgba(38, 64, 112, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 32%),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 2px,
      transparent 2px,
      transparent 18px
    );
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% -15%, rgba(255, 217, 135, 0.24), transparent 42%),
    radial-gradient(circle at 50% 120%, rgba(52, 95, 182, 0.28), transparent 56%);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-inner {
  text-align: center;
  max-width: 1140px;
  margin-inline: auto;
  padding: 3.3rem 1rem 3.3rem;
  border-radius: 0;
  background: none;
  border: 0;
  box-shadow: none;
  position: relative;
}

.hero-inner nav[aria-label="Breadcrumb"] {
  position: absolute;
  top: 0;
  left: 1rem;
}

.hero-inner h1 {
  margin: 10px 0 0;
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  font-family: "Bebas Neue", "Barlow", sans-serif;
  color: #0b234a;
  text-shadow: 0 6px 18px rgba(46, 81, 144, 0.12);
}

.hero-kicker {
  display: none;
}

.hero .breadcrumb-list {
  margin: 0;
  padding: 0.65rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(112, 144, 204, 0.38);
  border-left: 2px solid rgba(82, 129, 214, 0.62);
  box-shadow:
    0 10px 22px rgba(24, 48, 94, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #39557d;
  font-size: 0.94rem;
  font-weight: 600;
  gap: 0.38rem;
}

.hero .breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}

.hero .breadcrumb-list li:not(:last-child)::after {
  content: "\203A";
  color: #6e8dbf;
  margin-left: 0.44rem;
}

.hero .breadcrumb-list a {
  color: #1e3b67;
  text-decoration: none;
}

.hero .breadcrumb-list li:first-child a::before {
  content: "\2302";
  margin-right: 0.4rem;
  color: #6b88b8;
  font-size: 0.92rem;
}

.hero .breadcrumb-list a:hover {
  color: #0f2d59;
  text-decoration: none;
}

.hero .breadcrumb-list li[aria-current="page"] {
  color: #0f2d59;
  font-weight: 700;
  text-shadow: none;
}

.hero-copy {
  margin: 0.95rem auto 0;
  max-width: 62ch;
  color: #355174;
  font-size: 1.08rem;
  font-weight: 500;
  text-shadow: none;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

@media (max-width: 760px) {
  .hero {
    padding: 1.95rem 0 0;
  }

  .hero-inner {
    padding: 2.9rem 1rem 2.9rem;
  }

  .hero .breadcrumb-list {
    padding: 0.52rem 0.72rem;
    font-size: 0.86rem;
    border-radius: 12px;
  }

  .hero-inner h1 {
    font-size: clamp(1.9rem, 8vw, 2.9rem);
    line-height: 1.05;
  }
}

.home-hero {
  margin-top: 0;
  padding-top: calc(var(--header-height) + var(--header-topbar-height) + 2.2rem);
  color: #f7fbff;
  background:
    linear-gradient(180deg, rgba(5, 8, 11, 0.45), rgba(5, 8, 11, 0.8)),
    radial-gradient(circle at 50% 0%, rgba(255, 223, 130, 0.18), transparent 28%),
    url("/assets/footer-stadium.jpg") center 52% / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 -60px 90px rgba(5, 8, 11, 0.42);
}

.home-hero::before {
  opacity: 0.16;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 28%),
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 2px,
      transparent 2px,
      transparent 18px
    );
}

.home-hero::after {
  opacity: 0.55;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 215, 120, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(5, 8, 11, 0.06), rgba(5, 8, 11, 0.36));
}

.home-hero .hero-inner h1 {
  color: #ffffff;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.42);
}

.home-hero .hero-copy {
  color: rgba(246, 250, 255, 0.9);
}

.home-hero .breadcrumb-list {
  background: rgba(8, 12, 18, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.86);
}

.home-hero .breadcrumb-list a,
.home-hero .breadcrumb-list li[aria-current="page"] {
  color: #ffffff;
}

.home-hero .breadcrumb-list li:not(:last-child)::after,
.home-hero .breadcrumb-list li:first-child a::before {
  color: rgba(255, 255, 255, 0.7);
}

.home-hero .countdown-wrap {
  margin: 1.2rem auto 1.22rem;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) auto minmax(180px, 0.78fr);
  align-items: start;
  gap: 1rem 1.2rem;
  padding: 1rem 1.45rem 0.78rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 248, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 16px 36px rgba(10, 16, 28, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.home-hero .countdown-intro {
  color: #8f1732;
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
  align-self: center;
}

.home-hero .countdown-container {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: nowrap;
  align-self: center;
}

.home-hero .countdown-item {
  position: relative;
  min-width: 66px;
  padding: 0.48rem 0.52rem 0.42rem;
  border-radius: 0;
  background: linear-gradient(180deg, #a01f42, #88142f);
  border: 1px solid rgba(101, 11, 31, 0.55);
  box-shadow: 0 6px 14px rgba(87, 10, 29, 0.22);
}

.home-hero .countdown-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.58rem;
  width: 0.26rem;
  height: 0.26rem;
  border-radius: 50%;
  background: #9f1d3f;
  transform: translateY(-50%);
  box-shadow: 0 0 0 2px rgba(159, 29, 63, 0.18);
}

.home-hero .countdown-value {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.22rem;
  color: #ffffff;
}

.home-hero .countdown-label {
  font-size: 0.62rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 246, 249, 0.92);
}

.home-hero .countdown-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  align-self: end;
  justify-self: end;
  margin-top: -0.1rem;
}

.home-hero .countdown-brand-official {
  width: 132px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(12, 20, 39, 0.16));
}

.home-hero .hero-actions {
  margin-top: 0.65rem;
  gap: 0.6rem;
}

.home-hero .hero-actions .btn {
  padding: 0.62rem 1.1rem;
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  background: var(--surface);
  color: var(--text);
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.btn-primary {
  background: linear-gradient(135deg, #ed3f5b, #c41e3a);
  color: #fff;
  border: 1px solid #ff5a75;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff5a75, #ed3f5b);
  box-shadow: 0 8px 25px rgba(237, 63, 91, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-secondary {
  background: var(--surface-soft);
  color: var(--primary-strong);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: #dce7f9;
  border-color: #b9c9e7;
  box-shadow: 0 10px 24px rgba(10, 46, 138, 0.12);
}

.btn-small {
  padding: 0.52rem 1rem;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}


.breadcrumb-list {
  margin: 0 0 0.6rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  color: #d4e5ff;
  font-size: 0.86rem;
  font-weight: 600;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
}

.breadcrumb-list a {
  color: #f0f6ff;
  text-decoration: none;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-stack {
  padding: 2rem 0 3rem;
}

.section-block + .section-block {
  margin-top: 1.7rem;
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  color: var(--primary-strong);
  font-family: "Bebas Neue", "Barlow", sans-serif;
  letter-spacing: 0.03em;
}

.section-head a {
  text-decoration: none;
  color: var(--primary-strong);
  font-weight: 700;
}

.home-section-head {
  align-items: center;
  margin-bottom: 1.2rem;
}

.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ed3f5b;
  margin-right: 0.45rem;
  box-shadow: 0 0 0 0 rgba(237, 63, 91, 0.5);
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(237, 63, 91, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(237, 63, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(237, 63, 91, 0); }
}

.section-note {
  margin-top: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Cities page: show 4 cards per row on large screens */
.cities-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.stadiums-after-heading {
  margin: 1rem 0 1.35rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 1rem;
}

.chip {
  display: inline-flex;
  margin: 0;
  padding: 0.2rem 0.56rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.card h3 {
  margin: 0.55rem 0 0;
  color: var(--text);
}

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

.card-link {
  display: inline-block;
  margin-top: 0.85rem;
  text-decoration: none;
  color: var(--primary-strong);
  font-weight: 700;
}

.card-match .match-topbar {
  padding: 0.55rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: #d3e5ff;
  background: linear-gradient(130deg, #0d2449, #1a4f9e);
}

.status {
  padding: 0.13rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  font-size: 0.68rem;
}

.status.upcoming {
  color: #324b70;
  background: #e7edf8;
}

.status.live {
  color: #fff;
  background: #ed3f5b;
}

.status.final {
  color: #fff;
  background: #1fa472;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.1rem;
}

.panel h2 {
  margin: 0 0 0.5rem;
  color: var(--primary-strong);
}

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

.detail-list strong {
  min-width: 105px;
  display: inline-block;
}

.link-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.link-cluster a {
  text-decoration: none;
  padding: 0.35rem 0.66rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text);
}

.empty-state {
  margin: 0;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  color: var(--muted);
}

.related-articles-shell {
  padding: 0 0 2.6rem;
}

.related-articles-block {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.related-articles-head {
  padding-top: 0;
  margin-bottom: 1rem;
}

.related-articles-head h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(1.65rem, 2.2vw, 1.95rem);
  letter-spacing: -0.02em;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.related-article-card {
  min-width: 0;
}

.related-article-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(198, 213, 240, 0.95);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(22, 43, 86, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.related-article-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 34px rgba(12, 31, 68, 0.14);
  border-color: rgba(117, 147, 204, 0.75);
}

.related-article-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #dbe8ff, #f5f8ff);
}

.related-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.related-article-link:hover .related-article-media img {
  transform: scale(1.04);
}

.related-article-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 1rem 1.05rem;
}

.related-article-tag {
  margin: 0;
  color: #7a8ba4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-article-content h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.4;
}

.related-article-content p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.loading-text {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border);
  color: var(--muted);
  background: var(--surface-soft);
}

.loading-row {
  text-align: center;
  color: var(--muted) !important;
  background: var(--surface-soft);
  font-weight: 600;
}

.site-footer {
  position: relative;
  margin-top: 2.4rem;
  color: #eef4ff;
  background:
    radial-gradient(circle at 15% 10%, rgba(48, 95, 190, 0.16), transparent 34%),
    linear-gradient(180deg, #02050d 0%, #060a13 50%, #050811 100%);
  overflow: hidden;
}

.footer-shell {
  position: relative;
  z-index: 1;
  padding: 2rem 0 1.3rem;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3.2rem;
  padding-bottom: 1.8rem;
}

.footer-brand-column {
  flex: 0 0 360px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand-link {
  display: inline-flex;
  text-decoration: none;
}

.footer-logo-mark {
  width: 180px;
  height: auto;
  filter: none;
}

.footer-eyebrow {
  margin: 1rem 0 0.5rem;
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.35;
  max-width: 360px;
}

.footer-description {
  margin: 0;
  max-width: 340px;
  color: rgba(225, 234, 249, 0.72);
  font-size: 0.98rem;
  text-align: center;
}

.footer-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

.footer-store-btn {
  min-width: 164px;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-store-kicker {
  color: rgba(213, 225, 247, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-store-title {
  font-size: 1.02rem;
  font-weight: 700;
}

.footer-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  padding: 0.35rem 0 1.4rem;
}

.footer-column h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1rem;
}

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

.footer-list li {
  color: rgba(220, 231, 248, 0.72);
  font-size: 0.96rem;
}

.footer-list a {
  color: rgba(230, 238, 252, 0.82);
  text-decoration: none;
}

.footer-list span {
  color: rgba(220, 231, 248, 0.56);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(236, 242, 252, 0.88);
  font-size: 1rem;
  font-weight: 700;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: 20px;
  height: 20px;
}

.footer-social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-social-icon svg path,
.footer-social-icon svg rect,
.footer-social-icon svg circle {
  stroke: rgba(236, 242, 252, 0.92);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-icon svg .icon-fill {
  fill: rgba(236, 242, 252, 0.92);
  stroke: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-bottom {
  padding: 1rem 0 1.05rem;
  text-align: center;
}

.footer-copyright {
  margin: 0;
  color: rgba(212, 225, 245, 0.72);
}

.footer-stadium-strip {
  height: 280px;
  background:
    linear-gradient(180deg, rgba(5, 8, 17, 1) 0%, rgba(5, 8, 17, 0.92) 10%, rgba(5, 8, 17, 0.58) 28%, rgba(5, 8, 17, 0.14) 48%, rgba(5, 8, 17, 0) 68%),
    url("/assets/footer-stadium.jpg") center 62% / cover no-repeat;
  filter: saturate(1.05) contrast(1.02);
}

.footer-logo {
  filter: none;
}

.copyright-text {
  margin: 0;
  opacity: 0.7;
}

.faq-accordion {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1rem;
  font-weight: 700;
  color: var(--text);
  position: relative;
  padding-right: 2.3rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-strong);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
}

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-cta-group {
    justify-content: flex-start;
  }

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

  .groups-overview-grid,
  .matches-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cities-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stadiums-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .site-header {
    margin-bottom: 0;
  }

  .site-header-home {
    margin-bottom: 0;
  }

  .home-hero {
    padding-top: 1.5rem;
  }

  .header-topbar {
    display: none;
  }

  .nav-wrap {
    min-height: 74px;
    border-radius: 0;
    padding: 0.8rem 0;
    background: #fff;
  }

  .brand img {
    height: 56px !important;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(12, 15, 20, 0.98), rgba(18, 22, 29, 0.98));
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 18px 18px;
    padding: 0.85rem 1rem 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    box-shadow: 0 14px 30px rgba(3, 10, 26, 0.28);
  }

  .site-nav a {
    color: rgba(255, 255, 255, 0.9);
    width: 100%;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: none;
  }

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

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

  .related-articles-shell {
    padding-bottom: 2.5rem;
  }

  .related-articles-block {
    padding: 1rem;
    border-radius: 22px;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
  }

  .related-articles-head {
    padding-top: 0.95rem;
  }

  .footer-shell {
    padding-top: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .footer-store-btn {
    min-width: 0;
    width: 100%;
  }

  .footer-stadium-strip {
    height: 180px;
  }

  .groups-overview-grid,
  .matches-summary-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .match-card-fixture {
    align-items: flex-start;
  }

  .card-image {
    height: 205px;
  }

  .premium-content-block {
    grid-template-columns: 1fr;
  }

  .home-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
}

.premium-content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-soft);
}

.centered-block {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}

.content-max {
  max-width: 800px;
}

.intro-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1.2rem !important;
}

.intro-copy {
  font-size: 1.08rem !important;
  line-height: 1.6 !important;
}

.intro-copy-last {
  margin-bottom: 2rem !important;
}

.stats-grid-center {
  justify-content: center;
  width: 100%;
}

.panel-accent {
  margin-bottom: 2rem;
  border-top: 4px solid var(--primary);
}

.stacked-panels {
  margin-bottom: 2rem;
}

.content-text-col h2 {
  color: var(--primary-strong);
  font-family: "Bebas Neue", "Barlow", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.02em;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-text-col h2:first-child {
  margin-top: 0;
}

.content-text-col p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.content-text-col strong {
  color: var(--text);
  font-weight: 700;
}

.premium-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
}

.table-responsive {
  overflow-x: auto;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  text-align: left;
}

.data-table th, .data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.data-table th {
  background: var(--surface-soft);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--primary-strong);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: #f8fbff;
}

/* Local flags used with team names in table cells */
.team-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.country-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(16, 32, 56, 0.15);
  box-shadow: 0 1px 4px rgba(16, 32, 56, 0.2);
}

.match-teams {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.match-separator {
  color: var(--muted);
  font-weight: 700;
}

/* Homepage Redesign Components */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stats-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.stats-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.stats-card h4 {
  color: var(--primary-strong);
  font-size: 2.2rem;
  margin: 0;
  font-weight: 800;
  font-family: "Bebas Neue", sans-serif;
}

.stats-card span {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.timeline-block {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
}

.timeline-block.knockout {
  border-left-color: #ed3f5b;
}

.timeline-block h3 {
  color: var(--primary-strong);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  font-size: 1.25rem;
}

.overview-section-title {
  color: var(--primary-strong);
  margin: 0 0 0.75rem;
}

.groups-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.group-overview-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.group-overview-card h4 {
  margin: 0 0 0.85rem;
  color: var(--primary-strong);
  font-size: 1.05rem;
}

.group-overview-list {
  display: grid;
  gap: 0.6rem;
}

.group-overview-team {
  display: flex;
  align-items: center;
  min-height: 28px;
}

.overview-list-tight li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.timeline-note-card {
  margin-top: 1rem;
  background: linear-gradient(160deg, rgba(8, 34, 84, 0.05), rgba(20, 87, 171, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1.1rem;
}

.timeline-note-card h4 {
  margin: 0 0 0.55rem;
  color: var(--primary-strong);
}

.matches-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.match-summary-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
  display: grid;
  gap: 0.3rem;
}

.match-summary-card strong {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary-strong);
}

.match-summary-card span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.official-match-card {
  overflow: hidden;
}

.official-match-body {
  display: grid;
  gap: 0.85rem;
}

.match-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.match-card-fixture {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
  min-height: 30px;
}

.match-card-fixture .team-inline {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
}

.match-card-placeholder {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.match-card-meta {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  text-align: center;
}

.match-card-meta p,
.match-card-helper {
  margin: 0;
}

.match-location-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.match-location-link:hover,
.match-location-link:focus-visible {
  color: var(--accent);
  border-color: currentColor;
}

.match-card-helper {
  font-size: 0.92rem;
  color: var(--muted);
}

.broadcasting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.broadcasting-card {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-soft);
}

.broadcasting-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.broadcasting-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.broadcasting-dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

.broadcasting-card h4 {
  margin: 0;
  color: var(--primary-strong);
  font-size: 1.15rem;
}

/* News page */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.news-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.news-card h3 {
  margin: 0;
  color: var(--primary-strong);
  font-size: 1.1rem;
  line-height: 1.35;
}

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

.news-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #1f57d8, #0f43b5);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
}

.news-source {
  color: var(--primary-strong);
  font-weight: 700;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Countdown Timer */
.countdown-wrap {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.countdown-trophy {
  height: 140px;
  width: auto;
  filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.5));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.countdown-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  min-width: 100px;
  backdrop-filter: blur(12px);
  text-align: center;
}

.countdown-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "Bebas Neue", sans-serif;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.countdown-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffcad2;
  font-weight: 600;
}

@media (max-width: 600px) {
  .home-hero {
    padding: 1.25rem 0 1.1rem !important;
  }

  .home-hero .hero-inner h1 {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
  }

  .home-hero .hero-copy {
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
  }

  .home-hero .countdown-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    width: min(100%, 560px);
    padding: 0.92rem 0.78rem 0.8rem;
    gap: 0.82rem;
    border-radius: 16px;
  }

  .home-hero .countdown-intro {
    text-align: center;
    font-size: 0.96rem;
  }

  .home-hero .countdown-container {
    width: 100%;
    gap: 0.72rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .home-hero .countdown-item {
    min-width: 64px;
    padding: 0.54rem 0.42rem 0.4rem;
  }

  .home-hero .countdown-item:not(:last-child)::after {
    display: none;
  }

  .home-hero .countdown-value {
    font-size: 1.25rem;
  }

  .home-hero .countdown-brand {
    justify-content: center;
    justify-self: center;
    align-self: center;
    margin-top: 0;
  }

  .home-hero .countdown-brand-official {
    width: 102px;
  }

  .home-hero .hero-actions {
    gap: 0.5rem;
  }

  .countdown-container {
    gap: 0.8rem;
  }
  .countdown-item {
    min-width: 75px;
    padding: 0.8rem;
  }
  .countdown-value {
    font-size: 1.8rem;
  }
}

/* Standings Page Styles */
.standings-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  margin-top: 0.6rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  letter-spacing: 0.02em;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.filter-btn.active {
  background: linear-gradient(135deg, #c9a227, #e8c33a);
  border-color: #c9a227;
  color: #0a1628;
  font-weight: 800;
}

.standings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.3rem;
}

.group-panel {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid var(--border);
}

.group-header {
  background: linear-gradient(120deg, #1f57d8, #0f43b5);
  color: #fff;
  padding: 0.78rem 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.02rem;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.92rem;
}

.standings-table col.col-team {
  width: 56%;
}

.standings-table col.col-num {
  width: 8.8%;
}

.standings-table th {
  background: var(--surface-soft);
  color: var(--muted);
  padding: 0.66rem 0.65rem;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.standings-table th.team-col,
.standings-table td.team-col {
  text-align: left;
  padding-left: 0.85rem;
}

.standings-table th.num-col,
.standings-table td.num-col {
  text-align: center;
}

.standings-table td {
  padding: 0.76rem 0.65rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.standings-table tr:last-child td {
  border-bottom: none;
}

.standings-table tr:nth-child(even) {
  background: var(--bg-alt);
}

.standings-table tr:hover td {
  background: #eef4ff;
}

.standings-table .team-cell {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  min-width: 0;
}

.standings-table .team-cell strong {
  min-width: 1.25rem;
  color: var(--primary-strong);
}

.standings-table .team-cell span {
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.standings-table .pts-col {
  font-weight: 800;
  color: var(--primary-strong);
}

@media (max-width: 760px) {
  .standings-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .group-header {
    font-size: 0.95rem;
  }

  .standings-table {
    font-size: 0.85rem;
  }

  .standings-table th,
  .standings-table td {
    padding: 0.58rem 0.46rem;
  }

  .standings-table col.col-team {
    width: 52%;
  }

  .standings-table col.col-num {
    width: 9.6%;
  }
}

@media (max-width: 400px) {
  .standings-table td, .standings-table th {
    padding: 0.5rem 0.4rem;
    font-size: 0.79rem;
  }
}

/* Teams index: show local flag instead of photo */
.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card .card-body {
  padding-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.team-meta {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.team-flag-wrap {
  display: block;
  padding: 0;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border-bottom: 1px solid var(--border);
}

.team-flag-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

/* View Team button on team cards */
.team-card-btn-wrap {
  margin-top: auto;
  padding-top: 0.75rem;
}

.btn-view-team {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: "Barlow", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 14px rgba(15, 79, 224, 0.28);
  width: 100%;
  justify-content: center;
}

.btn-view-team::after {
  content: "→";
  font-size: 0.9rem;
  transition: transform 0.18s ease;
}

.btn-view-team:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 79, 224, 0.38);
}

.btn-view-team:hover::after {
  transform: translateX(3px);
}


.players-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.player-directory-card {
  overflow: hidden;
}

.players-grid .card-image {
  height: 240px;
  object-fit: cover;
  object-position: top center;
}

.players-grid .card-body {
  flex: 1;
}

.player-directory-body {
  display: grid;
  gap: 0.75rem;
}

.player-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.player-country {
  display: flex;
  align-items: center;
  min-height: 24px;
}

.player-country .team-inline {
  font-size: 0.95rem;
  font-weight: 700;
}

.player-quickfacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

@media (max-width: 760px) {
  .team-flag-wrap {
    height: 150px;
  }

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

  .players-grid .card-image {
    height: 210px;
  }

  .player-card-meta {
    align-items: flex-start;
  }
}

/* --- Premium Player Cards --- */
.squad-section {
  padding: 3rem 0;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  margin-block: 2rem;
}

.team-feature-figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(180, 196, 224, 0.85);
  box-shadow: 0 20px 42px rgba(12, 31, 68, 0.12);
  background: #061018;
}

.team-feature-image {
  display: block;
  width: 100%;
  height: auto;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.player-card {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.player-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.player-image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f4f8, #d9e2ec);
}

.player-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.player-card:hover .player-image-wrap img {
  transform: scale(1.05);
}

.player-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(16, 32, 56, 0.95) 0%, rgba(16, 32, 56, 0.6) 70%, transparent 100%);
  color: #fff;
  backdrop-filter: blur(8px);
}

.player-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.15);
  line-height: 0.8;
  pointer-events: none;
}

.player-pos {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.player-name {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.player-club {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 500;
}

.squad-list-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 3rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.squad-list-table th {
  text-align: left;
  padding: 1rem;
  background: var(--primary-strong);
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.squad-list-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.squad-list-table tr:last-child td {
  border-bottom: none;
}

.squad-list-table tr:hover {
  background: var(--bg-alt);
}
