:root {
  --ku-purple: #2c0739;
  --ku-deep: #120218;
  --ku-panel: rgba(29, 4, 39, 0.82);
  --ku-panel-strong: rgba(54, 0, 72, 0.92);
  --ku-lime: #b7ff22;
  --ku-lime-soft: rgba(183, 255, 34, 0.18);
  --ku-cyan: #04f5ff;
  --ku-cyan-soft: rgba(4, 245, 255, 0.18);
  --ku-pink: #ff2882;
  --ku-white: #ffffff;
  --ku-muted: rgba(255, 255, 255, 0.72);
  --ku-line: rgba(255, 255, 255, 0.16);
  --ku-gold: #ffd65a;
  --ku-silver: #e8f0ff;
  --ku-bronze: #ffb06b;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ku-deep);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ku-white);
  background:
    radial-gradient(circle at 10% 8%, rgba(4, 245, 255, 0.35), transparent 25rem),
    radial-gradient(circle at 88% 12%, rgba(255, 40, 130, 0.28), transparent 27rem),
    radial-gradient(circle at 52% 96%, rgba(183, 255, 34, 0.28), transparent 25rem),
    linear-gradient(180deg, #3b0752 0%, #220331 54%, #101c17 100%);
  font-family: Inter, ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 72%);
}

body::after {
  background:
    conic-gradient(from 210deg at 50% 120%, rgba(183,255,34,0.22), transparent 22%, rgba(4,245,255,0.12) 40%, transparent 64%, rgba(255,40,130,0.16) 82%, transparent);
}

a {
  color: inherit;
}

.leaderboard-page {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(12px, 2.6vw, 26px) 0 20px;
}

.leaderboard-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--ku-line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    var(--ku-panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
}

.leaderboard-hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 18% 25%, rgba(4,245,255,0.28), transparent 18rem),
    radial-gradient(circle at 92% 12%, rgba(255,40,130,0.28), transparent 16rem),
    radial-gradient(circle at 50% 120%, rgba(183,255,34,0.22), transparent 22rem);
  opacity: 0.9;
  pointer-events: none;
}

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

.hero-logo-shell {
  display: grid;
  place-items: center;
  width: clamp(82px, 13vw, 138px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.20), rgba(255,255,255,0.03) 66%),
    linear-gradient(135deg, rgba(4,245,255,0.23), rgba(255,40,130,0.20));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.16),
    0 22px 54px rgba(4,245,255,0.16),
    0 0 46px rgba(183,255,34,0.20);
}

.hero-logo {
  width: 135%;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,0.44));
}

.hero-logo-with-balls {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.hero-logo-with-balls .hero-logo {
  position: relative;
  z-index: 2;
}

.leaderboard-logo-ball {
  position: absolute;
  left: 50%;
  top: 58%;
  width: var(--size, 34px);
  height: var(--size, 34px);
  margin-left: calc(var(--size, 34px) / -2);
  margin-top: calc(var(--size, 34px) / -2);
  border-radius: 50%;
  background-image: url('ball.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.18) rotate(0deg);
  transform-origin: center;
  z-index: 1;
  pointer-events: none;
  will-change: transform, opacity;
  backface-visibility: hidden;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.28));
  animation: leaderboardBallBurst var(--dur, 3.7s) linear var(--delay, 0s) infinite;
}

.leaderboard-logo-ball-1 { --size: 28px; --x: -76px; --y: 56px; --rot: -220deg; --delay: 0s; --dur: 3.9s; }
.leaderboard-logo-ball-2 { --size: 25px; --x: 80px; --y: 52px; --rot: 190deg; --delay: .32s; --dur: 3.5s; }
.leaderboard-logo-ball-3 { --size: 34px; --x: -96px; --y: 18px; --rot: -260deg; --delay: .78s; --dur: 4.1s; }
.leaderboard-logo-ball-4 { --size: 27px; --x: 98px; --y: 16px; --rot: 230deg; --delay: 1.12s; --dur: 3.8s; }
.leaderboard-logo-ball-5 { --size: 30px; --x: -64px; --y: 88px; --rot: -210deg; --delay: 1.48s; --dur: 3.9s; }
.leaderboard-logo-ball-6 { --size: 26px; --x: 68px; --y: 90px; --rot: 200deg; --delay: 1.86s; --dur: 4s; }
.leaderboard-logo-ball-7 { --size: 24px; --x: 0px; --y: 96px; --rot: -180deg; --delay: .18s; --dur: 3.3s; }
.leaderboard-logo-ball-8 { --size: 23px; --x: 0px; --y: 62px; --rot: 180deg; --delay: .95s; --dur: 3.7s; }

.eyebrow,
.board-kicker,
.status-label {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ku-cyan);
}

h1,
h2 {
  margin: 0;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

h1 {
  margin-top: 2px;
  max-width: 720px;
  font-size: clamp(2.15rem, 5.3vw, 5.2rem);
  text-transform: uppercase;
  text-shadow:
    0 3px 0 rgba(18, 2, 24, 0.9),
    0 0 26px rgba(4,245,255,0.22);
}

.hero-subtitle {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--ku-muted);
  font-size: clamp(0.92rem, 1.45vw, 1.05rem);
  line-height: 1.32;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-self: stretch;
  justify-content: center;
  min-width: 132px;
}

.primary-link,
.secondary-link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 999px;
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.primary-link {
  border: 0;
  color: #1b0525;
  background: linear-gradient(135deg, var(--ku-lime), #ecff62);
  box-shadow: 0 16px 36px rgba(183,255,34,0.24);
}

.secondary-link {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--ku-white);
  background: rgba(255,255,255,0.08);
}

.primary-link:hover,
.secondary-link:hover,
.primary-link:focus-visible,
.secondary-link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  outline: none;
}

.status-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 8px 0;
}

.status-strip > div {
  padding: 9px 14px;
  border: 1px solid var(--ku-line);
  border-radius: 15px;
  background: rgba(18, 2, 24, 0.48);
  box-shadow: 0 16px 34px rgba(0,0,0,0.20);
}

.status-strip strong {
  margin-top: 2px;
  font-size: clamp(1.04rem, 2vw, 1.32rem);
  line-height: 1.1;
text-align: left;
}

.boards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.board-card {
  min-width: 0;
  border: 1px solid var(--ku-line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)),
    var(--ku-panel-strong);
  box-shadow: 0 24px 70px rgba(0,0,0,0.30);
  overflow: hidden;
}

.board-card-teams {
  --accent: var(--ku-lime);
  --accent-soft: var(--ku-lime-soft);
}

.board-card-players {
  --accent: var(--ku-cyan);
  --accent-soft: var(--ku-cyan-soft);
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 13px 16px 10px;
  border-bottom: 1px solid var(--ku-line);
  background: linear-gradient(135deg, var(--accent-soft), rgba(255,255,255,0.03));
}

.board-header h2 {
  margin-top: 3px;
  font-size: clamp(1.35rem, 2.7vw, 1.95rem);
  text-transform: uppercase;
}

.board-chip {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: #18031f;
  background: var(--accent);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.rows {
  display: grid;
  gap: 6px;
  padding: 8px;
}

.leaderboard-row {
  --row-accent: rgba(255,255,255,0.16);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 56px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 15px;
  background:
    linear-gradient(90deg, var(--row-accent), transparent 38%),
    rgba(255,255,255,0.065);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.leaderboard-row::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.12) 20%, transparent 38%);
  transform: translateX(-120%);
  opacity: 0;
}

.rank {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: var(--ku-white);
  background: rgba(18,2,24,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.rank-medal {
  font-size: 1.2rem;
  line-height: 1;
}

.name {
  min-width: 0;
  font-weight: 950;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.meta {
  display: block;
  margin-top: 3px;
  color: var(--ku-muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.points {
  justify-self: end;
  color: var(--ku-lime);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1;
  font-weight: 1000;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(183,255,34,0.20);
  white-space: nowrap;
}

.board-card-players .points {
  color: var(--ku-cyan);
  text-shadow: 0 0 18px rgba(4,245,255,0.20);
}

.team-link {
  color: var(--ku-cyan);
  font-weight: 950;
  text-decoration: none;
}

.team-link:hover,
.team-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.row-gold,
.row-silver,
.row-bronze {
  animation: podiumPulse 2.6s ease-in-out infinite;
}

.row-gold {
  --row-accent: rgba(255,214,90,0.24);
  border-color: rgba(255,214,90,0.54);
  box-shadow: 0 0 30px rgba(255,214,90,0.18), inset 0 1px 0 rgba(255,255,255,0.14);
}

.row-silver {
  --row-accent: rgba(232,240,255,0.20);
  border-color: rgba(232,240,255,0.44);
  box-shadow: 0 0 24px rgba(232,240,255,0.14), inset 0 1px 0 rgba(255,255,255,0.12);
}

.row-bronze {
  --row-accent: rgba(255,176,107,0.20);
  border-color: rgba(255,176,107,0.46);
  box-shadow: 0 0 24px rgba(255,176,107,0.14), inset 0 1px 0 rgba(255,255,255,0.12);
}

.row-gold::after,
.row-silver::after,
.row-bronze::after {
  animation: rowShine 3.8s ease-in-out infinite;
  opacity: 1;
}

.row-gold .rank { background: linear-gradient(135deg, #7b5512, var(--ku-gold)); color: #1d1020; }
.row-silver .rank { background: linear-gradient(135deg, #667085, var(--ku-silver)); color: #111827; }
.row-bronze .rank { background: linear-gradient(135deg, #88451d, var(--ku-bronze)); color: #180b06; }

.empty-state,
.error-state {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed rgba(255,255,255,0.20);
  border-radius: 22px;
  color: var(--ku-muted);
  text-align: center;
  font-weight: 850;
}

.error-state {
  color: #ffd0e2;
  background: rgba(255,40,130,0.10);
}

.leaderboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 0 4px;
  color: var(--ku-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.leaderboard-footer a {
  color: var(--ku-white);
  text-decoration: none;
}

.leaderboard-footer a:hover,
.leaderboard-footer a:focus-visible {
  text-decoration: underline;
  outline: none;
}

@keyframes leaderboardBallBurst {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.18) rotate(0deg);
  }
  8% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.18) rotate(0deg);
  }
  18% {
    opacity: 0.92;
    transform: translate3d(calc(var(--x) * 0.12), calc(var(--y) * 0.12), 0) scale(0.42) rotate(calc(var(--rot) * 0.12));
  }
  42% {
    opacity: 0.96;
    transform: translate3d(calc(var(--x) * 0.46), calc(var(--y) * 0.46), 0) scale(0.78) rotate(calc(var(--rot) * 0.46));
  }
  68% {
    opacity: 0.88;
    transform: translate3d(calc(var(--x) * 0.78), calc(var(--y) * 0.78), 0) scale(0.98) rotate(calc(var(--rot) * 0.78));
  }
  88% {
    opacity: 0.18;
    transform: translate3d(var(--x), var(--y), 0) scale(1.06) rotate(var(--rot));
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--x), var(--y), 0) scale(1.1) rotate(var(--rot));
  }
}

@keyframes podiumPulse {
  0%, 100% { transform: translateY(0); filter: brightness(1); }
  50% { transform: translateY(-2px); filter: brightness(1.08); }
}

@keyframes rowShine {
  0%, 55% { transform: translateX(-120%); }
  82%, 100% { transform: translateX(120%); }
}

@media (max-width: 940px) {
  .leaderboard-hero {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .hero-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-self: auto;
  }

  .hero-actions > * {
    flex: 1 1 0;
  }

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

@media (max-width: 640px) {
  .leaderboard-page {
    width: min(100% - 18px, 1180px);
    padding-top: 6px;
  }

  .leaderboard-hero {
    grid-template-columns: 1fr;
    text-align: center;
    border-radius: 15px;
    padding: 10px;
    gap: 8px;
  }

  .hero-logo-shell {
    margin: 0 auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .status-strip {
    grid-template-columns: 1fr;
  }

  .board-header {
    align-items: flex-start;
  }

  .board-chip {
    font-size: 0.68rem;
  }

  .leaderboard-row {
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
  }

  .rank {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .points {
    grid-column: 2;
    justify-self: start;
    margin-top: -6px;
  }

  .leaderboard-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
    margin-top: 8px;
  }
}

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


.leaderboard-challenges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 10px;
    display: none;
}

.leaderboard-challenge-card {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(183,255,34,0.18), transparent 14rem),
    radial-gradient(circle at 96% 15%, rgba(4,245,255,0.14), transparent 13rem),
    rgba(18,2,24,0.52);
  box-shadow: 0 18px 48px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
}

.leaderboard-challenge-card strong {
  color: var(--ku-white);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.leaderboard-challenge-card > span:not(.challenge-kicker):not(.challenge-progress) {
  color: var(--ku-muted);
  font-size: 0.88rem;
  line-height: 1.28;
  font-weight: 780;
}

.challenge-progress {
  display: block;
  height: 8px;
  margin-top: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
}

.challenge-progress i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ku-cyan), var(--ku-lime));
  box-shadow: 0 0 18px rgba(183,255,34,0.26);
  transition: width 360ms ease;
}

/* Sponsor rotation for standalone leaderboard */
.sponsor-stage {
  margin: 8px 0 10px;
}

.sponsor-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 22px;
  color: inherit;
  text-decoration: none;
  background:
    radial-gradient(circle at 12% 22%, rgba(183,255,34,0.18), transparent 14rem),
    radial-gradient(circle at 90% 20%, rgba(4,245,255,0.17), transparent 15rem),
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    rgba(18, 2, 24, 0.58);
  box-shadow: 0 22px 60px rgba(0,0,0,0.26);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease, border-color 160ms ease;
}

.sponsor-card:hover,
.sponsor-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(183,255,34,0.44);
  outline: none;
}

.sponsor-card.is-changing {
  opacity: 0;
  transform: translateY(4px) scale(0.992);
  filter: blur(1px);
}

.sponsor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.12) 22%, transparent 42%);
  transform: translateX(-130%);
  animation: sponsorShine 6.8s ease-in-out infinite;
}

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


.sponsor-image-frame {
  display: block;
  width: 100%;
  height: clamp(180px, 25vw, 220px);
  min-height: 320px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.06);
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.14);
}

.sponsor-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.sponsor-image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  color: var(--ku-lime);
  font-weight: 1000;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sponsor-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 10px 150px 12px 16px;
}

.sponsor-kicker {
  color: var(--ku-cyan);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sponsor-title {
  color: var(--ku-white);
  font-size: clamp(1.12rem, 2.1vw, 1.65rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-shadow: 0 3px 0 rgba(18, 2, 24, 0.78);
  font-weight: 1000;
}

.sponsor-message {
  max-width: 760px;
  color: var(--ku-muted);
  font-size: clamp(0.82rem, 1.25vw, 0.94rem);
  line-height: 1.24;
  font-weight: 780;
}

.sponsor-cta {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #1b0525;
  background: linear-gradient(135deg, var(--ku-cyan), #b7ff22);
  font-weight: 1000;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(0,0,0,0.24), 0 14px 32px rgba(4,245,255,0.18);
  transition: transform 160ms ease, filter 160ms ease;
}

.sponsor-card:hover .sponsor-cta,
.sponsor-card:focus-visible .sponsor-cta {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.sponsor-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}

.sponsor-dots button {
  appearance: none;
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10);
  cursor: pointer;
}

.sponsor-dots button.is-active {
  width: 24px;
  background: var(--ku-lime);
  box-shadow: 0 0 18px rgba(183,255,34,0.28);
}

@keyframes sponsorShine {
  0%, 58% { transform: translateX(-130%); }
  84%, 100% { transform: translateX(130%); }
}

@media (max-width: 760px) {
  .leaderboard-challenges {
    grid-template-columns: 1fr;
  }

  .sponsor-card {
    border-radius: 24px;
  }

  .sponsor-image-frame {
    height: clamp(118px, 57vw, 180px);
    min-height: 190px;
  }

  .sponsor-copy {
    padding: 9px 12px 8px;
  }
    .title-green{
        color:#abd938;
    }
  .sponsor-cta {
    position: static;
    width: calc(100% - 24px);
    margin: 0 12px 10px;
    justify-self: stretch;
  }
}

@media (max-width: 420px) {
  .sponsor-image-frame {
    height: clamp(104px, 42vw, 182px);
    min-height: 190px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .leaderboard-logo-ball {
    animation: none !important;
    opacity: 0.38;
    transform: translate3d(calc(var(--x) * 0.35), calc(var(--y) * 0.35), 0) scale(0.72);
  }
}