* =========================================================
   MAIN.CSS 
   ========================================================= */

:root {
  --bg-deep: #02111f;
  --text-main: #eef8ff;
  --text-soft: rgba(224, 239, 255, 0.78);
  --line-soft: rgba(164, 213, 255, 0.16);
  --glass-stroke: rgba(173, 221, 255, 0.14);
  --glass-fill-1: rgba(8, 26, 44, 0.10);
  --glass-fill-2: rgba(7, 22, 38, 0.05);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.16);
  --blur-soft: blur(8px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-main);

  background:
    linear-gradient(
      to bottom,
      rgba(4, 16, 34, 0.16) 0%,
      rgba(6, 22, 44, 0.10) 35%,
      rgba(8, 28, 52, 0.08) 65%,
      rgba(2, 10, 22, 0.14) 100%
    ),
    url('../assets/images/background.png') center top / cover no-repeat;

  background-color: var(--bg-deep);
}

.hero {
  min-height: 100vh;
  position: relative;
  overflow: visible;
  background: transparent;
  padding: 20px;
}

/* HERO FIELD CLEANUP - localized only */
.hero::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 52% 72%,
      rgba(70, 180, 255, 0.10) 0%,
      rgba(42, 132, 255, 0.08) 24%,
      rgba(12, 58, 94, 0.14) 52%,
      transparent 72%
    ),

    linear-gradient(
      to bottom,
      rgba(2, 12, 26, 0.10),
      rgba(4, 18, 34, 0.16),
      rgba(8, 34, 42, 0.18)
    );

  backdrop-filter: blur(2px);
}

/* =========================================================
   HERO
========================================================= */

.hero-home-button {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;

  padding: 11px 20px;
  border: 1px solid rgba(175, 235, 255, 0.22);
  border-radius: 999px;

  background:
    radial-gradient(circle at 20% 0%, rgba(180, 235, 255, 0.22), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.075));

  box-shadow:
    0 0 24px rgba(120, 220, 255, 0.24),
    0 0 36px rgba(90, 255, 200, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 0 20px rgba(255,255,255,0.09);

  backdrop-filter: blur(13px) saturate(130%);
  -webkit-backdrop-filter: blur(13px) saturate(130%);

  cursor: pointer;

  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.hero-home-button:hover {
  transform: translateY(-2px) scale(1.035);

  background:
    radial-gradient(circle at 20% 0%, rgba(220, 250, 255, 0.34), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(120,230,255,0.09));

  border-color: rgba(190, 250, 255, 0.42);

  box-shadow:
    0 0 34px rgba(120, 230, 255, 0.34),
    0 0 52px rgba(90, 255, 200, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 0 24px rgba(255,255,255,0.13);
}

.hero-home-button:active {
  transform: scale(0.96);
}

.hero-icon {
  position: relative;

  font-size: 40px;
  line-height: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transform-origin: center;

  will-change: transform, filter;

  transition:
    transform 220ms ease,
    filter 220ms ease;
}

/* =========================================================
   INDIVIDUAL ICON HOVERS
========================================================= */

.hero-icon:hover {
  transform: translateY(-4px) scale(1.28);

  filter:
    brightness(1.18)
    drop-shadow(0 0 14px rgba(255,255,255,0.70))
    drop-shadow(0 0 30px rgba(120,230,255,0.52))
    drop-shadow(0 0 46px rgba(90,255,200,0.28));
}

/* =========================================================
   GLOBE
========================================================= */

.icon-globe {
  animation: globeFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(120, 220, 255, 0.24));
  transform-style: preserve-3d;
}

@keyframes globeFloat {
  0%, 100% {
    transform: perspective(220px) rotateY(0deg) rotateZ(0deg) translateY(0);
  }

  25% {
    transform: perspective(220px) rotateY(18deg) rotateZ(8deg) translateY(-2px);
  }

  50% {
    transform: perspective(220px) rotateY(-20deg) rotateZ(-6deg) translateY(1px);
  }

  75% {
    transform: perspective(220px) rotateY(12deg) rotateZ(5deg) translateY(-1px);
  }
}

/* =========================================================
   EYE
========================================================= */

.icon-eye {
  display: inline-flex;
  transform: scaleX(-1);
  animation: eyeWatchField 6.5s ease-in-out infinite;
}

.hero-home-button:hover .icon-eye {
  animation-duration: 3.5s;
}

@keyframes eyeWatchField {
  0%, 100% {
    transform: scaleX(-1) translateX(0) translateY(0) scale(1);
  }

  24% {
    transform: scaleX(-1) translateX(2px) translateY(0) scale(1.04);
  }

  32% {
    transform: scaleX(-1) translateX(2px) translateY(1px) scaleY(0.18);
  }

  38% {
    transform: scaleX(-1) translateX(2px) translateY(0) scaleY(1);
  }

  62% {
    transform: scaleX(-1) translateX(1px) translateY(3px) scale(1.03);
  }

  72% {
    transform: scaleX(-1) translateX(0) translateY(0) scale(1);
  }
}

/* =========================================================
   BALL
========================================================= */

.icon-ball {
  animation: ballBounceNatural 2.8s ease-in-out infinite;
}

.hero-home-button:hover .icon-ball {
  animation-duration: 1.4s;
}

@keyframes ballBounceNatural {

  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }

  18% {
    transform: translateY(-8px) rotate(18deg);
  }

  36% {
    transform: translateY(0) rotate(42deg);
  }

  58% {
    transform: translateY(-14px) rotate(88deg);
  }

  76% {
    transform: translateY(0) rotate(120deg);
  }
}

/* =========================================================
   HERO TITLE
========================================================= */

.hero-title-wrap {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: min(900px, 88%);

  animation: heroReveal 1.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title-frame {
  position: relative;
  padding: 1.7rem 1.7rem 1.45rem;
  border-radius: 32px;

  background:
    radial-gradient(circle at 18% 0%, rgba(120,220,255,0.22), transparent 34%),
    radial-gradient(circle at 82% 100%, rgba(90,255,200,0.16), transparent 34%),
    linear-gradient(180deg, rgba(10,20,34,0.30), rgba(7,14,24,0.13));

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 24px 60px rgba(0,0,0,0.20),
    0 0 34px rgba(90,220,255,0.14),
    inset 0 1px 0 rgba(255,255,255,0.10);

  overflow: hidden;
  animation: heroFrameBreath 6s ease-in-out infinite;
}

.hero-title-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 3px;
  border-radius: 32px;

  background: linear-gradient(
  120deg,
  rgba(80,220,255,1),
  rgba(255,255,255,0.55),
  rgba(105,255,190,1),
  rgba(255,215,120,0.72),
  rgba(80,220,255,1)
);
  background-size: 260% 260%;
  animation: heroBorderFlow 6s linear infinite;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
}

.hero-title-frame::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      105deg,
      transparent 18%,
      rgba(255,255,255,0.16) 48%,
      transparent 74%
    );

  transform: translateX(-120%);
  animation: heroLightSweep 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-kicker {
  margin: 0 0 0.7rem;

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.24em;
  text-transform: uppercase;

  color: rgba(210, 232, 255, 0.86);
}

.hero-title {
  margin: 0;

  font-size: clamp(2.4rem, 6vw, 5.2rem);

  font-weight: 800;
  line-height: 1;

  letter-spacing: -0.05em;

  text-align: center;
  white-space: nowrap;

  color: rgba(255,255,255,0.96);

  text-shadow:
  0 0 20px rgba(120,220,255,0.24),
  0 0 42px rgba(255,255,255,0.12),
  0 3px 18px rgba(0,0,0,0.34);
}

.hero-subtitle {
  margin: 0.95rem 0 0;

  font-size: clamp(1rem, 2vw, 1.28rem);

  text-align: center;

  color: rgba(228, 240, 252, 0.90);
}

/* =========================================================
   HERO ENTRY
========================================================= */

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(26px) scale(0.94);
    filter: blur(8px);
  }

  65% {
    opacity: 1;
    transform: translateX(-50%) translateY(-3px) scale(1.025);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroLightSweep {

  0%, 100% {
    transform: translateX(-120%);
  }

  50% {
    transform: translateX(120%);
  }
}

@keyframes heroBorderFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 260% 50%;
  }
}

@keyframes heroFrameBreath {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 24px 60px rgba(0,0,0,0.20),
      0 0 34px rgba(90,220,255,0.14),
      inset 0 1px 0 rgba(255,255,255,0.10);
  }

  50% {
    transform: translateY(-2px);
    box-shadow:
      0 28px 66px rgba(0,0,0,0.22),
      0 0 46px rgba(90,220,255,0.22),
      0 0 32px rgba(105,255,190,0.12),
      inset 0 1px 0 rgba(255,255,255,0.13);
  }
}

/* =========================================================
   DRIBBLE ANIMATION
   Clean first-pass version:
   - two runners: one moves right, one moves left
   - both face forward in their travel direction
   - transparent PNG frames remove the white source block
========================================================= */

.dribble-lane {
  position: absolute;
  top: calc(18% + 285px);
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 80vw);
  height: 340px;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
  opacity: 0.58;
}

.dribble-runner {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 290px;
  height: 290px;
  filter:
    drop-shadow(0 0 8px rgba(86, 180, 255, 0.75))
    drop-shadow(0 0 24px rgba(35, 128, 255, 0.5));
}

.dribble-runner {
  opacity: 0.62;
  filter:
    blur(0.4px)
    saturate(0.88)
    brightness(0.92)
    drop-shadow(0 0 10px rgba(90, 200, 255, 0.45));
}

.dribble-runner--right {
  animation: dribbleRight 70s ease-in-out infinite;
}

.dribble-runner--left {
  animation: dribbleLeft 70s ease-in-out infinite;
}

.dribble-runner--left .dribble-frame,
.dribble-runner--left::after {
  transform: scaleX(-1);
}

.dribble-frame {
  position: absolute;
  left: 0;
  top: 0;
  width: 270px;
  height: auto;
  opacity: 0;
  animation: dribbleFrames 36s ease-in-out infinite;
  filter:
    drop-shadow(0 0 5px rgba(92, 189, 255, 0.55))
    drop-shadow(0 0 14px rgba(45, 130, 255, 0.38));
}

.dribble-frame:nth-of-type(1) { animation-delay: 0s; }
.dribble-frame:nth-of-type(2) { animation-delay: 6s; }
.dribble-frame:nth-of-type(3) { animation-delay: 12s; }
.dribble-frame:nth-of-type(4) { animation-delay: 18s; }
.dribble-frame:nth-of-type(5) { animation-delay: 24s; }
.dribble-frame:nth-of-type(6) { animation-delay: 30s; }

.dribble-trail {
  position: absolute;
  left: -48px;
  top: 108px;
  width: 300px;
  height: 95px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 50%, rgba(115, 205, 255, 0.5), transparent 34%),
    linear-gradient(90deg, transparent, rgba(42, 139, 255, 0.32), transparent);
  opacity: 0.32;
  filter: blur(16px);
  transform: rotate(-8deg);
  z-index: -1;
  animation: dribbleTrailPulse 2.8s ease-in-out infinite;
}


@keyframes dribbleFrames {
  0%, 8% {
    opacity: 0;
  }

  11%, 24% {
    opacity: 1;
  }

  29%, 100% {
    opacity: 0;
  }
}

@keyframes dribbleRight {

  0% {
    opacity: 1;
    transform: translate(-430px, 80px) scale(0.88) rotate(-4deg);
  }

  18% {
    opacity: 1;
    transform: translate(-245px, 35px) scale(0.96) rotate(2deg);
  }

  34% {
    opacity: 1;
    transform: translate(10px, 135px) scale(1.04) rotate(-3deg);
  }

  48% {
    opacity: 1;
    transform: translate(210px, 70px) scale(0.94) rotate(3deg);
  }

  50%, 100% {
    opacity: 0;
    transform: translate(210px, 70px) scale(0.94) rotate(3deg);
  }
}

@keyframes dribbleLeft {

  0%, 50% {
    opacity: 0;
    transform: translate(210px, 70px) scale(0.94) rotate(3deg);
  }

  52% {
    opacity: 1;
    transform: translate(210px, 70px) scale(0.94) rotate(3deg);
  }

  68% {
    opacity: 1;
    transform: translate(20px, 145px) scale(1.02) rotate(-4deg);
  }

  84% {
    opacity: 1;
    transform: translate(-170px, 55px) scale(0.96) rotate(2deg);
  }

  100% {
    opacity: 1;
    transform: translate(-340px, 125px) scale(0.88) rotate(-3deg);
  }
}


/* =========================================================
   LEFT NAV INTERACTION / REVEAL
========================================================= */

.side-nav {
  position: absolute;
  top: 160px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 6;
  padding: 12px;

  border-radius: 32px;

background:
  radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.22), transparent 30%),
  linear-gradient(135deg, rgba(70, 190, 255, 0.22), rgba(45, 255, 185, 0.08));

box-shadow:
  0 16px 34px rgba(0, 0, 0, 0.14),
  0 0 24px rgba(80, 200, 255, 0.08),
  inset 0 1px 0 rgba(255, 255, 255, 0.14);

backdrop-filter: blur(12px) saturate(125%);
-webkit-backdrop-filter: blur(12px) saturate(125%);  

  overflow: hidden;
}

.side-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.10),
      rgba(255,255,255,0)
    );

  opacity: 0.5;
}

.side-nav-button {
  width: 96px;
  min-height: 106px;
  padding: 14px 10px;

  border-radius: 24px;

  border: 1px solid rgba(135, 230, 255, 0.22);

  background:
  radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.22), transparent 30%),
  linear-gradient(
    135deg,
    rgba(70, 190, 255, 0.022),
    rgba(45, 255, 185, 0.08)
  );

  color: #ffffff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;

  cursor: pointer;
  position: relative;
  overflow: hidden;

 box-shadow:
  0 16px 34px rgba(0, 0, 0, 0.14),
  0 0 24px rgba(80, 200, 255, 0.08),
  inset 0 1px 0 rgba(255, 255, 255, 0.14);

  transition:
    transform 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    opacity 0.24s ease,
    filter 0.24s ease;
}

.side-nav-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.side-nav:hover .side-nav-button {
  opacity: 0.58;
  transform: scale(0.98);
  filter: saturate(0.9);
}

.side-nav:hover .side-nav-button:hover {
  opacity: 1;

  transform: translateX(8px) scale(1.03);

  border-color: rgba(140, 220, 255, 0.22);

  background:
  radial-gradient(circle at 35% 18%, rgba(255,255,255,0.20), transparent 30%),
  linear-gradient(
    135deg,
    rgba(70, 190, 255, 0.28),
    rgba(45, 255, 185, 0.10)
  );

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 28px rgba(70, 190, 255, 0.18);

  filter: saturate(1.08);
}

.side-nav:hover .side-nav-button:hover::after {
  opacity: 1;
}

.side-nav-button .nav-icon {
  width: 52px;
  height: 52px;

  border-radius: 18px;

  display: grid;
  place-items: center;

  background: rgba(255,255,255,0.09);

  border: 1px solid rgba(140, 220, 255, 0.10);

  font-size: 24px;
  line-height: 1;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 20px rgba(120, 220, 255, 0.012);

  transition:
    transform 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.side-nav-button strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.side-nav-button:hover .nav-icon {
  transform: translateY(-2px) scale(1.07);
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 20px rgba(90, 180, 255, 0.14);
}

.side-nav-button:hover strong {
  transform: translateY(-1px);
}

.side-nav-button.is-active {
  opacity: 1 !important;
  transform: translateX(12px) scale(1.02) !important;
  border-color: rgba(150, 215, 255, 0.3);
  background:
  radial-gradient(circle at 35% 18%, rgba(255,255,255,0.22), transparent 30%),
  linear-gradient(
    135deg,
    rgba(70, 190, 255, 0.32),
    rgba(45, 255, 185, 0.12)
  );
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 28px rgba(90, 180, 255, 0.24);
  filter: saturate(1.1);
}

.side-nav-button.is-active::after {
  opacity: 1;
}

.side-nav-button.is-active .nav-icon {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 22px rgba(90, 180, 255, 0.18);
}

.side-nav-button.is-active strong {
  transform: translateY(-1px);
}

.nav-panel {
  display: none;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
}

.nav-panel.is-open {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: navPanelReveal 0.32s ease both;
}

.nav-panel--placeholder {
  padding: 72px 24px 56px 150px;
}

body.nav-panel-active .wc-groups-overlay,
body.nav-panel-active .top-scorers-section,
body.nav-panel-active .wc-knockout {
  opacity: 0.22;
  filter: blur(2px);
  transform: scale(0.995);
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    filter 0.28s ease,
    transform 0.28s ease;
}

body.nav-panel-active .wc-results,
body.nav-panel-active .wc-fixtures-section,
body.nav-panel-active #hosts-panel,
body.nav-panel-active #format-panel {
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    filter 0.28s ease;
}

body.nav-panel-active .nav-panel.is-open {
  position: relative;
  z-index: 5;
}

@keyframes navPanelReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .side-nav {
    top: 112px;
    left: 18px;
    padding: 8px;
    border-radius: 24px;
  }

  .side-nav-button {
    width: 88px;
    min-height: 96px;
    border-radius: 22px;
  }
}

@media (max-width: 640px) {
  .side-nav {
    top: 88px;
    left: 16px;
    gap: 10px;
    padding: 6px;
  }

  .side-nav-button {
    width: 82px;
    min-height: 86px;
    padding: 10px 8px;
  }

  .side-nav-button .nav-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .side-nav-button.is-active {
    transform: translateX(6px) scale(1.01) !important;
  }
}

/* =========================================================
   HOST/ REVEAL
========================================================= */

.host-reveal {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(180, 220, 255, 0.18);
  border-radius: 28px;

  background:
    radial-gradient(circle at 20% 0%, rgba(120, 220, 255, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(5, 20, 40, 0.24);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 24px 80px rgba(0,0,0,0.24);
}

.host-reveal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.host-reveal-head h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 18px;
}

.host-reveal-head span {
  color: rgba(225, 236, 255, 0.78);
  font-size: 13px;
}

.host-reveal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.host-map-card,
.host-detail-card {
  padding: 20px;
  border: 1px solid rgba(190, 225, 255, 0.18);
  border-radius: 22px;

  background:
    radial-gradient(circle at 22% 0%, rgba(145, 225, 255, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(8, 22, 42, 0.22);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 44px rgba(0,0,0,0.20);

  max-height: 860px;
  overflow-y: auto;
  padding-right: 12px;
}

.host-map-card h4,
.host-detail-card h4 {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(220, 232, 255, 0.78);
  font-size: 13px;
}

.host-country-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.host-country-tab {
  border: 1px solid rgba(210, 225, 255, 0.16);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.host-country-tab.is-active {
  border-color: rgba(255, 208, 93, 0.75);
  background: rgba(255, 208, 93, 0.14);
}

.north-america-map {
  position: relative;
  min-height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(50, 103, 178, 0.92), rgba(18, 43, 92, 0.96));
  border: 1px solid rgba(130, 180, 255, 0.2);
}

.host-map-pin {
  position: absolute;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: white;
}

.host-map-pin span {
  display: block;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(10, 18, 34, 0.88);
  font-weight: 900;
  font-size: 14px;
}

.host-map-pin i {
  display: block;
  width: 18px;
  height: 18px;
  margin: 4px auto 0;
  border-radius: 50%;
  background: #ffd45f;
  box-shadow: 0 0 24px rgba(255, 212, 95, 0.8);
}

.host-map-pin i::after {
  content: "";
  display: block;
  width: 2px;
  height: 22px;
  margin: 14px auto 0;
  background: linear-gradient(to bottom, rgba(255, 212, 95, 0.9), transparent);
}

.host-map-pin--canada {
  top: 18%;
  left: 31%;
}

.host-map-pin--usa {
  top: 34%;
  left: 37%;
}

.host-map-pin--mexico {
  top: 56%;
  left: 48%;
}

.host-map-pin.is-active span {
  background: rgba(255, 212, 95, 0.95);
  color: #071226;
}

.host-detail-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.host-detail-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(225, 236, 255, 0.82);
}

.host-venue-list {
  display: grid;
  gap: 10px;
  color: rgba(225, 236, 255, 0.82);
}

.host-venue-item {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(220, 235, 255, 0.12);
}

.host-venue-item strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.host-venue-item span {
  display: block;
  color: rgba(225, 236, 255, 0.78);
  font-size: 14px;
}

.north-america-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.host-map-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 14px rgba(255, 220, 90, 0.7));
  opacity: 0.95;
}

.host-map-shape--canada {
  width: 170px;
  top: 35px;
  left: 230px;
}

.host-map-shape--usa {
  width: 180px;
  top: 145px;
  left: 330px;
}

.host-map-shape--mexico {
  width: 170px;
  top: 240px;
  left: 235px;
}

.host-map-pin {
  position: absolute;
  z-index: 2;
}

.host-map-pin--canada {
  top: 105px;
  left: 300px;
}

.host-map-pin--usa {
  top: 190px;
  left: 390px;
}

.host-map-pin--mexico {
  top: 285px;
  left: 330px;
}

.host-detail-card::-webkit-scrollbar {
  width: 6px;
}

.host-detail-card::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(180, 220, 255, 0.26);
}

.host-detail-card::-webkit-scrollbar-track {
  background: transparent;
}

/* =========================================================
   VENUES - REVEAL
========================================================= */

.venue-detail-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(220, 235, 255, 0.12);
}

.venue-detail-panel p {
  margin: 0;
  color: rgba(225, 236, 255, 0.72);
}

.venue-detail-card {
  padding: 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 212, 95, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025)),
    rgba(8, 18, 36, 0.20);
  border: 1px solid rgba(220, 235, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 45px rgba(0, 0, 0, 0.20);
}

.venue-detail-kicker {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 212, 95, 0.9);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.venue-detail-card h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 22px;
}

.venue-detail-card > p {
  margin-bottom: 14px;
}

.venue-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.venue-detail-grid div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.venue-detail-grid strong {
  display: block;
  color: #fff;
  font-size: 15px;
}

.venue-detail-grid span {
  display: block;
  margin-top: 4px;
  color: rgba(225, 236, 255, 0.66);
  font-size: 12px;
}

.venue-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.venue-notes span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 212, 95, 0.12);
  color: rgba(255, 232, 170, 0.95);
  font-size: 12px;
  font-weight: 700;
}

/* FINAL HOST MAP CLEANUP */

.north-america-map {
  position: relative;
  min-height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(50, 103, 178, 0.92), rgba(18, 43, 92, 0.96));
  border: 1px solid rgba(130, 180, 255, 0.2);
}

.host-map-shape,
.host-map-pin {
  display: none !important;
}

.host-map-country {
  position: absolute;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.host-map-country img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 0 16px rgba(255, 220, 90, 0.75));
}

.host-map-country span {
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 18, 36, 0.92);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}

.host-map-country.is-active span {
  background: rgba(255, 212, 95, 0.95);
  color: #071226;
}

.host-map-country--canada {
  width: 100px;
  top: 10px;
  left: 160px;
}

.host-map-country--usa {
  width: 160px;
  top: 110px;
  left: 100px;
}

.host-map-country--mexico {
  width: 100px;
  top: 155px;
  left: 175px;
}

/* =========================================================
   HOST REVEAL - ACTIVE / HOVER POLISH
========================================================= */

.host-country-tab:hover,
.host-detail-tags span:hover,
.host-venue-item:hover {
  border-color: rgba(255, 212, 95, 0.65);
  background: rgba(255, 212, 95, 0.12);
  box-shadow: 0 0 18px rgba(255, 212, 95, 0.18);
  transform: translateY(-1px);
}

.host-country-tab,
.host-detail-tags span,
.host-venue-item {
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.host-country-tab.is-active,
.host-detail-tags span:last-child {
  border-color: rgba(105, 255, 190, 0.70);
  background:
    linear-gradient(135deg, rgba(105, 255, 190, 0.24), rgba(80, 180, 255, 0.10));
  color: #efffff;
  box-shadow:
    0 0 0 1px rgba(105, 255, 190, 0.24),
    0 0 22px rgba(105, 255, 190, 0.18);
}

.host-venue-item {
  cursor: pointer;
}

/* Venue card base */
.host-venue-item {
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

/* Hover only = preview */
.host-venue-item:hover {
  border-color: rgba(255, 212, 95, 0.38);
  background: rgba(255, 212, 95, 0.08);
  box-shadow: 0 0 14px rgba(255, 212, 95, 0.10);
  transform: translateY(-1px);
}

/* Active/clicked = selected venue */
.host-venue-item.is-active {
  border-color: rgba(255, 212, 95, 0.88);
  background:
    radial-gradient(circle at 18% 0%, rgba(105, 255, 190, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(255, 212, 95, 0.18), rgba(80, 180, 255, 0.08));
  box-shadow:
    inset 0 0 0 1px rgba(105, 255, 190, 0.20),
    0 0 20px rgba(255, 212, 95, 0.20),
    0 0 24px rgba(105, 255, 190, 0.12);
    transform: translateY(-1px) scale(1.01);

}

/* Active remains stronger even while hovered */
.host-venue-item.is-active:hover {
  border-color: rgba(255, 212, 95, 1);
  background:
    linear-gradient(135deg, rgba(255, 212, 95, 0.30), rgba(255, 255, 255, 0.09));
  box-shadow:
    inset 0 0 0 1px rgba(255, 212, 95, 0.45),
    0 0 34px rgba(255, 212, 95, 0.32);
}

.venue-detail-card {
  box-shadow:
    inset 0 0 0 1px rgba(255, 212, 95, 0.12),
    0 18px 45px rgba(0, 0, 0, 0.25);
}

.venue-detail-kicker {
  color: rgba(255, 212, 95, 0.95);
  text-shadow: 0 0 14px rgba(255, 212, 95, 0.35);
}

.venue-fixtures {
  margin-top: 14px;
}

.venue-fixtures h4 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(210, 225, 255, 0.82);
}

.venue-fixture-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 8px 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(220, 235, 255, 0.08);
}

.venue-fixture-row strong {
  font-size: 12px;
  color: rgba(255, 212, 95, 0.92);
}

.venue-fixture-row span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 800;
}

.venue-fixture-row small {
  grid-column: 2;
  margin-top: -4px;
  font-size: 11px;
  color: rgba(185, 205, 235, 0.68);
}

/* =========================================================
   HOST REVEAL - FINAL COLOR BALANCE
========================================================= */

/* Country tabs: cyan/green instead of yellow */
.host-country-tab.is-active {
  border-color: rgba(105, 255, 190, 0.70);
  background:
    linear-gradient(135deg, rgba(105, 255, 190, 0.24), rgba(80, 180, 255, 0.10));
  color: #efffff;
  box-shadow:
    0 0 0 1px rgba(105, 255, 190, 0.24),
    0 0 22px rgba(105, 255, 190, 0.18);
}

/* Country label on map: keep host identity strong */
.host-map-country.is-active span {
  background:
    linear-gradient(135deg, rgba(105, 255, 190, 0.94), rgba(90, 190, 255, 0.86));
  color: #061827;
  box-shadow:
    0 0 18px rgba(105, 255, 190, 0.38),
    0 0 28px rgba(90, 190, 255, 0.22);
}

/* Selected venue kicker: make it cyan, not yellow */
.venue-detail-kicker {
  color: rgba(120, 235, 255, 0.95);
  text-shadow: 0 0 14px rgba(120, 235, 255, 0.30);
}

/* Venue note: warm amber, but softer */
.venue-notes span {
  background:
    linear-gradient(135deg, rgba(255, 190, 90, 0.18), rgba(255,255,255,0.05));
  color: rgba(255, 230, 175, 0.96);
  border: 1px solid rgba(255, 205, 120, 0.16);
}

/* Fixture dates: use green/cyan instead of yellow */
.venue-fixture-row strong {
  color: rgba(120, 220, 255, 0.95);
  text-shadow: 0 0 10px rgba(120, 220, 255, 0.18);
}

/* Venue active state stays gold so selection is obvious */
.host-venue-item.is-active {
  border-color: rgba(255, 212, 95, 0.88);
}

/* =========================================================
   FORMAT PANEL
========================================================= */

.format-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.format-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 260px;
  padding: 34px 24px 28px;
  border-radius: 28px;
  border: 1px solid rgba(180, 220, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 20px 48px rgba(0,0,0,0.24);
  animation: formatCardIn 0.7s ease both;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.format-card:nth-child(1) {
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.2), transparent 34%),
    linear-gradient(145deg, rgba(76, 210, 130, 0.34), rgba(25, 90, 80, 0.42));
}

.format-card:nth-child(2) {
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.2), transparent 34%),
    linear-gradient(145deg, rgba(65, 190, 255, 0.34), rgba(30, 75, 135, 0.42));
  animation-delay: 0.08s;
}

.format-card:nth-child(3) {
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.2), transparent 34%),
    linear-gradient(145deg, rgba(255, 205, 95, 0.34), rgba(115, 85, 25, 0.42));
  animation-delay: 0.16s;
}

.format-card:nth-child(4) {
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.18), transparent 34%),
    linear-gradient(145deg, rgba(190, 120, 255, 0.34), rgba(55, 55, 120, 0.44));
  animation-delay: 0.24s;
}

.format-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.28),
    transparent
  );
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.format-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.16);
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

.format-card:hover {
  animation: formatHoverLift 0.55s ease both;
  border-color: rgba(210, 240, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 26px 60px rgba(0,0,0,0.32),
    0 0 28px rgba(130, 220, 255, 0.18);
}

.format-card:hover::before {
  opacity: 1;
  animation: formatSheen 1.1s ease;
}

.format-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.format-card h3 {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.05;
  font-weight: 950;
  transition:
    transform 0.25s ease,
    text-shadow 0.25s ease;
}

.format-card:hover h3 {
  transform: translateY(-3px);
  text-shadow: 0 0 18px rgba(255,255,255,0.28);
}

.format-card p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 215px;
  margin: 0 auto;
  text-align: left;
  color: rgba(245,250,255,0.88);
  line-height: 1.45;
  font-weight: 750;
}

.format-card p span {
  display: block;
  width: 100%;
  font-size: 15px;
  line-height: 1.35;
}

.format-card-copy {
  max-width: 220px !important;
  align-items: center !important;
  text-align: center !important;
}

@keyframes formatHoverLift {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-9px) scale(1.025);
  }
  100% {
    transform: translateY(-6px) scale(1.02);
  }
}

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

@keyframes formatSheen {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

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

@media (max-width: 560px) {
  .format-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MATCHDAY - TRIGGER / OVERLAY
========================================================= */

.matchday-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  padding: 44px 32px;
  background:
    radial-gradient(circle at 22% 12%, rgba(70, 210, 255, 0.14), transparent 34%),
    radial-gradient(circle at 80% 22%, rgba(105, 255, 190, 0.10), transparent 32%),
    linear-gradient(rgba(4, 16, 38, 0.06), rgba(4, 16, 38, 0.16)),
    url("../assets/images/background.png") center / cover no-repeat;
  color: #f7fbff;
  overflow-y: auto;
}

.matchday-overlay::before {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.10), transparent 22%),
    radial-gradient(circle at 75% 20%, rgba(130,220,255,0.12), transparent 26%),
    radial-gradient(circle at 55% 75%, rgba(95,255,190,0.08), transparent 26%);
  filter: blur(34px);
  opacity: 0.72;
  animation: matchdayAtmosphere 18s ease-in-out infinite alternate;
}

.matchday-overlay::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      110deg,
      transparent 0%,
      transparent 38%,
      rgba(180, 235, 255, 0.08) 48%,
      transparent 58%,
      transparent 100%
    );
  opacity: 0.55;
  animation: matchdayLightSweep 12s ease-in-out infinite;
}

.matchday-overlay.is-open {
  display: block;
}

.matchday-utility {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
}

.matchday-trigger {
  position: relative;
  border: none;
  border-radius: 999px;
  padding: 14px 26px;
  background:
    linear-gradient(135deg, rgba(18, 210, 125, 0.96), rgba(35, 235, 190, 0.86));
  color: #031a18;
  font-weight: 900;
  letter-spacing: 0.03em;
  cursor: pointer;
  backdrop-filter: blur(14px);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.35),
    0 0 0 1px rgba(190, 255, 230, 0.42),
    0 0 30px rgba(35, 235, 190, 0.34);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  animation: matchdayButtonPulse 3.2s ease-in-out infinite;
}

.matchday-trigger::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(125, 225, 255, 0.18);
  opacity: 0;
  transform: scale(0.92);
  animation: matchdayButtonRing 3.2s ease-in-out infinite;
}

.matchday-trigger:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(20, 70, 125, 0.98), rgba(30, 125, 170, 0.94));
  box-shadow:
    0 16px 38px rgba(0,0,0,0.42),
    0 0 0 1px rgba(190, 240, 255, 0.34),
    0 0 34px rgba(90, 220, 255, 0.28);
}

.matchday-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

.matchday-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 28px auto 36px;
  padding: 40px 42px;
  border: 1px solid rgba(170, 225, 255, 0.26);
  border-radius: 32px;
  background:
    radial-gradient(circle at 22% 0%, rgba(145, 225, 255, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035)),
    rgba(5, 22, 45, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.matchday-hero {
  margin-bottom: 34px;
}

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

.matchday-hero p {
  margin: 0;
  max-width: 720px;
  color: rgba(245, 250, 255, 0.84);
  font-weight: 700;
}

.matchday-summary {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.matchday-summary-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(190, 230, 255, 0.22);
  font-size: 14px;
  font-weight: 900;
  color: rgba(250, 255, 255, 0.96);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.16),
    inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.matchday-summary-chip--matches {
  background:
    radial-gradient(circle at 25% 0%, rgba(255,255,255,0.18), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
}

.matchday-summary-chip--goals {
  background:
    radial-gradient(circle at 25% 0%, rgba(80,220,255,0.22), transparent 42%),
    linear-gradient(135deg, rgba(80,220,255,0.16), rgba(255,255,255,0.06));
  border-color: rgba(130, 230, 255, 0.30);
  box-shadow:
    0 0 20px rgba(80,220,255,0.14),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.matchday-summary-chip--biggest {
  background:
    radial-gradient(circle at 25% 0%, rgba(255,215,120,0.26), transparent 42%),
    linear-gradient(135deg, rgba(255,215,120,0.18), rgba(255,255,255,0.06));
  border-color: rgba(255, 225, 140, 0.34);
  box-shadow:
    0 0 22px rgba(255, 215, 120, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.13);
}

.matchday-empty {
  padding: 28px 22px;
  border-radius: 24px;
  border: 1px dashed rgba(180, 220, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(245, 250, 255, 0.82);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

/* =========================================================
   MATCHDAY LAYOUT
========================================================= */

.matchday-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.matchday-main-card {
  min-width: 0;
  padding: 18px;
  min-height: 360px;
}

.matchday-main-card .matchday-card-head span {
  letter-spacing: 0.10em;
  text-shadow: 0 0 16px rgba(120, 230, 255, 0.24);
}

.matchday-side-stack {
  display: grid;
  gap: 22px;
  align-content: start;
}

.matchday-mini-card,
.matchday-story-card,
.matchday-pulse-card {
  border: 1px solid rgba(180, 220, 255, 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 24% 0%, rgba(145, 225, 255, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.09),
    0 18px 40px rgba(0,0,0,0.16);
}

.matchday-mini-card {
  min-height: auto;
  height: fit-content;
  padding: 18px;
  overflow: hidden;
  opacity: 0.78;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  animation: matchdayFadeUp 0.45s ease forwards;
}

.matchday-story-card,
.matchday-pulse-card {
  padding: 22px;
}

.matchday-story-card {
  grid-column: 1 / 2;
}

.matchday-pulse-card {
  grid-column: auto;
}

.matchday-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  font-weight: 900;
}

.matchday-card-head span,
.matchday-mini-card h3,
.matchday-story-card h3,
.matchday-pulse-card h3 {
  margin: 0 0 14px;
  padding-left: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.matchday-story-card p,
#matchdayStory {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
}

.matchday-story-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 215, 120, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(255, 215, 120, 0.12), rgba(255,255,255,0.045));
  border-color: rgba(255, 225, 140, 0.26);
}

.matchday-side-date {
  display: block;
  margin: -6px 0 12px;
  padding-left: 2px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(245, 250, 255, 0.7);
}

/* =========================================================
   MATCHDAY CARD ADAPTATION
========================================================= */

.matchday-card {
  position: relative;
  width: 100%;
}

.matchday-fixture-list {
  display: grid;
  gap: 18px;
}

.matchday-side-list {
  display: grid;
  gap: 12px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
}

.matchday-mini-card .matchday-side-list {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.matchday-mini-card:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 22px 48px rgba(0,0,0,0.26);
}

.matchday-mini-card:hover .matchday-side-list {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
  overflow-y: auto;
}

.matchday-side-list .fixture-card,
.matchday-side-list .result-card {
  padding: 14px;
  border-radius: 18px;
  transform: scale(0.96);
  transform-origin: top center;
}

.matchday-side-list::-webkit-scrollbar {
  width: 6px;
}

.matchday-side-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(180, 220, 255, 0.28);
}

/* Previous match day = cooler blue/grey */
#matchdayPreviousList .result-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(120, 170, 255, 0.20), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.07)),
    linear-gradient(135deg, rgba(65, 105, 180, 0.46), rgba(25, 55, 95, 0.36));
  border-color: rgba(150, 190, 255, 0.34);
}

/* Upcoming match day = green/cyan hint */
#matchdayUpcomingList .fixture-card,
#matchdayUpcomingList .result-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(95, 255, 190, 0.20), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.075)),
    linear-gradient(135deg, rgba(45, 150, 105, 0.48), rgba(25, 90, 125, 0.34));
  border-color: rgba(120, 255, 210, 0.34);
}

/* Today matchday cards stay strongest */
#matchdayTodayList .fixture-card,
#matchdayTodayList .result-card {
  background:
    radial-gradient(circle at 16% 0%, rgba(145, 245, 255, 0.30), transparent 40%),
    radial-gradient(circle at 86% 100%, rgba(90, 255, 170, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.19), rgba(255,255,255,0.085)),
    linear-gradient(135deg, rgba(75, 185, 215, 0.46), rgba(35, 125, 145, 0.34));

  border-color: rgba(170, 245, 255, 0.52);

  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    0 0 30px rgba(80, 220, 255, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.16);
}

/* Compact card text protection */
.matchday-side-list .result-team-name,
.matchday-side-list .fixture-team {
  font-size: 16px;
}

.matchday-side-list .result-score-center {
  min-width: 76px;
  height: 48px;
  font-size: 20px;
  padding: 0 14px;
}

.matchday-side-list .result-scorer-line {
  font-size: 12px;
}

.matchday-side-list .fixture-venue,
.matchday-side-list .result-venue {
  font-size: 12px;
}

/* Match of the Day highlight */
.matchday-highlight {
  border-color: rgba(255, 215, 120, 0.7) !important;
  box-shadow:
    0 0 0 1px rgba(255, 215, 120, 0.22),
    0 18px 60px rgba(255, 200, 100, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.matchday-highlight::before {
  content: "MATCH OF THE DAY";
  position: absolute;
  top: 12px;
  left: 18px;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 215, 120, 0.22);
  border: 1px solid rgba(255, 215, 120, 0.45);
  color: rgba(255, 240, 190, 0.96);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* Score pulse */
.matchday-card .result-score-center strong {
  display: inline-block;
  animation: scorePulse 2.8s ease-in-out infinite;
}

/* MATCHDAY ENTRY ANIMATION */

.matchday-mini-card:nth-child(2) { animation-delay: 0.1s; }
.matchday-mini-card:nth-child(3) { animation-delay: 0.18s; }

.matchday-fixture-list .matchday-card {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  animation: matchdayFadeUp 0.5s ease forwards;
}

.matchday-fixture-list .matchday-card:nth-child(1) { animation-delay: 0.05s; }
.matchday-fixture-list .matchday-card:nth-child(2) { animation-delay: 0.12s; }
.matchday-fixture-list .matchday-card:nth-child(3) { animation-delay: 0.19s; }
.matchday-fixture-list .matchday-card:nth-child(4) { animation-delay: 0.26s; }
.matchday-fixture-list .matchday-card:nth-child(5) { animation-delay: 0.33s; }

/* =========================================================
   MATCHDAY KEYFRAMES
========================================================= */

@keyframes matchdayFadeUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scorePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes matchdayButtonPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 12px 30px rgba(0,0,0,0.35),
      0 0 0 1px rgba(190, 255, 230, 0.42),
      0 0 26px rgba(35, 235, 190, 0.30);
  }

  50% {
    transform: scale(1.045);
    box-shadow:
      0 16px 38px rgba(0,0,0,0.42),
      0 0 0 1px rgba(220, 255, 240, 0.72),
      0 0 44px rgba(35, 235, 190, 0.52);
  }
}

@keyframes matchdayButtonRing {
  0%, 100% {
    opacity: 0;
    transform: scale(0.92);
  }
  45% {
    opacity: 0.7;
    transform: scale(1.08);
  }
  70% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes matchdayAtmosphere {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  100% {
    transform: translate3d(2%, 1%, 0) scale(1.06);
  }
}

@keyframes matchdayLightSweep {
  0%, 100% {
    transform: translateX(-32%);
    opacity: 0.18;
  }
  50% {
    transform: translateX(28%);
    opacity: 0.42;
  }
}

/* =========================================================
   TOURNAMENT PULSE
========================================================= */

.pulse-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-weight: 800;
}

.pulse-row button {
  border: 1px solid rgba(180,220,255,0.35);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(80, 170, 255, 0.14);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.pulse-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(180,220,255,0.35);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(80, 170, 255, 0.14);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pulse-link:hover {
  background: rgba(80, 170, 255, 0.28);
  transform: translateY(-1px);
}

.result-score-center strong {
  animation: scorePulse 2.8s ease-in-out infinite;
}

/* Tournament Pulse = calmer supporting sidebar */
.matchday-pulse-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(170, 190, 220, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(70, 88, 118, 0.36), rgba(34, 48, 74, 0.30));

  border-color: rgba(190, 215, 255, 0.16);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 34px rgba(0,0,0,0.15);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 860px) {
  .matchday-overlay {
    padding: 28px 16px 90px;
  }

  .matchday-shell {
    margin-top: 72px;
    padding: 24px;
  }

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

  .matchday-story-card,
  .matchday-pulse-card {
    grid-column: auto;
  }
}

/* =========================================================
   WALL UTILITY
========================================================= */

.side-action-right {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
}

.wall-trigger {
position: relative;
overflow: hidden;
animation: wallButtonPulse 3.6s ease-in-out infinite;
  width: 98px;
  min-height: 92px;
  padding: 14px 10px;
  border: 1px solid rgba(135, 230, 255, 0.22);
  border-radius: 26px;

  background:
    radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(70, 190, 255, 0.22), rgba(45, 255, 185, 0.08));

  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;

  backdrop-filter: blur(12px) saturate(125%);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.24),
    0 0 24px rgba(80, 200, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.wall-trigger:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(135, 240, 255, 0.45);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(80, 220, 255, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.wall-trigger .nav-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.09);
  font-size: 24px;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 20px rgba(120, 220, 255, 0.12);
  animation: wallIconFloat 2.8s ease-in-out infinite;
}

.wall-trigger::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;

  border: 1px solid rgba(135, 240, 255, 0.34);
  box-shadow:
    0 0 18px rgba(80, 220, 255, 0.18),
    inset 0 0 18px rgba(255, 255, 255, 0.06);

  opacity: 0.45;
  animation: wallBorderPulse 3.6s ease-in-out infinite;
}

@keyframes wallIconFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.08);
  }
}

@keyframes wallButtonPulse {
  0%, 100% {
    box-shadow:
      0 16px 34px rgba(0, 0, 0, 0.24),
      0 0 24px rgba(80, 200, 255, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  50% {
    box-shadow:
      0 18px 38px rgba(0, 0, 0, 0.24),
      0 0 36px rgba(80, 220, 255, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}

@keyframes wallBorderPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 0.85;
    transform: scale(1.035);
  }
}

/* =========================================================
   WALL PANEL
========================================================= */

.wall-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  padding: 28px 22px 24px;

  background:
    radial-gradient(circle at 18% 12%, rgba(118, 229, 255, 0.18), transparent 34%),
    radial-gradient(circle at 90% 92%, rgba(64, 255, 190, 0.12), transparent 34%),
    linear-gradient(
      180deg,
      rgba(9, 28, 52, 0.52),
      rgba(4, 15, 31, 0.58)
    );

  border-left: 1px solid rgba(140, 230, 255, 0.18);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow:
    -18px 0 44px rgba(0, 0, 0, 0.22),
    inset 1px 0 0 rgba(255, 255, 255, 0.06);

  overflow-y: auto;
  overflow-x: hidden;
  z-index: 20;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.wall-panel {
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 220, 255, 0.35) transparent;
}

.wall-panel::-webkit-scrollbar {
  width: 6px;
}

.wall-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(120, 220, 255, 0.35);
}

.wall-panel.is-open {
  transform: translateX(0);
}

.wall-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.wall-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(180, 215, 255, 0.9);
}

.wall-panel h2,
#fanWallTitle {
  margin: 0;
  font-size: 38px;
  line-height: 1.05;
}

.wall-close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
}

.wall-description,
.wall-notice,
.wall-footer {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.wall-compose {
  margin-top: 18px;
}

.wall-compose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wall-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wall-field span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(190, 220, 255, 0.9);
}

.wall-field-full {
  grid-column: 1 / -1;
}

.wall-compose input,
.wall-compose select,
.wall-compose textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 11px 12px;
  font: inherit;
}

.wall-compose textarea {
  resize: vertical;
  min-height: 92px;
}

.wall-compose-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wall-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.wall-send {
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  background: rgba(90, 180, 255, 0.22);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.wall-feed {
  margin-top: 20px;
  max-height: 38vh;
  overflow-y: auto;
  padding-right: 6px;
}

.wall-feed::-webkit-scrollbar {
  width: 6px;
}

.wall-feed::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(120, 220, 255, 0.35);
}

.wall-posts {
  display: grid;
  gap: 12px;
}

.wall-post {
  position: relative;
  padding: 15px 15px 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);

  animation: wallPostEnter 0.35s ease both;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

/* =========================================
   ALTERNATING CARD COLORS
========================================= */

.wall-post:nth-child(4n + 1) {
  background:
    linear-gradient(
      135deg,
      rgba(80, 180, 255, 0.11),
      rgba(0, 255, 180, 0.04)
    );
}

.wall-post:nth-child(4n + 2) {
  background:
    linear-gradient(
      135deg,
      rgba(255, 160, 90, 0.1),
      rgba(255, 90, 120, 0.04)
    );
}

.wall-post:nth-child(4n + 3) {
  background:
    linear-gradient(
      135deg,
      rgba(120, 120, 255, 0.1),
      rgba(80, 220, 255, 0.04)
    );
}

.wall-post:nth-child(4n + 4) {
  background:
    linear-gradient(
      135deg,
      rgba(120, 255, 170, 0.1),
      rgba(90, 180, 255, 0.04)
    );
}

/* =========================================
   HOVER / INTERACTION
========================================= */

.wall-post:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 230, 255, 0.28);
}

/* =========================================
   SUBTLE TOP GLOW
========================================= */

.wall-post::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.08),
      transparent 42%
    );
  pointer-events: none;
}

/* =========================================
   ENTRY ANIMATION
========================================= */

@keyframes wallPostEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
     

.wall-post:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 230, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(90, 180, 255, 0.07));
}

@keyframes wallPostEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   WALL NEW POST
========================================================= */

.wall-post-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wall-post-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-wrap: wrap;
}

.wall-user {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
}

.wall-time {
  flex-shrink: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.wall-meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  font-size: 1.1rem;
  line-height: 1;
}

.wall-meta-country {
  margin-left: 2px;
}

.wall-meta-reaction {
  margin-left: 10px;
}

.wall-post-message {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.45;
}

.wall-post-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wall-post-reaction {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  font-size: 1.25rem;
  line-height: 1;
}

.wall-reaction-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wall-reaction-button {
  width: 30px;
  height: 26px;
  border: 1px solid rgba(140, 220, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
}

.wall-reaction-button:hover {
  background: rgba(120, 230, 255, 0.18);
  border-color: rgba(120, 230, 255, 0.42);
  transform: translateY(-1px);
}

.wall-empty {
  padding: 18px 16px;
  border-radius: 18px;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(140,220,255,0.2);
  color: rgba(255,255,255,0.78);
}

.wall-empty strong {
  display: block;
  margin-bottom: 6px;
}

.wall-pulse {
  margin: 14px 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 120, 80, 0.22),
      rgba(255, 220, 90, 0.10)
    );
  border: 1px solid rgba(255, 180, 120, 0.34);
}

.wall-pulse-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 210, 170, 0.92);
}

.wall-pulse p {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

.wall-counter {
  font-size: 12px;
  color: rgba(255,255,255,0.62);
}

/* =========================================================
   WALL NEW POST
========================================================= */

.wall-question {
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(90, 220, 255, 0.20),
    rgba(80, 255, 170, 0.12)
  );
  border: 1px solid rgba(120, 235, 255, 0.34);
}

.wall-question-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(160, 230, 255, 0.92);
}

.wall-question p {
  margin: 0;
  font-weight: 800;
  line-height: 1.35;
}

/* =========================================================
   WALL BACKDROP
========================================================= */

.wall-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 15;
}

.wall-backdrop[hidden] {
  display: none;
}

@media (max-height: 820px) {

  .wall-panel {
    padding-bottom: 120px;
  }

  .wall-panel h2,
  #fanWallTitle {
    font-size: 32px;
  }

  .wall-description,
  .wall-notice,
  .wall-footer {
    font-size: 15px;
  }

  .wall-feed {
    max-height: none;
  }
}

.wall-panel,
.wall-panel h2,
#fanWallTitle,
.wall-question p,
.wall-pulse p {
  color: #ffffff !important;
}

/* =========================
   GROUPS - POLISHED / MOTION PASS
========================= */

.wc-groups-overlay {
  position: relative;
  padding: 58px 24px 52px 150px;
  background: transparent;
}


.groups-overlay-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.groups-main { min-width: 0; }

.section-heading {
  margin-bottom: 18px;
}

.section-kicker,
.panel-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(198, 229, 255, 0.86);
  text-shadow: 0 0 18px rgba(120, 210, 255, 0.28);
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.section-heading p {
  margin: 0;
  max-width: 760px;
  color: rgba(235, 247, 255, 0.78);
  font-size: 15px;
  line-height: 1.45;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 16px;
  perspective: 1200px;
}

.group-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 14px 14px 13px;
  min-height: 206px;

  background:
    radial-gradient(circle at 28% 0%, rgba(150, 230, 255, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(180, 225, 255, 0.16);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(0) scale(1);
  transform-origin: center;
  transition:
    transform 0.26s ease,
    opacity 0.26s ease,
    filter 0.26s ease,
    border-color 0.26s ease,
    box-shadow 0.26s ease,
    background 0.26s ease;
  animation: groupCardEnter 0.48s ease both;
}

.group-card:nth-child(1) { animation-delay: 0.03s; }
.group-card:nth-child(2) { animation-delay: 0.06s; }
.group-card:nth-child(3) { animation-delay: 0.09s; }
.group-card:nth-child(4) { animation-delay: 0.12s; }
.group-card:nth-child(5) { animation-delay: 0.15s; }
.group-card:nth-child(6) { animation-delay: 0.18s; }
.group-card:nth-child(7) { animation-delay: 0.21s; }
.group-card:nth-child(8) { animation-delay: 0.24s; }
.group-card:nth-child(9) { animation-delay: 0.27s; }
.group-card:nth-child(10) { animation-delay: 0.30s; }
.group-card:nth-child(11) { animation-delay: 0.33s; }
.group-card:nth-child(12) { animation-delay: 0.36s; }

.group-card::before {
  content: "";
  position: absolute;
  inset: -45% -25%;
  background: radial-gradient(circle at center, rgba(120, 220, 255, 0.18), transparent 42%);
  opacity: 0;
  transform: translateX(-22%);
  transition: opacity 0.28s ease, transform 0.38s ease;
  pointer-events: none;
}

.group-card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  pointer-events: none;
}

.groups-grid:hover .group-card {
  opacity: 0.54;
  filter: blur(1.4px) saturate(0.86);
  transform: scale(0.982);
}

.groups-grid:hover .group-card:hover,
.group-card:focus-within {
  opacity: 1;
  filter: none;
  transform: translateY(-8px) scale(1.045);
  z-index: 5;
  border-color: rgba(160, 232, 255, 0.52);
  background:
    radial-gradient(circle at 24% 0%, rgba(155, 235, 255, 0.26), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.075));
  box-shadow:
    0 28px 58px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(85, 215, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.group-card:hover::before,
.group-card:focus-within::before {
  opacity: 1;
  transform: translateX(12%);
}

.group-card__top h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.025em;
  text-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.group-head,
.group-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px 42px 38px;
  align-items: center;
  gap: 7px;
}

.group-head {
  padding: 0 2px 9px;
  font-size: 11px;
  font-weight: 900;
  color: rgba(200, 226, 255, 0.80);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 7px;
  text-transform: uppercase;
}

.group-row {
  min-height: 36px;
  padding: 8px 8px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.045);
  border-radius: 14px;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.group-row:last-child { margin-bottom: 0; }

.group-card:hover .group-row {
  animation: groupRowLift 0.34s ease both;
}

.group-card:hover .group-row:nth-of-type(2) { animation-delay: 0.03s; }
.group-card:hover .group-row:nth-of-type(3) { animation-delay: 0.07s; }
.group-card:hover .group-row:nth-of-type(4) { animation-delay: 0.11s; }
.group-card:hover .group-row:nth-of-type(5) { animation-delay: 0.15s; }

.group-row:hover {
  transform: translateX(4px) scale(1.012);
  border-color: rgba(200, 240, 255, 0.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

/* background groups (stronger push back) */
.groups-grid:has(.group-card.is-focused) .group-card {
  opacity: 0.25;
  filter: blur(3px) saturate(0.6);
  transform: scale(0.92);
  transition: all 0.35s ease;
}

/* focused group (hero state) */
.groups-grid:has(.group-card.is-focused) .group-card.is-focused {
  opacity: 1;
  filter: none;
  transform: scale(1.12) translateY(-12px);
  z-index: 10;

  border-color: rgba(200, 245, 255, 0.8);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(90, 210, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.group-card.is-focused .group-row {
  animation: rowFadeIn 0.4s ease forwards;
}

.group-card.is-focused .group-row:nth-child(2) { animation-delay: 0.05s; }
.group-card.is-focused .group-row:nth-child(3) { animation-delay: 0.1s; }
.group-card.is-focused .group-row:nth-child(4) { animation-delay: 0.15s; }
.group-card.is-focused .group-row:nth-child(5) { animation-delay: 0.2s; }

@keyframes rowFadeIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.team-col {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
}

.team-flag {
  width: 25px;
  height: 16px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  flex-shrink: 0;
  display: block;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10);
}

.team-col span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.group-row.rank-1 {
  background: linear-gradient(90deg, rgba(48, 130, 255, 0.34), rgba(48, 130, 255, 0.08));
}

.group-row.rank-2 {
  background: linear-gradient(90deg, rgba(34, 190, 150, 0.24), rgba(34, 190, 150, 0.06));
}

.group-row.rank-3 {
  background: linear-gradient(90deg, rgba(245, 185, 55, 0.22), rgba(245, 185, 55, 0.055));
}

.group-row.rank-4 {
  background: linear-gradient(90deg, rgba(220, 65, 82, 0.20), rgba(220, 65, 82, 0.05));
}

/* SIDE PANELS */
.groups-side {
  display: grid;
  gap: 16px;
}

.stat-panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 16px;
  background:
    radial-gradient(circle at 24% 0%, rgba(145, 225, 255, 0.14), transparent 38%),
    rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(190, 230, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255,255,255,0.09);
}

.stat-panel h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.mini-standings {
  display: grid;
  gap: 7px;
}

.mini-standings-head,
.mini-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 44px 34px;
  gap: 8px;
  align-items: center;
}

.mini-standings-head {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 900;
  color: rgba(200, 226, 255, 0.80);
  text-transform: uppercase;
}

.mini-row {
  padding: 8px 9px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255,255,255,0.045);
  transition: transform 0.2s ease, background 0.2s ease;
}

.mini-row:hover {
  transform: translateX(3px);
  background: rgba(255,255,255,0.085);
}

.mini-row.qualifies {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(255, 210, 90, 0.19), rgba(255, 210, 90, 0.045));
}

.best-third-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.76);
}

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

@keyframes groupRowLift {
  from { opacity: 0.75; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   BEST 3RD - COMPACT / LIVELY FINAL
========================================================= */

.best-third-card,
.top-scorers-card {
  width: min(620px, 100%);
  margin: 0 auto;
}

.best-third-card {
  padding: 0.85rem 0.85rem 0.95rem;
  border-radius: 24px;
  border: 1px solid rgba(190, 230, 255, 0.22);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 215, 115, 0.20), transparent 34%),
    radial-gradient(circle at 90% 100%, rgba(120, 220, 255, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 18px 38px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.best-third-header { margin-bottom: 0.55rem; }

.best-third-header h3 {
  margin: 0.1rem 0 0;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1;
}

.best-third-head,
.best-third-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px 36px 46px 40px;
  align-items: center;
  column-gap: 0.5rem;
}

.best-third-head {
  padding: 0 0.45rem 0.45rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0.82;
}

.best-third-table {
  display: grid;
  gap: 0.22rem;
}

.best-third-row {
  padding: 0.46rem 0.58rem;
  border-radius: 11px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.10);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.22s ease;
  animation: bestThirdSettle 0.42s ease both;
}

.best-third-row.qualifies {
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 235, 140, 0.20), transparent 34%),
    linear-gradient(90deg, rgba(255, 210, 90, 0.30), rgba(80, 230, 255, 0.13));
  border-color: rgba(255, 220, 120, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.11),
    0 0 18px rgba(255, 210, 90, 0.08);
}

.best-third-row.eliminated {
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 90, 120, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(150, 90, 255, 0.22), rgba(255, 70, 95, 0.13));
  border-color: rgba(255, 105, 140, 0.34);
  opacity: 0.86;
}

.best-third-row:hover {
  transform: translateX(6px) scale(1.012);
  opacity: 1;
  border-color: rgba(235,245,255,0.34);
  box-shadow:
    0 12px 26px rgba(0,0,0,0.18),
    0 0 22px rgba(120,220,255,0.14);
}

.best-third-row.qualifies:hover {
  box-shadow:
    0 12px 26px rgba(0,0,0,0.18),
    0 0 26px rgba(255,210,90,0.18);
}

.best-third-rank,
.best-third-group,
.best-third-played,
.best-third-gd,
.best-third-pts {
  text-align: center;
  white-space: nowrap;
}

.best-third-team {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.best-third-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  opacity: 0.78;
}

@keyframes bestThirdSettle {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   TOP SCORERS - COMPACT / LIVELY FINAL
========================================================= */

.top-scorers-section {
  width: 100%;
  display: flex;
  justify-content: center;

  margin-top: 1.6rem;
  padding: 0;

  position: relative;
  z-index: 2;
}

.top-scorers-card {
  border-radius: 24px;
  padding: 0.75rem 0.8rem 0.75rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(125, 215, 255, 0.20), transparent 34%),
    radial-gradient(circle at 90% 100%, rgba(105,255,190,0.14), transparent 34%),
    rgba(125, 180, 255, 0.10);
  border: 1px solid rgba(190, 230, 255, 0.20);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 18px 38px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.top-scorers-header {
  margin-bottom: 0.55rem;
}

.top-scorers-kicker {
  display: inline-block;
  margin-bottom: 0.18rem;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(218,238,255,0.78);
}

.top-scorers-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 900;
  line-height: 1.05;
}

.top-scorers-head,
.top-scorer-row {
  display: grid;
  grid-template-columns: 52px minmax(180px, 1fr) 78px;
  align-items: center;
  column-gap: 0.65rem;
}

.top-scorers-head {
  padding: 0.58rem 0.7rem;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(225,240,255,0.74);
}

.top-scorers-body {
  padding-top: 0.24rem;
}

.top-scorer-row {
  min-height: 38px;
  padding: 0.42rem 0.62rem;
  margin-bottom: 4px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.085);
  color: #fff;
  background:
  linear-gradient(90deg, rgba(255,255,255,0.075), rgba(120,220,255,0.055));
  animation: scorerRiseUp 0.42s ease both;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.top-scorer-row--leader {
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 230, 130, 0.22), transparent 34%),
    linear-gradient(90deg, rgba(255,210,90,0.30), rgba(255,255,255,0.07));
  border-color: rgba(255,210,90,0.42);
  box-shadow:
    0 0 22px rgba(255, 210, 90, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.13);
}

.top-scorer-row--top4 {
  background:
    linear-gradient(90deg, rgba(90, 235, 170, 0.18), rgba(80, 175, 255, 0.08));
  border-color: rgba(120, 240, 210, 0.20);
}

.top-scorer-row:hover {
  background:
    linear-gradient(90deg, rgba(120,220,255,0.18), rgba(255,255,255,0.07));
  transform: translateX(6px) scale(1.012);
  border-color: rgba(180,230,255,0.30);
  box-shadow:
    0 12px 26px rgba(0,0,0,0.18),
    0 0 22px rgba(120,220,255,0.16);
}

.top-scorer-rank,
.top-scorer-goals {
  text-align: center;
  justify-self: center;
  font-weight: 900;
}

.top-scorer-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: nowrap;
}

.top-scorer-name {
  font-weight: 900;
  white-space: nowrap;
}

.top-scorer-team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  opacity: 0.92;
}

.top-scorer-team .team-flag {
  width: 22px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.top-scorer-team .team-name {
  font-size: 13px;
  font-weight: 800;
  opacity: 0.86;
  white-space: nowrap;
}

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


/* =========================================================
   FIXTURES + RESULTS SHARED PANEL STYLING
========================================================= */
.wc-fixtures-container,
.wc-results-container {
  padding: 72px 24px 56px 150px;
}

.fixtures-heading,
.results-heading {
  margin-bottom: 28px;
}

.fixtures-shell,
.results-shell {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 980px;
}

.fixtures-controls,
.results-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
}

.fixtures-label,
.results-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

.fixture-date-picker,
.results-date-picker {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease;
}

.fixture-date-picker:hover,
.results-date-picker:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.fixture-date-picker:focus,
.results-date-picker:focus {
  border-color: rgba(130, 210, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(130, 210, 255, 0.12),
    0 12px 30px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.fixtures-active-date,
.results-active-date {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.05;
  color: #f6fbff;
  letter-spacing: -0.02em;
  margin-top: 2px;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.fixtures-list,
.results-list {
  width: 100%;
}

.fixtures-matches,
.results-matches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* =========================================================
   SHARED MATCH CARD - POLISHED ONLY
========================================================= */

.fixture-card,
.result-card {
  position: relative;
  border-radius: 30px;
  padding: 22px 24px 20px;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.16);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.075) 100%
    ),
    linear-gradient(
      135deg,
      rgba(42, 122, 180, 0.34) 0%,
      rgba(14, 42, 88, 0.26) 52%,
      rgba(24, 92, 66, 0.22) 100%
    );

  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.fixture-card:hover,
.result-card:hover {
  transform: translateY(-3px);
  border-color: rgba(145, 220, 255, 0.42);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.3),
    0 0 26px rgba(92, 190, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.fixture-card::before,
.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(90, 210, 255, 0.12), transparent 34%);
  pointer-events: none;
}

.fixture-card::after,
.result-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 62px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );
  pointer-events: none;
}

/* =========================================================
   MATCH CARD FINAL POLISH
========================================================= */

.fixture-card,
.result-card {
  isolation: isolate;
}

.fixture-card:hover,
.result-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(130, 220, 255, 0.55);
  box-shadow:
    0 26px 56px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(83, 195, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* soft moving light on hover */
.fixture-card::after,
.result-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(
    circle at center,
    rgba(120, 220, 255, 0.18),
    transparent 42%
  );
  transition: opacity 0.25s ease;
}

.fixture-card:hover::after,
.result-card:hover::after {
  opacity: 1;
}

/* make group badge meaningful */
.fixture-group,
.result-group {
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(70, 190, 255, 0.34),
      rgba(255, 255, 255, 0.1)
    );

  border: 1px solid rgba(150, 230, 255, 0.38);
  color: #ffffff;

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;

  box-shadow:
    0 0 18px rgba(80, 200, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* time gets its own clean badge */
.fixture-time,
.result-status {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(4, 18, 40, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);

  font-size: 13px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
}

/* team names feel stronger */
.fixture-team {
  font-size: 21px;
  letter-spacing: -0.02em;
}

/* VS becomes a center focal point */
.fixture-vs {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.22), transparent 55%),
    rgba(255, 255, 255, 0.08);

  border-color: rgba(255, 255, 255, 0.2);
}

/* venue/status section clearer */
.fixture-venue,
.result-venue {
  color: rgba(242, 250, 255, 0.82);
  font-weight: 800;
}

.fixture-status {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;

  background: rgba(20, 255, 180, 0.12);
  border: 1px solid rgba(120, 255, 210, 0.18);

  color: rgba(230, 255, 248, 0.95);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* =========================================================
   MATCH CARD EMPHASIS PASS
========================================================= */

.fixture-group,
.result-group {
  background:
    linear-gradient(
      135deg,
      rgba(40, 210, 255, 0.42),
      rgba(40, 120, 255, 0.26)
    );

  border-color: rgba(190, 245, 255, 0.72);
  color: #ffffff;

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 18px rgba(60, 210, 255, 0.36),
    0 0 34px rgba(60, 210, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);

  text-shadow: 0 0 10px rgba(180, 245, 255, 0.45);
}

/* Stronger card hover */
.fixture-card:hover,
.result-card:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(170, 240, 255, 0.78);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.1) 100%
    ),
    linear-gradient(
      135deg,
      rgba(55, 150, 210, 0.42) 0%,
      rgba(24, 80, 130, 0.34) 50%,
      rgba(30, 130, 95, 0.3) 100%
    );

  box-shadow:
    0 30px 64px rgba(0, 0, 0, 0.38),
    0 0 38px rgba(85, 215, 255, 0.3),
    0 0 70px rgba(85, 215, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

/* Make hovered card's group badge pop even more */
.fixture-card:hover .fixture-group,
.result-card:hover .result-group {
  background:
    linear-gradient(
      135deg,
      rgba(70, 235, 255, 0.62),
      rgba(65, 145, 255, 0.36)
    );

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 24px rgba(90, 230, 255, 0.56),
    0 0 44px rgba(90, 230, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

/* =========================================================
   FIXTURE MATCH ROW - POLISHED ONLY
========================================================= */

.fixture-match {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  min-height: 72px;
}

.fixture-team {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.fixture-team:first-child {
  text-align: left;
}

.fixture-team:last-child {
  text-align: right;
}

.fixture-vs {
  justify-self: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.16);
}

.fixture-team--home {
  justify-content: flex-start;
}

.fixture-team--away {
  justify-content: flex-end;
}

.fixture-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  vertical-align: middle;
}

.fixture-team--away {
  justify-content: flex-end;
}

.fixture-team--away img {
  order: 1;
}

.fixture-team--away span {
  order: 2;
}

/* =========================================================
   CARD TOP ROW
========================================================= */

.fixture-top,
.result-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.fixture-group,
.result-group {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.01em;
}

.fixture-time,
.result-status {
  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.96);
}

/* =========================================================
   RESULT TEAM ROW
========================================================= */

.result-teams {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.result-teams .team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.team-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.team-score {
  min-width: 22px;
  text-align: right;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

.result-scoreline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 20px 0 18px;
}

.result-team-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  color: #ffffff;
}

.result-side--away {
  text-align: right;
}

.result-side--away .result-team-name {
  justify-content: flex-end;
}

.result-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
}

.result-score-center {
  min-width: 92px;
  height: 54px;
  padding: 0 18px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: rgba(4, 18, 40, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.16);

  font-size: 24px;
  font-weight: 950;
  color: #ffffff;
}

.result-score-center em {
  font-style: normal;
  opacity: 0.65;
}

.result-scorers-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.result-team-scorers {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-team-scorers--away {
  text-align: right;
  align-items: flex-end;
}

.result-scorer-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.result-team-scorers--away .result-scorer-line {
  justify-content: flex-end;
}

.result-scorer-line strong {
  color: rgba(220, 245, 255, 0.9);
  font-size: 12px;
}

.result-no-scorers {
  font-size: 13px;
  opacity: 0.45;
}

.result-scoreline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.result-side--home {
  justify-self: start;
}

.result-side--away {
  justify-self: end;
}

.result-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.result-penalties {
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

/* =========================================================
   VENUE / STATUS / SCORERS
========================================================= */

.fixture-venue,
.result-venue {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 600;
  color: rgba(235, 244, 255, 0.78);
}

.fixture-status {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
}

.result-scorers {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.scorer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  line-height: 1.35;
}

.scorer-player {
  font-weight: 700;
  color: #ffffff;
}

.scorer-meta {
  font-weight: 600;
  color: rgba(232, 241, 255, 0.8);
}

/* =========================================================
   EMPTY STATES
========================================================= */

.fixture-empty,
.result-empty {
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 20, 40, 0.34);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .fixtures-matches,
  .results-matches {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .wc-fixtures-container,
  .wc-results-container {
    padding: 72px 20px 48px 128px;
  }

  .fixtures-active-date,
  .results-active-date {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .wc-fixtures-container,
  .wc-results-container {
    padding: 86px 18px 36px 108px;
  }

  .fixture-card,
  .result-card {
    border-radius: 22px;
    padding: 16px;
  }

  .fixture-match {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fixture-team,
  .fixture-team:first-child,
  .fixture-team:last-child {
    text-align: left;
  }

  .fixture-vs {
    justify-self: start;
  }

  .fixtures-active-date,
  .results-active-date {
    font-size: 22px;
  }
}


/* =========================================================
   BEST 3RD
========================================================= */

.best-third-card {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem 1.1rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.best-third-header {
  margin-bottom: 0.85rem;
}

.best-third-header h3 {
  margin: 0.2rem 0 0;
  font-size: 2rem;
  line-height: 1;
}

.best-third-head,
.best-third-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px 40px 52px 44px;
  align-items: center;
  column-gap: 0.65rem;
}

.best-third-head {
  padding: 0 0.45rem 0.7rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.82;
}

.best-third-table {
  display: grid;
  gap: 0.45rem;
}

.best-third-row {
  padding: 0.82rem 0.8rem;
  border-radius: 16px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.best-third-row.qualifies {
  background: rgba(255, 210, 90, 0.14);
  border: 1px solid rgba(255, 210, 90, 0.22);
}

.best-third-row.eliminated {
  background: rgba(255, 90, 90, 0.10);
  border: 1px solid rgba(255, 90, 90, 0.16);
}

.best-third-rank,
.best-third-group,
.best-third-played,
.best-third-gd,
.best-third-pts {
  text-align: center;
  white-space: nowrap;
}

.best-third-team {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.best-third-note {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  line-height: 1.35;
  opacity: 0.82;
}

@keyframes bestThirdSettle {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.985);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 820px) {
  .best-third-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .best-third-card {
    padding: 0.9rem 0.85rem 1rem;
  }

  .best-third-header h3 {
    font-size: 1.7rem;
  }

  .best-third-head,
  .best-third-row {
    grid-template-columns: 36px minmax(0, 1fr) 36px 30px 42px 36px;
    column-gap: 0.45rem;
  }

  .best-third-head {
    font-size: 0.75rem;
  }

  .best-third-row {
    padding: 0.72rem 0.65rem;
    font-size: 0.95rem;
  }

  .best-third-note {
    font-size: 0.84rem;
  }
}

/* =========================================================
   TOP SCORERS
========================================================= */

.top-scorers-section {
  margin: 2.5rem 0 0;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.top-scorers-card {
  margin: 0 auto;
  width: min(760px, 100%);
  border-radius: 28px;
  padding: 1.2rem 1.2rem 1rem;
  background: rgba(125, 180, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.top-scorers-header {
  margin-bottom: 0.9rem;
  color: #fff;
}

.top-scorers-kicker {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.top-scorers-header h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
}

.top-scorers-table {
  width: 100%;
}

.top-scorers-head,
.top-scorer-row {
  display: grid;
  grid-template-columns: 64px minmax(180px, 1fr) 92px;
  align-items: center;
  column-gap: 0.75rem;
}

.top-scorers-head {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.top-scorers-head span:first-child {
  text-align: center;
}

.top-scorers-head span:last-child {
  text-align: center;
}

.top-scorers-body {
  padding-top: 0.3rem;
}

.top-scorer-row {
  min-height: 58px;
  padding: 0.8rem 1rem;
  margin-bottom: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  align-items: center;
  animation: scorerFadeUp 0.35s ease both;
}

.top-scorer-row:nth-child(10) { animation-delay: 0.03s; }
.top-scorer-row:nth-child(9) { animation-delay: 0.08s; }
.top-scorer-row:nth-child(8) { animation-delay: 0.13s; }
.top-scorer-row:nth-child(7) { animation-delay: 0.18s; }
.top-scorer-row:nth-child(6) { animation-delay: 0.23s; }
.top-scorer-row:nth-child(5) { animation-delay: 0.28s; }
.top-scorer-row:nth-child(4) { animation-delay: 0.33s; }
.top-scorer-row:nth-child(3) { animation-delay: 0.38s; }
.top-scorer-row:nth-child(2) { animation-delay: 0.43s; }
.top-scorer-row:nth-child(1) { animation-delay: 0.50s; }

.top-scorer-row:last-child {
  border-bottom: none;
}

.top-scorer-row:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.top-scorer-rank {
  width: 32px;
  text-align: center;
  font-weight: 700;
  opacity: 0.92;
  justify-self: center;
}

.top-scorer-goals {
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  justify-self: center;
}

.top-scorer-player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: nowrap;
}

.top-scorer-name {
  font-weight: 700;
  white-space: nowrap;
}

.top-scorer-team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  min-width: 0;
}

.top-scorer-team .team-flag {
  width: 22px;
  height: 14px;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-block;
}

.top-scorer-team .team-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.86;
  white-space: nowrap;
}

.top-scorer-row--leader,
.top-scorer-row--top4 {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.empty-scorers {
  padding: 1rem;
  color: rgba(255, 255, 255, 0.76);
}

@keyframes scorerRiseUp {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    filter: blur(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 768px) {
  .top-scorers-section {
    padding: 0 1rem;
  }

  .top-scorers-card {
    padding: 1rem 0.85rem 0.85rem;
    border-radius: 22px;
  }

  .top-scorers-head,
  .top-scorer-row {
    grid-template-columns: 48px minmax(120px, 1fr) 72px;
    column-gap: 0.5rem;
  }

  .top-scorers-head {
    padding: 0.75rem 0.5rem;
    font-size: 0.68rem;
  }

  .top-scorer-row {
    min-height: 52px;
    padding: 0.72rem 0.5rem;
  }

  .top-scorer-player {
    gap: 0.55rem;
  }

  .top-scorer-name {
    font-size: 0.95rem;
  }

  .top-scorer-team {
    gap: 5px;
  }

  .top-scorer-team .team-flag {
    width: 20px;
    height: 13px;
  }

  .top-scorer-team .team-name {
    font-size: 0.86rem;
  }

  .top-scorer-goals {
    font-size: 1rem;
  }
}

/* =========================================================
   KNOCKOUT / ROAD TO FINAL
   Purpose: full bracket layout, premium round progression,
   animated borders, countdown, champion moment
========================================================= */

.wc-knockout {
  position: relative;
  padding: 84px 24px 100px;
}

.knockout-heading {
  text-align: center;
  margin-bottom: 30px;
}

.knockout-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-shadow: 0 0 24px rgba(130, 220, 255, 0.22);
  color: #ffffff;
}

.knockout-heading p {
  margin: 0;
  opacity: 0.82;
}

.wc-knockout::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(4, 16, 32, 0.08),
      rgba(4, 16, 32, 0.18)
    );
}

.wc-knockout > * {
  position: relative;
  z-index: 2;
}

/* =========================================================
   COUNTDOWN - ROAD TO FINAL
========================================================= */

.countdown-wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0 36px;
}

.countdown-box {
  position: relative;
  min-width: 250px;
  padding: 14px 22px;
  border-radius: 18px;
  text-align: center;
  overflow: hidden;
  background: rgba(8, 28, 58, 0.42);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 0 22px rgba(80, 220, 255, 0.32),
    0 0 34px rgba(255, 225, 120, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.16);
}

.countdown-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    90deg,
    #50dcff,
    #ffe178,
    #46ffbe,
    #50dcff
  );
  background-size: 300% 300%;
  animation: countdownBorderFlow 3s linear infinite;
  pointer-events: none;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.countdown-main {
  position: relative;
  z-index: 1;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  font-weight: 900;
  color: #fff;
}

.countdown-sub {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  color: rgba(226, 238, 251, 0.78);
  font-size: 12px;
}

@keyframes countdownBorderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* =========================================================
   BRACKET LAYOUT
========================================================= */

#knockoutBracket {
  width: 100%;
  overflow: visible;
  padding-bottom: 20px;
}

.knockout-bracket {
  display: grid;
  grid-template-columns: 500px 190px 500px;
  justify-content: center;
  align-items: start;
  gap: 42px;
  max-width: 1280px;
  margin: 0 auto;
}

.bracket-side-shell {
  display: grid;
}

.bracket-side-shell-left {
  grid-template-columns: 155px 125px 105px 130px;
}

.bracket-side-shell-right {
  grid-template-columns: 130px 105px 125px 155px;
}

.bracket-lane {
  display: flex;
}

.bracket-side-shell-left .lane-r16 { margin-top: 70px; }
.bracket-side-shell-left .lane-qf  { margin-top: 140px; }
.bracket-side-shell-left .lane-sf  { margin-top: 210px; }

.bracket-side-shell-right .lane-r16 { margin-top: 70px; }
.bracket-side-shell-right .lane-qf  { margin-top: 140px; }
.bracket-side-shell-right .lane-sf  { margin-top: 210px; }

.bracket-center {
  display: flex;
  justify-content: center;
  padding-top: 120px;
  z-index: 5;
}

/* =========================================================
   ROUND CONTAINERS - BASE
========================================================= */

.round {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 18px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 16px 34px rgba(0,0,0,0.18);
  transition:
    opacity 0.3s ease,
    filter 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  transform-origin: center;
}

.round h3 {
  margin: 0 0 8px;
  line-height: 1.12;
}

/* widths */
.round-r32 { width: 155px; }
.round-r16 { width: 125px; }
.round-qf  { width: 105px; }
.round-sf  {
  width: 130px !important;
  min-width: 130px !important;
}

.round-final {
  width: 190px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* animated border layer */
.round::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background-size: 300% 300%;
  opacity: 0.38;
  pointer-events: none;
  animation: roundBorderFlow 7s linear infinite;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.round::after {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.18), transparent 42%);
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.round > * {
  position: relative;
  z-index: 1;
}

@keyframes roundBorderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* =========================================================
   ROUND COLOR PROGRESSION
   Purpose: remove muddy yellow and create road-to-final flow
========================================================= */

/* Round of 32 - cool blue glass */
.round.round-32 {
  background:
    radial-gradient(circle at 20% 0%, rgba(100, 205, 255, 0.16), transparent 38%),
    rgba(38, 88, 112, 0.56);
  border: 1px solid rgba(150, 225, 255, 0.36);
}

.round.round-32::before {
  background: linear-gradient(90deg, #61d9ff, #a7f3ff, #4aa9ff, #61d9ff);
}

/* Round of 16 - teal/cyan */
.round.round-16 {
  background:
    radial-gradient(circle at 20% 0%, rgba(80, 255, 210, 0.16), transparent 38%),
    rgba(43, 108, 102, 0.58);
  border: 1px solid rgba(120, 245, 220, 0.42);
}

.round.round-16::before {
  background: linear-gradient(90deg, #46ffbe, #65eaff, #56b7ff, #46ffbe);
}

/* Quarter-finals - silver blue */
.round.quarter {
  background:
    radial-gradient(circle at 20% 0%, rgba(210, 240, 255, 0.14), transparent 40%),
    rgba(78, 103, 118, 0.60);
  border: 1px solid rgba(205, 238, 255, 0.46);
}

.round.quarter::before {
  background: linear-gradient(90deg, #d8f5ff, #5ce2ff, #9fb8ff, #d8f5ff);
}

/* Semi-finals - platinum/cyan glow */
.round.semi {
  background:
    radial-gradient(circle at 22% 0%, rgba(230, 255, 255, 0.18), transparent 42%),
    rgba(72, 116, 125, 0.64);
  border: 1px solid rgba(215, 255, 255, 0.58);
}

.round.semi::before {
  background: linear-gradient(90deg, #f2ffff, #54f0ff, #d9f6ff, #f2ffff);
  opacity: 0.58;
}

/* Center final - gold-white, not muddy */
.round.final,
.round.round-final {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 242, 180, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(112, 104, 74, 0.62), rgba(45, 88, 96, 0.48));
  border: 1px solid rgba(255, 236, 160, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.20),
    0 0 26px rgba(255, 225, 130, 0.18);
}

.round.final::before,
.round.round-final::before {
  background: linear-gradient(90deg, #fff4b8, #66efff, #ffe178, #fff4b8);
  opacity: 0.62;
}

/* hover/active animation */
.knockout-bracket .round:hover {
  transform: translateY(-4px) scale(1.045);
  position: relative;
  z-index: 20;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.32),
    0 18px 42px rgba(0,0,0,0.34),
    0 0 38px rgba(100,220,255,0.30);
}

.knockout-bracket .round:hover::before,
.knockout-bracket .round.is-active::before {
  opacity: 1;
  animation-duration: 2.8s;
}

.knockout-bracket .round:hover::after,
.knockout-bracket .round.is-active::after {
  opacity: 1;
}

/* =========================================================
   KNOCKOUT FOCUS / SPOTLIGHT MODE
========================================================= */

.knockout-bracket.is-focused .round {
  opacity: 0.18;
  filter: blur(1px);
  transform: scale(0.97);
}

.knockout-bracket.is-focused .round.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1.08);
  position: relative;
  z-index: 30;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.38),
    0 20px 48px rgba(0,0,0,0.42),
    0 0 46px rgba(110,220,255,0.42);
}

/* =========================================================
   MATCH CARDS
========================================================= */

.round-matches {
  display: grid;
  gap: 10px;
}

.match-card {
  padding: 7px 8px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)),
    rgba(8, 24, 45, 0.36);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.match-meta {
  font-size: 0.65rem;
  opacity: 0.72;
  margin-bottom: 4px;
}

.match-line {
  display: grid;
  grid-template-columns: minmax(0,1fr) 22px;
  gap: 6px;
  align-items: center;
}

.match-line + .match-line {
  margin-top: 4px;
}

.match-team {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 0.76rem;
  font-weight: 800;
}

.team-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.match-score {
  text-align: right;
  font-weight: 900;
}

.match-extra {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 800;
}

/* Semifinal readability */
.round-sf .match-card {
  padding: 8px 9px;
}

.round-sf .match-line {
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 8px;
}

.round-sf .match-team {
  font-size: 0.84rem;
  gap: 6px;
}

.round-sf .team-flag {
  width: 22px;
  height: 15px;
}

.round-sf .match-score {
  font-size: 0.95rem;
}

.round-sf .match-extra {
  white-space: nowrap !important;
}

/* Winner path */
.match-line.is-winner {
  border-radius: 8px;
  padding: 3px 4px;
  margin-left: -4px;
  margin-right: -4px;
  background: rgba(255, 235, 150, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 240, 175, 0.34),
    0 0 13px rgba(255, 225, 140, 0.24);
}

.match-card.has-winner {
  border-color: rgba(255, 235, 150, 0.34);
}

/* =========================================================
   CHAMPION MOMENT
========================================================= */

.champion-card {
  position: relative;
  margin-top: 12px;
  min-height: 112px;
  padding: 18px 12px 16px;
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 240, 175, 0.30), transparent 58%),
    rgba(255, 235, 150, 0.16);
  border: 1px solid rgba(255, 240, 175, 0.72);
  box-shadow:
    0 0 34px rgba(255, 225, 140, 0.32),
    inset 0 1px 0 rgba(255,255,255,0.22);
}

.champion-trophy {
  position: absolute;
  inset: auto 0 -28px 0;
  font-size: 7.6rem;
  line-height: 1;
  opacity: 0.34;
  filter: drop-shadow(0 0 22px rgba(255, 225, 140, 0.55));
  pointer-events: none;
}

.champion-line {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.champion-label {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.86;
}

.champion-team {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 900;
}

.trophy-standby {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.trophy-standby .trophy-icon {
  font-size: 2rem;
  line-height: 1;
  opacity: 0.9;
}

.trophy-standby .trophy-text {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1320px) {
  .knockout-bracket {
    transform: scale(0.88);
    transform-origin: top center;
    margin-bottom: -70px;
  }
}

@media (max-width: 1180px) {
  .knockout-bracket {
    transform: scale(0.78);
    transform-origin: top center;
    margin-bottom: -140px;
  }
}

@media (max-width: 980px) {
  #knockoutBracket {
    overflow-x: auto;
  }

  .knockout-bracket {
    transform: none;
    min-width: 1280px;
  }
}

/* =========================================================
   KNOCKOUT POLISH OVERRIDE - STRONGER ROUND IDENTITY
   Purpose: make each round visually distinct + animated borders
========================================================= */

.round::before {
  opacity: 0.72;
  background-size: 360% 360%;
  animation: roundBorderFlow 3.2s linear infinite;
}

.round:hover::before {
  opacity: 1;
  animation-duration: 1.8s;
}

.round.round-32 {
  background:
    radial-gradient(circle at top, rgba(55, 170, 255, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(20, 80, 125, 0.70), rgba(8, 45, 82, 0.58));
  border-color: rgba(80, 190, 255, 0.72);
}

.round.round-32::before {
  background: linear-gradient(90deg, #2ebdff, #a7efff, #2f78ff, #2ebdff);
}

.round.round-16 {
  background:
    radial-gradient(circle at top, rgba(60, 255, 190, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(20, 130, 105, 0.72), rgba(6, 72, 78, 0.58));
  border-color: rgba(70, 255, 200, 0.78);
}

.round.round-16::before {
  background: linear-gradient(90deg, #28ffb8, #7fffe5, #13a8ff, #28ffb8);
}

.round.quarter {
  background:
    radial-gradient(circle at top, rgba(230, 245, 255, 0.28), transparent 40%),
    linear-gradient(180deg, rgba(125, 145, 165, 0.76), rgba(45, 75, 105, 0.62));
  border-color: rgba(225, 245, 255, 0.82);
}

.round.quarter::before {
  background: linear-gradient(90deg, #ffffff, #8eeeff, #b7c7ff, #ffffff);
}

.round.semi {
  background:
    radial-gradient(circle at top, rgba(160, 105, 255, 0.28), transparent 42%),
    linear-gradient(180deg, rgba(95, 70, 150, 0.78), rgba(35, 70, 120, 0.62));
  border-color: rgba(185, 155, 255, 0.86);
}

.round.semi::before {
  background: linear-gradient(90deg, #b98cff, #66efff, #f2f0ff, #b98cff);
}

.round.final,
.round.round-final {
  background:
    radial-gradient(circle at top, rgba(255, 230, 145, 0.34), transparent 44%),
    linear-gradient(180deg, rgba(150, 116, 48, 0.76), rgba(40, 86, 96, 0.58));
  border-color: rgba(255, 230, 145, 0.90);
}

.round.final::before,
.round.round-final::before {
  background: linear-gradient(90deg, #ffe178, #ffffff, #55eaff, #ffe178);
}

.round:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.36),
    0 20px 46px rgba(0,0,0,0.38),
    0 0 44px rgba(120,220,255,0.36);
}

.round.semi:hover {
  box-shadow:
    0 0 0 1px rgba(210,190,255,0.45),
    0 20px 46px rgba(0,0,0,0.38),
    0 0 48px rgba(185,155,255,0.42);
}

.round.final:hover,
.round.round-final:hover {
  box-shadow:
    0 0 0 1px rgba(255,235,170,0.48),
    0 22px 52px rgba(0,0,0,0.42),
    0 0 56px rgba(255,225,120,0.38);
}

.round.round-32::before {
  animation-duration: 6s;
}

.round.round-16::before {
  animation-duration: 5s;
}

.round.quarter::before {
  animation-duration: 4s;
}

.round.semi::before {
  animation-duration: 2.8s;
  opacity: 0.92;
}

.round.final::before,
.round.round-final::before {
  animation-duration: 1.8s;
  opacity: 1;
}

.round.semi,
.round.final,
.round.round-final {
  animation: knockoutPulse 4s ease-in-out infinite;
}

@keyframes knockoutPulse {
  0% {
    transform: translateY(0px);
    filter: brightness(1);
  }

  50% {
    transform: translateY(-2px);
    filter: brightness(1.08);
  }

  100% {
    transform: translateY(0px);
    filter: brightness(1);
  }
}

/* =========================================================
   WINNER PATH HIGHLIGHT
   Purpose: visually trace advancing teams
========================================================= */

/* Winning team row */
.match-line.is-winner {
  position: relative;
  border-radius: 10px;
  padding: 4px 6px;
  margin-left: -6px;
  margin-right: -6px;

  background:
    linear-gradient(
      90deg,
      rgba(255, 235, 140, 0.20),
      rgba(120, 240, 255, 0.14)
    );

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.16),
    0 0 14px rgba(255, 225, 120, 0.18);

  overflow: hidden;
}

/* Animated sweep */
.match-line.is-winner::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,0.06) 35%,
    rgba(255,255,255,0.28) 50%,
    rgba(255,255,255,0.06) 65%,
    transparent 100%
  );

  transform: translateX(-120%);
  animation: winnerSweep 3.5s linear infinite;
}

/* Slightly brighter winner cards */
.match-card.has-winner {
  border-color: rgba(255, 235, 150, 0.28);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 0 16px rgba(255,225,120,0.10);
}

/* Winner score emphasis */
.match-line.is-winner .match-score {
  color: #fff4b0;
  text-shadow: 0 0 10px rgba(255,225,120,0.32);
}

/* Winner flag slight glow */
.match-line.is-winner .team-flag {
  box-shadow:
    0 0 10px rgba(255,255,255,0.16),
    0 0 14px rgba(255,225,120,0.20);
}

@keyframes winnerSweep {
  100% {
    transform: translateX(120%);
  }
}

/* =========================================================
   KNOCKOUT WINNER PATH INTENSITY
   Purpose: winners glow stronger as they move closer to the final
========================================================= */

/* Base winning row */
.match-line.is-winner {
  background:
    linear-gradient(90deg, rgba(255, 235, 140, 0.18), rgba(120, 240, 255, 0.12));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.16),
    0 0 12px rgba(255,225,120,0.16);
}

/* Round of 16 winners */
.round-16 .match-line.is-winner {
  box-shadow:
    inset 0 0 0 1px rgba(120,255,220,0.28),
    0 0 16px rgba(80,255,210,0.22);
}

/* Quarter-final winners */
.quarter .match-line.is-winner {
  background:
    linear-gradient(90deg, rgba(225,245,255,0.22), rgba(120,220,255,0.14));
  box-shadow:
    inset 0 0 0 1px rgba(225,245,255,0.34),
    0 0 20px rgba(190,235,255,0.26);
}

/* Semi-final winners */
.semi .match-line.is-winner {
  background:
    linear-gradient(90deg, rgba(190,155,255,0.28), rgba(255,255,255,0.12));
  box-shadow:
    inset 0 0 0 1px rgba(205,180,255,0.44),
    0 0 26px rgba(185,155,255,0.34);
}

/* Final winner */
.round-final .match-line.is-winner {
  background:
    linear-gradient(90deg, rgba(255,235,150,0.36), rgba(255,255,255,0.16));
  box-shadow:
    inset 0 0 0 1px rgba(255,240,180,0.56),
    0 0 32px rgba(255,225,120,0.42);
}

/* Champion card strongest glow */
.champion-card {
  animation: championGlow 3.8s ease-in-out infinite;
}

@keyframes championGlow {
  0%, 100% {
    box-shadow:
      0 0 34px rgba(255,225,140,0.32),
      inset 0 1px 0 rgba(255,255,255,0.22);
  }

  50% {
    box-shadow:
      0 0 48px rgba(255,225,140,0.48),
      0 0 74px rgba(80,220,255,0.18),
      inset 0 1px 0 rgba(255,255,255,0.28);
  }
}

/* =========================================================
   KNOCKOUT FINAL POLISH LOCK
   Purpose: small refinements only — no major redesign
   Notes:
   - Keeps current round color identity
   - Softens excess glow
   - Improves hover/focus feel
   - Adds subtle winner/champion polish
========================================================= */

/* Slightly smoother round motion */
.round {
  transition:
    opacity 0.32s ease,
    filter 0.32s ease,
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    background 0.32s ease;
}

/* Keep animated borders premium, not noisy */
.round::before {
  opacity: 0.68;
  animation-timing-function: linear;
}

.round:hover::before,
.round.is-active::before {
  opacity: 0.92;
}

/* Softer hover lift */
.knockout-bracket .round:hover {
  transform: translateY(-3px) scale(1.035);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.30),
    0 18px 40px rgba(0,0,0,0.34),
    0 0 34px rgba(110,220,255,0.28);
}

/* Semis stay special, but not overpowering */
.round.semi:hover {
  box-shadow:
    0 0 0 1px rgba(210,190,255,0.38),
    0 18px 42px rgba(0,0,0,0.36),
    0 0 42px rgba(185,155,255,0.36);
}

/* Final/center glow stays elegant */
.round.final:hover,
.round.round-final:hover {
  box-shadow:
    0 0 0 1px rgba(255,235,170,0.42),
    0 20px 46px rgba(0,0,0,0.38),
    0 0 48px rgba(255,225,120,0.32);
}

/* Round titles read cleaner */
.round h3 {
  text-shadow:
    0 2px 10px rgba(0,0,0,0.28),
    0 0 12px rgba(255,255,255,0.10);
}

/* Match cards: slightly clearer, less heavy */
.match-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03)),
    rgba(8, 24, 45, 0.34);
  border-color: rgba(255,255,255,0.13);
}

/* Team rows feel sharper */
.match-team {
  text-shadow: 0 2px 8px rgba(0,0,0,0.22);
}

.match-score {
  text-shadow: 0 2px 8px rgba(0,0,0,0.28);
}

/* Winner row: keep it visible, not loud */
.match-line.is-winner {
  background:
    linear-gradient(
      90deg,
      rgba(255, 235, 140, 0.20),
      rgba(120, 240, 255, 0.12)
    );
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.15),
    0 0 13px rgba(255,225,120,0.18);
}

/* Winner sweep slightly slower and smoother */
.match-line.is-winner::before {
  animation-duration: 4.2s;
  opacity: 0.82;
}

/* Late-stage winners get just enough extra intensity */
.semi .match-line.is-winner {
  box-shadow:
    inset 0 0 0 1px rgba(205,180,255,0.42),
    0 0 24px rgba(185,155,255,0.30);
}

.round-final .match-line.is-winner {
  box-shadow:
    inset 0 0 0 1px rgba(255,240,180,0.52),
    0 0 30px rgba(255,225,120,0.36);
}

/* Countdown: keep glow premium and contained */
.countdown-box {
  box-shadow:
    0 0 20px rgba(80, 220, 255, 0.28),
    0 0 30px rgba(255, 225, 120, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Champion card final tuning */
.champion-card {
  min-height: 112px;
  animation: championGlowFinal 4.4s ease-in-out infinite;
}

.champion-trophy {
  opacity: 0.30;
}

.champion-team {
  text-shadow:
    0 0 12px rgba(255,225,140,0.32),
    0 2px 8px rgba(0,0,0,0.28);
}

@keyframes championGlowFinal {
  0%, 100% {
    box-shadow:
      0 0 30px rgba(255,225,140,0.30),
      inset 0 1px 0 rgba(255,255,255,0.22);
  }

  50% {
    box-shadow:
      0 0 42px rgba(255,225,140,0.42),
      0 0 64px rgba(80,220,255,0.14),
      inset 0 1px 0 rgba(255,255,255,0.26);
  }
}

.wc-knockout .round,
.wc-knockout .round h3,
.wc-knockout .match-card,
.wc-knockout .match-meta,
.wc-knockout .match-team,
.wc-knockout .match-score,
.wc-knockout .match-extra,
.wc-knockout .trophy-text,
.wc-knockout .champion-label,
.wc-knockout .champion-team {
  color: #ffffff !important;
}

/* Keep focus mode polished */
.knockout-bracket.is-focused .round {
  opacity: 0.55;
  filter: none;
}

.knockout-bracket.is-focused .round.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1.065);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.36),
    0 20px 46px rgba(0,0,0,0.40),
    0 0 44px rgba(110,220,255,0.38);
}

/* =========================================================
   KNOCKOUT CONVERGENCE POLISH
   Purpose: left path flows inward, right path flows inward,
   center/champion energy rises vertically
========================================================= */

/* Left bracket winner sweep: left → center */
.bracket-side-shell-left .match-line.is-winner::before {
  animation-name: winnerSweepLeftToRight;
}

/* Right bracket winner sweep: right → center */
.bracket-side-shell-right .match-line.is-winner::before {
  animation-name: winnerSweepRightToLeft;
}

/* Center final/third-place sweep: vertical rise */
.bracket-center .match-line.is-winner::before,
.round-final .match-line.is-winner::before {
  animation-name: winnerSweepBottomToTop;
}

@keyframes winnerSweepLeftToRight {
  from { transform: translateX(-120%); }
  to   { transform: translateX(120%); }
}

@keyframes winnerSweepRightToLeft {
  from { transform: translateX(120%); }
  to   { transform: translateX(-120%); }
}

@keyframes winnerSweepBottomToTop {
  from { transform: translateY(120%); }
  to   { transform: translateY(-120%); }
}

/* Center champion card breathes upward */
.champion-trophy {
  animation: championTrophyRise 4.8s ease-in-out infinite;
}

@keyframes championTrophyRise {
  0%, 100% {
    transform: translateY(6px) scale(1);
    opacity: 0.28;
  }

  50% {
    transform: translateY(-4px) scale(1.04);
    opacity: 0.38;
  }
}

/* =========================================================
   COUNTDOWN FINAL ENHANCEMENT
   Purpose: make countdown feel alive without overpowering bracket
========================================================= */

.countdown-box {
  animation: countdownBreath 4.8s ease-in-out infinite;
}

.countdown-box::after {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.18), transparent 34%),
    radial-gradient(circle at 30% 45%, rgba(80,220,255,0.16), transparent 28%),
    radial-gradient(circle at 70% 55%, rgba(255,225,120,0.14), transparent 26%);
  opacity: 0.36;
  transform: rotate(0deg);
  animation: countdownAuraSpin 9s linear infinite;
  pointer-events: none;
}

.countdown-main,
.countdown-sub {
  position: relative;
  z-index: 2;
}

@keyframes countdownBreath {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 0 20px rgba(80, 220, 255, 0.28),
      0 0 30px rgba(255, 225, 120, 0.14),
      inset 0 1px 0 rgba(255,255,255,0.15);
  }

  50% {
    transform: translateY(-2px);
    box-shadow:
      0 0 28px rgba(80, 220, 255, 0.38),
      0 0 42px rgba(255, 225, 120, 0.22),
      inset 0 1px 0 rgba(255,255,255,0.20);
  }
}

@keyframes countdownAuraSpin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   FOOTER
========================= */

.site-footer {
  position: relative;
  padding: 32px 24px 28px;
  margin-top: 48px;
}

.footer-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;

  background: rgba(22, 42, 68, 0.90);

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 32px rgba(0, 0, 0, 0.16);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Animated SVG-inspired border */

.footer-bar::before {
  content: "";

  position: absolute;
  inset: -1px;

  border-radius: inherit;

  pointer-events: none;

  background:
    linear-gradient(
      120deg,
      rgba(0, 102, 255, 0.12),
      rgba(0, 102, 255, 0.9),
      rgba(255, 221, 0, 0.78),
      rgba(0, 176, 80, 0.82),
      rgba(0, 102, 255, 0.12)
    );

  background-size: 240% 240%;

  padding: 1.5px;

  opacity: 0.82;

  animation: footerBorderFlow 8s linear infinite;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.footer-left {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}

.footer-profile {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
}

/* =========================
   PRESLEY JOHN
========================= */

.footer-profile-name {
  position: relative;

  border: 1px solid rgba(255, 221, 0, 0.38);

  background:
    linear-gradient(
      135deg,
      rgba(0, 102, 255, 0.24),
      rgba(255, 221, 0, 0.14),
      rgba(0, 176, 80, 0.24)
    );

  cursor: pointer;

  font: inherit;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.04em;

  color: rgba(255, 255, 255, 0.96);

  padding: 8px 14px;

  border-radius: 999px;

  box-shadow:
    0 0 16px rgba(0, 102, 255, 0.26),
    0 0 20px rgba(255, 221, 0, 0.14),
    0 0 22px rgba(0, 176, 80, 0.18);

  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    filter 0.25s ease;
}

.footer-profile-name::after {
  content: "↗";

  display: inline-block;

  margin-left: 8px;

  font-size: 0.72rem;

  opacity: 0.75;

  transform: translateY(-1px);
}

.footer-profile-name:hover {
  transform: translateY(-3px) scale(1.03);

  filter: brightness(1.08);

  border-color: rgba(255, 221, 0, 0.72);

  background:
    linear-gradient(
      135deg,
      rgba(0, 102, 255, 0.34),
      rgba(255, 221, 0, 0.18),
      rgba(0, 176, 80, 0.30)
    );

  box-shadow:
    0 0 20px rgba(0, 102, 255, 0.38),
    0 0 28px rgba(255, 221, 0, 0.24),
    0 0 34px rgba(0, 176, 80, 0.24);
}

/* =========================
   PROFILE PANEL
========================= */

.footer-profile-panel {
  position: absolute;

  right: 0;
  bottom: calc(100% + 14px);

  min-width: 175px;

  padding: 10px;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(18, 28, 58, 0.92),
      rgba(5, 10, 24, 0.96)
    );

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(66, 190, 255, 0.14);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  opacity: 0;
  visibility: hidden;

  transform: translateY(8px) scale(0.96);

  pointer-events: none;

  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;

  z-index: 20;
}

.footer-profile:hover .footer-profile-panel,
.footer-profile:focus-within .footer-profile-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* =========================
   PROFILE LINKS
========================= */

.footer-profile-link {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 9px 12px;

  border-radius: 999px;

  text-decoration: none;

  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;

  color: rgba(255, 255, 255, 0.96);

  opacity: 0;

  transform: translateY(8px) scale(0.96);

  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    filter 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.footer-profile-link + .footer-profile-link {
  margin-top: 8px;
}

/* HAHAII.NET — VINCY BLUE */

.footer-profile-link.portfolio {
  background:
    linear-gradient(
      135deg,
      rgba(0, 102, 255, 0.98),
      rgba(0, 72, 230, 0.95)
    );

  border: 1px solid rgba(120, 190, 255, 0.55);

  box-shadow:
    0 0 20px rgba(0, 102, 255, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* INSTAGRAM — VINCY YELLOW */

.footer-profile-link.instagram {
  background:
    linear-gradient(
      135deg,
      rgba(255, 221, 0, 0.98),
      rgba(255, 196, 0, 0.96)
    );

  border: 1px solid rgba(255, 238, 120, 0.55);

  color: #111111;

  box-shadow:
    0 0 20px rgba(255, 221, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

/* CONTACT — SAME VINCY YELLOW */

.footer-profile-link.email {
  background:
    linear-gradient(
      135deg,
      rgba(255, 221, 0, 0.98),
      rgba(255, 196, 0, 0.96)
    );

  border: 1px solid rgba(255, 238, 120, 0.55);

  color: #111111;

  box-shadow:
    0 0 20px rgba(255, 221, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

/* DONATE — VINCY GREEN */

.footer-profile-link.donate {
  background:
    linear-gradient(
      135deg,
      rgba(0, 176, 80, 0.98),
      rgba(0, 140, 62, 0.96)
    );

  border: 1px solid rgba(120, 255, 180, 0.48);

  box-shadow:
    0 0 20px rgba(0, 176, 80, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Fade-in stagger */

.footer-profile:hover .footer-profile-link,
.footer-profile:focus-within .footer-profile-link {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.footer-profile:hover .footer-profile-link:nth-child(1) {
  transition-delay: 0.04s;
}

.footer-profile:hover .footer-profile-link:nth-child(2) {
  transition-delay: 0.11s;
}

.footer-profile:hover .footer-profile-link:nth-child(3) {
  transition-delay: 0.18s;
}

.footer-profile:hover .footer-profile-link:nth-child(4) {
  transition-delay: 0.25s;
}

/* Hover animation */

.footer-profile-link:hover {
  transform: translateY(-3px) scale(1.05);

  filter: brightness(1.08);

  border-color: rgba(255, 255, 255, 0.55);

  box-shadow:
    0 0 28px rgba(255, 255, 255, 0.14);
}

/* =========================
   BORDER FLOW
========================= */

@keyframes footerBorderFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 220% 50%;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {

  .site-footer {
    padding: 28px 16px 24px;
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-profile {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-profile-panel {
    right: auto;
    left: 0;
  }
}

.site-footer {
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

/* =========================================================
   MICRO POLISH - SECTION REVEALS
========================================================= */

.reveal-watch {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(3px);
  transition:
    opacity 0.48s ease,
    transform 0.48s ease,
    filter 0.48s ease;
}

.reveal-watch.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}


/* Keep the groups reveal softer because it is a large section */
.wc-groups-overlay.reveal-watch {
  transform: translateY(28px);
}

/* Best 3rd enters like a qualification board */
.best-third-card.reveal-watch {
  transform: translateY(26px) scale(0.97);
}

/* Top scorers enters from below like a leaderboard rising */
.top-scorers-section.reveal-watch {
  transform: translateY(42px) scale(0.98);
}

.knockout-heading.reveal-watch {
  transition-delay: 0s;
}

.countdown-wrap.reveal-watch {
  transition-delay: 0.18s;
}

#knockoutBracket.reveal-watch {
  transition-delay: 0.28s;
}


/* =========================================================
   MOBILE FINAL PASS — READABILITY / ICON NAV / BANDS
   Date: 2026-06-10
   Purpose:
   - One clean mobile override block after older mobile passes.
   - Desktop keeps glass / blur / motion.
   - Mobile gets icon-only nav, darker bands, less blur, less motion.
========================================================= */

@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    background-attachment: scroll;
    background-position: center top;
  }

  .hero::before {
    z-index: 2;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    background:
      linear-gradient(to bottom, rgba(2, 10, 20, 0.20), rgba(3, 14, 28, 0.36));
  }

  .hero-home-button {
    position: fixed;
    top: 18px;
    left: 12px;
    z-index: 20;
    gap: 14px;
    padding: 8px 14px;
    transform: scale(0.82);
    transform-origin: top left;
    backdrop-filter: blur(6px) saturate(115%);
    -webkit-backdrop-filter: blur(6px) saturate(115%);
  }

  .hero-icon { font-size: 28px; }

  .side-nav {
    position: fixed;
    top: 108px;
    left: 8px;
    width: 58px;
    z-index: 20;
    gap: 8px;
    padding: 6px;
    border-radius: 22px;
    backdrop-filter: blur(6px) saturate(115%);
    -webkit-backdrop-filter: blur(6px) saturate(115%);
  }

  .side-nav-button {
    width: 46px;
    min-height: 46px;
    height: 46px;
    padding: 6px;
    border-radius: 16px;
    gap: 0;
  }

  .side-nav-button strong {
    display: none !important;
  }

  .side-nav-button .nav-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
    border-radius: 14px;
  }

  .side-nav:hover .side-nav-button,
  .side-nav:hover .side-nav-button:hover,
  .side-nav-button.is-active {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .side-action-right {
    position: fixed;
    right: 14px;
    top: 48%;
    z-index: 20;
  }

  .wall-trigger {
    width: 70px;
    min-height: 72px;
    padding: 8px 7px;
    border-radius: 22px;
    backdrop-filter: blur(6px) saturate(115%);
    -webkit-backdrop-filter: blur(6px) saturate(115%);
  }

  .wall-trigger .nav-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .wall-trigger strong,
  .wall-trigger span:not(.nav-icon) {
    font-size: 11px;
  }

  .hero {
    min-height: 100svh;
    padding: 116px 12px 72px 78px;
    overflow: hidden;
  }

  .hero-title-wrap {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 520px;
    margin: 0;
    transform: none !important;
    animation: none;
    z-index: 10;
  }

  .hero-title-frame {
    padding: 1.15rem 1rem;
    border-radius: 24px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }

  .hero-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-align: left;
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 3.25rem);
    white-space: normal;
    text-align: left;
    line-height: 0.96;
  }

  .hero-subtitle {
    text-align: left;
    font-size: 0.95rem;
  }

  .dribble-lane {
    top: 360px;
    left: 46%;
    width: 100vw;
    height: 280px;
    opacity: 0.42;
    transform: translateX(-50%) scale(0.68);
    transform-origin: top center;
  }

  .nav-panel--placeholder,
  .wc-fixtures-container,
  .wc-results-container,
  .wc-groups-overlay,
  .top-scorers-section,
  .wc-knockout {
    padding-left: 76px !important;
    padding-right: 12px !important;
  }

  .wc-groups-overlay,
  .top-scorers-section,
  .wc-knockout,
  .site-footer {
    position: relative;
    background: linear-gradient(
      to bottom,
      rgba(2, 10, 20, 0.22),
      rgba(4, 18, 32, 0.34)
    );
  }


  .groups-overlay-shell { display: block !important; }

  .groups-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .group-card {
    width: 100%;
    min-height: auto;
    padding: 12px;
    border-radius: 20px;
    animation: none !important;
  }

  .groups-grid:hover .group-card,
  .groups-grid:hover .group-card:hover,
  .groups-grid:has(.group-card.is-focused) .group-card,
  .groups-grid:has(.group-card.is-focused) .group-card.is-focused,
  .group-card:focus-within,
  .group-card.is-focused {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .group-head,
  .group-row {
    grid-template-columns: minmax(0, 1fr) 28px 34px 34px;
    gap: 6px;
    font-size: 12px;
  }

  .group-row {
    min-height: 34px;
    padding: 7px 8px;
  }

  .best-third-card,
  .top-scorers-card {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .best-third-head,
  .best-third-row {
    grid-template-columns: 32px minmax(0, 1fr) 32px 28px 38px 34px;
    column-gap: 0.35rem;
    font-size: 0.82rem;
  }

  .top-scorers-section {
    justify-content: flex-start;
    margin-top: 1.5rem;
  }

  .top-scorers-head,
  .top-scorer-row {
    grid-template-columns: 36px minmax(0, 1fr) 48px;
    column-gap: 0.45rem;
  }

  .top-scorer-name {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-scorer-team .team-name { display: none; }

  .wc-knockout {
    padding-top: 70px !important;
    padding-bottom: 92px !important;
    overflow: hidden;
  }

  .knockout-heading {
    text-align: left;
    margin-bottom: 22px;
  }

  #knockoutBracket {
    width: calc(100vw - 76px);
    overflow-x: auto !important;
    overflow-y: hidden;
    padding: 0 18px 30px 0;
    -webkit-overflow-scrolling: touch;
  }

  .knockout-bracket {
    min-width: 1280px;
    max-width: none;
    transform: none !important;
    justify-content: start;
    margin: 0;
  }

  .matchday-utility {
    position: fixed;
    bottom: calc(18px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
  }

  .site-footer {
    margin-top: 24px;
    padding: 24px 14px calc(28px + env(safe-area-inset-bottom));
  }

  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 16px 86px;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  .side-nav-button strong {
    font-size: 9px;
    line-height: 1;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* =========================================================
   MOBILE FINAL NORMALIZE — GROUPS + BEST 3RD USE SCORERS MODEL
   Date: 2026-06-10
   Purpose:
   - Stop fighting old group/best-third additives.
   - Reuse the Top Goalscorers visual model for mobile.
   - Keep individual row colors for rank/qualification states.
   - Desktop remains untouched.
========================================================= */

@media (max-width: 700px) {

  /* Keep section bands light enough to show the stadium/field. */
  .wc-groups-overlay,
  .top-scorers-section,
  .wc-knockout,
  .site-footer {
    background: linear-gradient(
      to bottom,
      rgba(2, 10, 20, 0.10),
      rgba(4, 18, 32, 0.18)
    ) !important;
  }

  /* Shared card shell copied from the Top Goalscorers feel. */
  .group-card,
  .stat-panel,
  .best-third-card {
    border-radius: 24px !important;
    padding: 0.85rem !important;
    background:
      radial-gradient(circle at 20% 0%, rgba(125, 215, 255, 0.20), transparent 34%),
      radial-gradient(circle at 90% 100%, rgba(105,255,190,0.14), transparent 34%),
      rgba(125, 180, 255, 0.10) !important;
    border: 1px solid rgba(190, 230, 255, 0.20) !important;
    box-shadow:
      0 18px 38px rgba(0,0,0,0.18),
      inset 0 1px 0 rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    color: #ffffff !important;
  }

  /* Make headings/readout white again. */
  .section-heading h2,
  .group-card__top h3,
  .stat-panel h3,
  .best-third-header h3,
  .group-head,
  .best-third-head,
  .mini-standings-head,
  .section-kicker,
  .panel-kicker {
    color: rgba(255,255,255,0.94) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.30) !important;
  }

  .group-head,
  .best-third-head,
  .mini-standings-head {
    border-bottom: 1px solid rgba(255,255,255,0.14) !important;
    opacity: 1 !important;
  }

  /* Shared row rhythm copied from scorer rows. */
  .group-row,
  .best-third-row,
  .mini-row {
    min-height: 42px !important;
    padding: 0.62rem 0.68rem !important;
    margin-bottom: 7px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255,255,255,0.085) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    animation: none !important;
  }

  .group-row *,
  .best-third-row *,
  .mini-row * {
    color: inherit !important;
  }

  /* Preserve group row identity colors, just in the scorer-row style. */
  .group-row.rank-1 {
    background:
      linear-gradient(90deg, rgba(48, 130, 255, 0.34), rgba(120, 220, 255, 0.08)) !important;
  }

  .group-row.rank-2 {
    background:
      linear-gradient(90deg, rgba(34, 190, 150, 0.28), rgba(80, 175, 255, 0.08)) !important;
  }

  .group-row.rank-3 {
    background:
      linear-gradient(90deg, rgba(245, 185, 55, 0.24), rgba(255,255,255,0.06)) !important;
  }

  .group-row.rank-4 {
    background:
      linear-gradient(90deg, rgba(220, 65, 82, 0.22), rgba(255,255,255,0.045)) !important;
  }

  /* Preserve Best 3rd qualification/elimination colors. */
  .best-third-row.qualifies,
  .mini-row.qualifies {
    background:
      radial-gradient(circle at 10% 50%, rgba(255, 230, 130, 0.20), transparent 34%),
      linear-gradient(90deg, rgba(255,210,90,0.28), rgba(255,255,255,0.07)) !important;
    border-color: rgba(255,210,90,0.36) !important;
  }

  .best-third-row.eliminated {
    background:
      linear-gradient(90deg, rgba(150, 90, 255, 0.18), rgba(255, 70, 95, 0.12)) !important;
    border-color: rgba(255, 105, 140, 0.26) !important;
  }

  /* Stop desktop hover/focus motion from darkening or blurring mobile cards. */
  .groups-grid:hover .group-card,
  .groups-grid:hover .group-card:hover,
  .groups-grid:has(.group-card.is-focused) .group-card,
  .groups-grid:has(.group-card.is-focused) .group-card.is-focused,
  .group-card:focus-within,
  .group-card.is-focused,
  .group-row:hover,
  .best-third-row:hover,
  .mini-row:hover {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  /* Remove extra pseudo glow layers that were making Groups look muddy. */
  .group-card::before,
  .group-card::after,
  .stat-panel::before,
  .stat-panel::after,
  .best-third-card::before,
  .best-third-card::after {
    opacity: 0 !important;
    display: none !important;
  }

  .best-third-note {
    color: rgba(255,255,255,0.82) !important;
  }
}

/* FINAL TEXT COLOR LOCK — GROUPS / BEST THIRD / KNOCKOUT */
.wc-groups-overlay,
.wc-groups-overlay *,
.group-card,
.group-card *,
.stat-panel,
.stat-panel *,
.best-third-card,
.best-third-card *,
.wc-knockout,
.wc-knockout * {
  color: #ffffff !important;
}

.group-head,
.best-third-head,
.mini-standings-head,
.section-kicker,
.panel-kicker {
  color: rgba(225, 240, 255, 0.88) !important;
}

.section-heading h2,
.group-card__top h3,
.stat-panel h3,
.best-third-header h3,
.knockout-heading h2,
.round h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

/* HOST MOBILE FIX — add at very bottom */
@media (max-width: 700px) {
  #hosts-panel.nav-panel--placeholder {
    padding-left: 76px !important;
    padding-right: 12px !important;
    overflow: visible !important;
  }

  .host-reveal {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 12px 120px !important;
    overflow: visible !important;
  }

  .host-reveal-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .host-map-card,
  .host-detail-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 14px !important;
  }

  .north-america-map {
    min-height: 260px !important;
  }

  .host-detail-tags,
  .host-country-tabs {
    flex-wrap: wrap !important;
  }

  .matchday-utility {
    z-index: 30;
  }
}