/* Fortnite / Fortbux display type — chunky condensed headlines */
@import url('https://fonts.cdnfonts.com/css/burbank-big-condensed-black');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Cabin:wght@500;600;700&display=swap');

:root {
  --bg-deep: #0d0f3a;
  --bg: #1b1c61;
  --bg-panel: #1a1b55;
  --bg-card: rgba(22, 24, 78, 0.88);
  --bg-card-solid: #191b52;
  --border: rgba(120, 150, 255, 0.22);
  --border-strong: rgba(255, 215, 70, 0.55);
  --cyan: #4cc9ff;
  --cyan-soft: #8adeff;
  --gold: #ffe566;
  --gold-hot: #ffd000;
  --gold-deep: #e6a800;
  --gold-glow: rgba(255, 208, 0, 0.45);
  --silver: #d7dde8;
  --bronze: #ff9a4d;
  --text: #ffffff;
  --text-muted: #a8b0d8;
  --radius: 16px;
  --font-fortnite: 'Burbank Big Condensed Black', 'Burbank Big Condensed', 'Anton', Impact, sans-serif;
  --font-body: 'Cabin', system-ui, sans-serif;
  --bux-rate: 222;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  line-height: 1.45;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ── Atmosphere ── */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 60% at 50% -8%, rgba(255, 208, 0, 0.14), transparent 52%),
    radial-gradient(ellipse 55% 50% at 0% 60%, rgba(76, 201, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 50% 45% at 100% 35%, rgba(130, 80, 255, 0.24), transparent 52%),
    radial-gradient(ellipse 40% 35% at 50% 100%, rgba(0, 229, 255, 0.08), transparent 55%),
    linear-gradient(180deg, #1a1c72 0%, var(--bg) 32%, #12144a 68%, #06071a 100%);
}

.bg-rays {
  position: absolute;
  inset: -20%;
  background: conic-gradient(
    from 200deg at 50% 0%,
    transparent 0deg,
    rgba(76, 201, 255, 0.06) 30deg,
    transparent 60deg,
    rgba(255, 208, 0, 0.05) 120deg,
    transparent 150deg,
    rgba(76, 201, 255, 0.04) 220deg,
    transparent 260deg
  );
  animation: raySpin 80s linear infinite;
}

@keyframes raySpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.bg-stars {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 30% 65%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(76, 201, 255, 0.8), transparent),
    radial-gradient(1px 1px at 72% 42%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 88% 78%, rgba(255, 208, 0, 0.7), transparent),
    radial-gradient(1px 1px at 15% 88%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 45% 48%, rgba(76, 201, 255, 0.5), transparent),
    radial-gradient(1px 1px at 92% 12%, rgba(255, 255, 255, 0.5), transparent);
  background-size: 100% 100%;
  animation: starTwinkle 6s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  from { opacity: 0.35; }
  to { opacity: 0.65; }
}

.bg-atmosphere::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1.5px);
  background-size: 3px 3px, 5px 5px;
}

.bg-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 15%, transparent 72%);
  animation: gridDrift 36s linear infinite;
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: orbFloat 11s ease-in-out infinite;
}

.orb-1 {
  width: 340px;
  height: 340px;
  background: rgba(255, 208, 0, 0.22);
  top: 0;
  left: 10%;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(76, 201, 255, 0.2);
  top: 35%;
  right: 5%;
  animation-delay: -4s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: rgba(130, 80, 255, 0.25);
  bottom: 5%;
  left: 40%;
  animation-delay: -7s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, -24px) scale(1.06); }
}

/* ── Flying BUX / V-BUX tokens ── */
.fx-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fly-bux {
  position: absolute;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 0 12px rgba(76, 201, 255, 0.55));
  animation: buxFloat linear infinite;
  will-change: transform, opacity;
}

.fly-bux.vbux {
  filter: drop-shadow(0 0 16px rgba(255, 208, 0, 0.5)) hue-rotate(-10deg) brightness(1.1);
}

.fly-bux.side-left,
.fly-bux.side-right {
  display: none;
}

.fb-1 { width: 42px; left: 8%; top: 12%; animation-duration: 22s; animation-delay: 0s; opacity: 0.35; }
.fb-2 { width: 28px; left: 22%; top: 55%; animation-duration: 18s; animation-delay: -4s; opacity: 0.25; }
.fb-3 { width: 36px; left: 75%; top: 18%; animation-duration: 25s; animation-delay: -8s; opacity: 0.3; }
.fb-4 { width: 24px; left: 88%; top: 62%; animation-duration: 20s; animation-delay: -2s; opacity: 0.22; }
.fb-5 { width: 32px; left: 45%; top: 8%; animation-duration: 28s; animation-delay: -12s; opacity: 0.28; }
.fb-6 { width: 20px; left: 60%; top: 78%; animation-duration: 16s; animation-delay: -6s; opacity: 0.2; }
.fb-7 { width: 38px; left: 12%; top: 38%; animation-duration: 24s; animation-delay: -10s; opacity: 0.32; }
.fb-8 { width: 26px; left: 82%; top: 42%; animation-duration: 19s; animation-delay: -14s; opacity: 0.26; }
.fb-9 { width: 30px; left: 35%; top: 72%; animation-duration: 21s; animation-delay: -3s; opacity: 0.24; }
.fb-10 { width: 22px; left: 68%; top: 28%; animation-duration: 17s; animation-delay: -9s; opacity: 0.2; }
.fb-11 { width: 48px; left: 2%; top: 30%; animation-duration: 26s; animation-delay: -5s; opacity: 0.3; }
.fb-12 { width: 44px; right: 2%; top: 50%; animation-duration: 23s; animation-delay: -11s; opacity: 0.28; }
.fb-13 { width: 36px; left: 1%; top: 70%; animation-duration: 20s; animation-delay: -7s; opacity: 0.25; }
.fb-14 { width: 40px; right: 1%; top: 20%; animation-duration: 27s; animation-delay: -15s; opacity: 0.27; }

@keyframes buxFloat {
  0% {
    transform: translate(100px, 110vh) rotate(0deg) scale(0.6);
    opacity: 0;
  }
  8% { opacity: var(--bux-op, 0.3); }
  28% {
    transform: translate(25px, 78vh) rotate(105deg) scale(0.85);
  }
  50% {
    transform: translate(-45px, 45vh) rotate(190deg) scale(1);
  }
  72% {
    transform: translate(-90px, 18vh) rotate(275deg) scale(0.85);
  }
  92% { opacity: var(--bux-op, 0.3); }
  100% {
    transform: translate(-145px, -15vh) rotate(360deg) scale(0.7);
    opacity: 0;
  }
}

.fb-1 { --bux-op: 0.35; }
.fb-2 { --bux-op: 0.25; }
.fb-3 { --bux-op: 0.3; }
.fb-4 { --bux-op: 0.22; }
.fb-5 { --bux-op: 0.28; }
.fb-6 { --bux-op: 0.2; }
.fb-7 { --bux-op: 0.32; }
.fb-8 { --bux-op: 0.26; }
.fb-9 { --bux-op: 0.24; }
.fb-10 { --bux-op: 0.2; }

@media (prefers-reduced-motion: reduce) {
  .fly-bux,
  .bg-rays,
  .bg-stars,
  .orb,
  .bg-atmosphere::after {
    animation: none !important;
  }
  .fly-bux { opacity: 0.12 !important; }
}

/* ── Layout ── */
.site {
  position: relative;
  z-index: 1;
  width: min(1400px, 100%);
  max-width: 1400px;
  margin: 0 auto;
  padding: max(0.85rem, env(safe-area-inset-top)) clamp(0.8rem, 2vw, 1.75rem) max(5.5rem, calc(4rem + env(safe-area-inset-bottom)));
}

/* ── Header ── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(180deg, rgba(35, 38, 110, 0.95), rgba(20, 22, 70, 0.9));
  border: 2px solid rgba(255, 215, 70, 0.2);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: fadeDown 0.65s ease both;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.brand-cube {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(76, 201, 255, 0.55));
  animation: cubePulse 3.2s ease-in-out infinite;
}

@keyframes cubePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.brand-wordmark {
  height: 26px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.35));
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  text-decoration: none;
  color: #fff;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.12s, border-color 0.12s, filter 0.12s;
}

.social-btn .social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.social-btn svg.social-icon {
  width: 16px;
  height: 16px;
}

.social-kick .social-icon {
  width: 100%;
  height: 100%;
}

.social-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  filter: brightness(1.12);
}

.social-kick:hover { border-color: #53fc18; }
.social-discord:hover { border-color: #5865f2; color: #8ea1ff; }
.social-x:hover { border-color: #fff; }

.nav-pages {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.nav-pages a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-fortnite);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1630;
  background: linear-gradient(180deg, #ffe566 0%, #ffc400 100%);
  border: 2px solid #fff2a8;
  border-radius: 12px;
  padding: 0.35rem 0.9rem 0.25rem;
  box-shadow: 0 4px 0 #b88600, 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s, filter 0.12s;
}

.nav-pages a img.nav-trophy {
  width: 1.35em;
  height: 1.35em;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.35));
}

.nav-pages a:hover,
.nav-pages a.active {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* ── Hero ── */
.hero-shell {
  display: block;
  width: min(680px, 100%);
  margin: 0 auto 2.25rem;
}

.hero {
  text-align: center;
  animation: fadeUp 0.75s ease 0.08s both;
}

.hero-side {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), transparent 42%),
    linear-gradient(145deg, rgba(28, 31, 102, 0.92), rgba(13, 15, 55, 0.88));
  border: 2px solid rgba(76, 201, 255, 0.24);
  border-radius: 22px;
  box-shadow:
    inset 0 0 28px rgba(76, 201, 255, 0.05),
    0 16px 38px rgba(0, 0, 0, 0.32);
  animation: fadeUp 0.8s ease 0.12s both;
}

.hero-side::before {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(76, 201, 255, 0.11);
  filter: blur(24px);
  top: -45px;
  right: -30px;
}

.hero-side-right {
  border-color: rgba(255, 208, 0, 0.28);
  animation-delay: 0.2s;
}

.hero-side-right::before {
  background: rgba(255, 208, 0, 0.13);
  right: auto;
  left: -30px;
}

.side-icon-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  border-radius: 18px;
  background: rgba(8, 10, 40, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(-3deg);
}

.side-icon-wrap img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.35));
}

.bux-side-icon {
  transform: rotate(4deg);
}

.bux-side-icon img {
  width: 64px;
  height: 64px;
}

.side-eyebrow,
.prize-kicker {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-side > strong {
  display: block;
  margin: 0.15rem 0 0.65rem;
  font-family: var(--font-fortnite);
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1;
  letter-spacing: 0.035em;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

.hero-side-right > strong {
  color: var(--gold);
}

.side-mini-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}

.side-mini-list span {
  display: flex;
  flex-direction: column;
  padding: 0.35rem 0.2rem;
  border-radius: 8px;
  background: rgba(8, 10, 40, 0.5);
  font-family: var(--font-fortnite);
  font-size: 0.95rem;
}

.side-mini-list b {
  color: var(--gold);
  font-size: 0.72rem;
}

.side-copy {
  max-width: 190px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.prize-showcase {
  width: min(365px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.15rem auto 0.75rem;
  padding: 0.8rem 1rem 0.65rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 208, 0, 0.18), transparent 62%),
    rgba(8, 10, 40, 0.48);
  border: 2px solid rgba(255, 208, 0, 0.25);
  box-shadow:
    inset 0 0 25px rgba(255, 208, 0, 0.05),
    0 10px 30px rgba(0, 0, 0, 0.2);
}

.prize-kicker {
  color: rgba(255, 239, 170, 0.72);
  margin-bottom: 0.25rem;
}

.prize-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.prize-label .cash {
  font-family: var(--font-fortnite);
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-shadow:
    0 3px 0 #b88600,
    0 0 24px rgba(255, 208, 0, 0.55),
    0 0 48px rgba(255, 208, 0, 0.25);
}

.hero-title {
  font-family: var(--font-fortnite);
  font-size: clamp(2.8rem, 9vw, 4.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 0.25rem;
  color: #fff;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.45),
    0 0 30px rgba(76, 201, 255, 0.25);
  transform: skewX(-4deg);
}

.hero-tag {
  font-family: var(--font-fortnite);
  font-size: clamp(1.15rem, 3.5vw, 1.65rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  margin-bottom: 0.85rem;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  padding: 0.55rem 1rem;
  background: rgba(12, 14, 50, 0.45);
  border: 2px solid rgba(76, 201, 255, 0.25);
  border-radius: 16px;
}

.hero-brand .brand-cube { width: 58px; height: 58px; }
.hero-brand .brand-wordmark { height: 38px; }

.hero-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 440px;
  margin: 0 auto 1.1rem;
}

.crown-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-fortnite);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #1a1630;
  background: linear-gradient(180deg, #ffe566, #ffb800);
  border: 2px solid #fff3b0;
  border-radius: 999px;
  padding: 0.35rem 0.9rem 0.2rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 0 #b88600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-fortnite);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a1630;
  background: linear-gradient(180deg, #ffe566 0%, #ffc400 55%, #f0a800 100%);
  border: 2px solid #fff2a8;
  border-radius: 12px;
  padding: 0.55rem 1.4rem 0.4rem;
  cursor: pointer;
  box-shadow: 0 5px 0 #b88600, 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.12s, filter 0.12s;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #b88600;
}

.btn-cyan {
  color: #041428;
  background: linear-gradient(180deg, #7ef0ff, #3ec8ff 60%, #1aa8e0);
  border-color: #c8f7ff;
  box-shadow: 0 5px 0 #0a6f96, 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* ── Currency chip (BUX default, USD on hover) ── */
.cash {
  position: relative;
  display: inline-grid;
  justify-items: center;
  align-items: center;
  vertical-align: middle;
  min-height: 1.2em;
}

.cash-face {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28em;
  transition: opacity 0.18s ease;
  white-space: nowrap;
}

.cash-bux img {
  width: 1.55em;
  height: 1.55em;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.stat .cash-bux img,
.wagered-cell .cash-bux img,
.prize-cell .cash-bux img {
  width: 1.6em;
  height: 1.6em;
}

.prize-label .cash-bux img {
  width: 1.05em;
  height: 1.05em;
}

.cash-usd {
  opacity: 0;
  pointer-events: none;
  color: #7dffb0;
  font-family: var(--font-fortnite);
  letter-spacing: 0.02em;
}

.cash:hover .cash-bux,
.cash:focus-visible .cash-bux {
  opacity: 0;
}

.cash:hover .cash-usd,
.cash:focus-visible .cash-usd {
  opacity: 1;
}

.stat .cash {
  font-family: var(--font-fortnite);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: #fff;
  margin-top: 0.2rem;
}

.stat.prize .cash { color: var(--cyan-soft); }
.place-1 .stat.prize .cash {
  color: var(--gold);
  text-shadow: 0 0 12px var(--gold-glow);
}
.place-3 .stat.prize .cash { color: var(--bronze); }

.wagered-cell .cash,
.prize-cell .cash {
  font-family: var(--font-fortnite);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.prize-cell .cash { color: var(--cyan-soft); }

/* ── Podium ── */
.podium {
  display: grid;
  grid-template-columns: 1fr 1.16fr 1fr;
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
  align-items: end;
  margin: 0 auto 1.75rem;
  width: min(1240px, 100%);
  animation: fadeUp 0.8s ease 0.15s both;
}

.podium-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 35%),
    var(--bg-card);
  backdrop-filter: blur(12px);
  border: 3px solid var(--border);
  border-radius: 18px;
  padding: 1.55rem 1.2rem 1.4rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  transition: transform 0.22s ease;
}

.podium-card:hover { transform: translateY(-6px) scale(1.01); }

.podium-card.place-1 {
  padding-top: 1.9rem;
  padding-bottom: 1.75rem;
  border-color: rgba(255, 208, 0, 0.7);
  box-shadow:
    0 0 0 2px rgba(255, 208, 0, 0.15),
    0 0 40px rgba(255, 208, 0, 0.22),
    0 18px 44px rgba(0, 0, 0, 0.45);
  order: 2;
}

.podium-card.place-2 {
  border-color: rgba(200, 215, 235, 0.4);
  order: 1;
  margin-bottom: 0.45rem;
}

.podium-card.place-3 {
  border-color: rgba(255, 154, 77, 0.5);
  order: 3;
  margin-bottom: 0.45rem;
}

.place-badge {
  font-family: var(--font-fortnite);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.place-1 .place-badge { color: var(--gold); }
.place-2 .place-badge { color: var(--silver); }
.place-3 .place-badge { color: var(--bronze); }

.avatar-wrap {
  position: relative;
  width: fit-content;
  margin: 0 auto 0.75rem;
  padding-top: 1.55rem;
}

.place-1 .avatar-wrap {
  padding-top: 2.1rem;
}

.avatar-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--cyan), rgba(76, 201, 255, 0.2));
}

.place-1 .avatar-ring {
  width: 104px;
  height: 104px;
  background: linear-gradient(135deg, var(--gold), #ff9a00);
  box-shadow: 0 0 22px var(--gold-glow);
}

.place-2 .avatar-ring { background: linear-gradient(135deg, #fff, #8a96a8); }
.place-3 .avatar-ring { background: linear-gradient(135deg, var(--bronze), #a85a28); }

.avatar-ring img,
.avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-card-solid);
  display: grid;
  place-items: center;
  font-family: var(--font-fortnite);
  font-size: 1.4rem;
  color: var(--cyan);
}

.crown-img {
  position: absolute;
  top: 0;
  left: 50%;
  width: 72px;
  height: auto;
  transform: translate(-50%, -8%) rotate(-8deg);
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(255, 208, 0, 0.55));
  animation: crownBob 2.3s ease-in-out infinite;
}

.place-1 .crown-img {
  width: 84px;
  top: -2px;
}

.player-name {
  font-family: var(--font-fortnite);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.7rem;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.stat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.stat strong {
  display: block;
  margin-top: 0.15rem;
}

@keyframes crownBob {
  0%, 100% { transform: translate(-50%, -8%) rotate(-8deg); }
  50% { transform: translate(-50%, -14%) rotate(-4deg); }
}

/* ── Countdown ── */
.status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(40, 42, 120, 0.95), rgba(18, 20, 64, 0.95));
  border: 3px solid rgba(76, 201, 255, 0.3);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease 0.25s both;
  box-shadow: 0 0 28px rgba(76, 201, 255, 0.15);
}

.status-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-fortnite);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: blink 1.3s ease-in-out infinite;
}

.status-dot.ended {
  background: var(--text-muted);
  box-shadow: none;
  animation: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.countdown { display: flex; gap: 0.5rem; }

.countdown-unit {
  min-width: 62px;
  text-align: center;
  background: rgba(8, 10, 40, 0.75);
  border: 2px solid rgba(255, 215, 70, 0.25);
  border-radius: 12px;
  padding: 0.45rem 0.35rem 0.35rem;
  box-shadow: inset 0 0 16px rgba(255, 208, 0, 0.06);
}

.countdown-unit .num {
  font-family: var(--font-fortnite);
  font-size: 1.55rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.countdown-unit .lbl {
  font-family: var(--font-fortnite);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ── Table ── */
.board {
  background: var(--bg-card);
  border: 3px solid rgba(76, 201, 255, 0.22);
  border-radius: 18px;
  overflow: hidden;
  animation: fadeUp 0.85s ease 0.35s both;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.board-head,
.board-row {
  display: grid;
  grid-template-columns: 56px 1fr 130px 120px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
}

.board-row-stats {
  display: contents;
}

.board-head {
  background: linear-gradient(90deg, rgba(255, 208, 0, 0.14), rgba(76, 201, 255, 0.08));
  border-bottom: 2px solid rgba(255, 215, 70, 0.25);
  font-family: var(--font-fortnite);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.board-row {
  border-bottom: 1px solid rgba(120, 150, 255, 0.12);
  transition: background 0.15s;
}

.board-row:last-child { border-bottom: none; }
.board-row:hover { background: rgba(255, 208, 0, 0.05); }

.rank-num {
  font-family: var(--font-fortnite);
  font-size: 1.35rem;
  color: var(--cyan-soft);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}

.player-cell {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.player-cell img,
.player-cell .mini-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(76, 201, 255, 0.35);
  background: var(--bg-card-solid);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-fortnite);
  font-size: 0.95rem;
  color: var(--cyan);
}

.player-cell span {
  font-family: var(--font-fortnite);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wagered-cell,
.prize-cell {
  text-align: right;
  color: var(--text);
}

/* ── Footer ── */
.site-footer {
  text-align: center;
  margin-top: 2.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  animation: fadeUp 0.85s ease 0.45s both;
}

.site-footer a {
  color: var(--gold);
  text-decoration: none;
  font-family: var(--font-fortnite);
  letter-spacing: 0.04em;
}

/* ── Modal ── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 6, 24, 0.78);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(480px, 100%);
  background: linear-gradient(180deg, #2a2d88, #16184f);
  border: 3px solid rgba(255, 215, 70, 0.45);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: 0 0 40px rgba(255, 208, 0, 0.2);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s;
}

.modal-backdrop.open .modal { transform: none; }

.modal h2 {
  font-family: var(--font-fortnite);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
  color: var(--gold);
  text-transform: uppercase;
}

.modal ol {
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.3rem;
}

.modal ol strong { color: var(--text); }
.modal-actions { display: flex; justify-content: flex-end; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  .hero-shell {
    width: min(680px, 100%);
  }

  .hero {
    width: 100%;
  }

  .hero-side {
    min-height: 165px;
    padding: 1rem 0.85rem;
  }

  .side-icon-wrap {
    width: 54px;
    height: 54px;
    margin-bottom: 0.55rem;
  }

  .side-icon-wrap img {
    width: 46px;
    height: 46px;
  }

  .hero-side > strong {
    font-size: 1.5rem;
  }
}

@media (max-width: 800px) {
  .site {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    padding-bottom: max(6.5rem, calc(5rem + env(safe-area-inset-bottom)));
  }

  .podium {
    grid-template-columns: 1fr;
    max-width: min(380px, 100%);
    margin-left: auto;
    margin-right: auto;
    gap: 0.75rem;
  }

  .podium-card.place-1,
  .podium-card.place-2,
  .podium-card.place-3 {
    order: unset;
    margin-bottom: 0;
  }

  .podium-card.place-1 { order: -1; }

  .hero-title {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .prize-label .cash {
    font-size: clamp(1.65rem, 8vw, 2.4rem);
  }

  .status-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 0.9rem 0.85rem;
  }

  .status-label {
    justify-content: center;
    font-size: 1.1rem;
  }

  .countdown {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.6rem 0.7rem;
  }

  .brand {
    justify-content: center;
  }

  .topbar-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .social-links {
    justify-content: center;
    width: 100%;
  }

  .social-btn {
    width: 36px;
    height: 36px;
  }

  .nav-pages {
    width: 100%;
    justify-content: center;
  }

  .nav-pages a {
    flex: 1;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.45rem 0.6rem 0.3rem;
  }

  /* Mobile card-style board */
  .board {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .board-head {
    display: none;
  }

  .board-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.55rem 0.65rem;
    padding: 0.85rem 0.9rem;
    margin-bottom: 0.55rem;
    border-radius: 14px;
    background: var(--bg-card);
    border: 2px solid rgba(76, 201, 255, 0.22);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .board-row-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    grid-column: 1 / -1;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(120, 150, 255, 0.15);
  }

  .rank-num {
    font-size: 1.2rem;
    align-self: center;
  }

  .player-cell span {
    font-size: 1.05rem;
  }

  .wagered-cell,
  .prize-cell {
    text-align: left;
    font-size: 0.95rem;
  }

  .wagered-cell::before,
  .prize-cell::before {
    display: block;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
  }

  .wagered-cell::before { content: 'Wagered'; }
  .prize-cell::before { content: 'Prize'; }

  .wagered-cell .cash-bux img,
  .prize-cell .cash-bux img {
    width: 1.45em;
    height: 1.45em;
  }

  .fly-bux.side-left,
  .fly-bux.side-right {
    display: none;
  }
}

@media (min-width: 1100px) {
  .fly-bux.side-left,
  .fly-bux.side-right {
    display: block;
    animation-name: buxSideFloat;
  }

  @keyframes buxSideFloat {
    0%, 100% { transform: translateY(0) rotate(-8deg); opacity: 0.25; }
    50% { transform: translateY(-28px) rotate(8deg); opacity: 0.4; }
  }

  .fb-11, .fb-13 { left: max(1%, calc(50% - 620px)); }
  .fb-12, .fb-14 { right: max(1%, calc(50% - 620px)); left: auto; }
}

@media (max-width: 420px) {
  .countdown-unit {
    min-width: 0;
    flex: 1 1 calc(25% - 0.4rem);
    max-width: 72px;
  }

  .countdown-unit .num { font-size: 1.15rem; }
  .countdown-unit .lbl { font-size: 0.62rem; }

  .crown-chip {
    font-size: 0.95rem;
    padding: 0.3rem 0.7rem 0.2rem;
  }

  .hero-tag { font-size: 1rem; letter-spacing: 0.1em; }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .podium-card {
    padding: 1rem 0.75rem;
  }

  .player-name { font-size: 1.25rem; }

  .stat .cash {
    font-size: 1.05rem;
  }

  .site-footer {
    font-size: 0.75rem;
    line-height: 1.5;
    padding: 0 0.25rem;
  }

  .kick-player {
    left: 0.5rem !important;
    right: 0.5rem !important;
    width: auto !important;
    bottom: max(0.5rem, env(safe-area-inset-bottom)) !important;
  }

  .kick-reopen {
    right: 0.5rem;
    bottom: max(0.5rem, env(safe-area-inset-bottom));
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem 0.35rem;
  }
}

@media (max-width: 540px) {
  .hero-shell {
    width: 100%;
  }

  .hero { width: 100%; }

  .hero-side {
    min-height: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    text-align: left;
    align-items: center;
    justify-items: start;
    padding: 0.75rem 0.85rem;
  }

  .side-icon-wrap {
    grid-row: 1 / 3;
    margin: 0;
  }

  .hero-side .side-eyebrow {
    align-self: end;
  }

  .hero-side > strong {
    align-self: start;
    margin: 0.1rem 0 0;
    font-size: 1.35rem;
  }

  .side-mini-list,
  .side-copy {
    display: none;
  }
}

/* ── Movable Kick player ── */
.kick-player {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  width: min(360px, calc(100vw - 1.5rem));
  background: linear-gradient(180deg, #22247a, #12143f);
  border: 3px solid rgba(83, 252, 24, 0.45);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(83, 252, 24, 0.2);
  user-select: none;
}

.kick-player.dragging {
  opacity: 0.95;
  cursor: grabbing;
}

.kick-player.minimized .kick-player-body {
  display: none;
}

.kick-player.hidden {
  display: none !important;
}

.kick-player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  background: rgba(8, 10, 30, 0.85);
  cursor: grab;
  border-bottom: 1px solid rgba(83, 252, 24, 0.25);
}

.kick-player.dragging .kick-player-bar {
  cursor: grabbing;
}

.kick-player-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-fortnite);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #fff;
  min-width: 0;
}

.kick-player-title span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kick-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #53fc18;
  box-shadow: 0 0 10px #53fc18;
  animation: blink 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

.kick-player-actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}

.kick-mini-btn {
  width: 28px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.kick-mini-btn:hover {
  border-color: #53fc18;
  color: #53fc18;
}

.kick-player-body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.kick-player-body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.kick-reopen {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  font-family: var(--font-fortnite);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #041208;
  background: linear-gradient(180deg, #7dff4a, #53fc18 60%, #2fbf00);
  border: 2px solid #b6ff8f;
  border-radius: 12px;
  padding: 0.5rem 0.95rem 0.35rem;
  box-shadow: 0 4px 0 #1f7a00, 0 8px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.kick-reopen:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.kick-reopen.hidden {
  display: none !important;
}

@media (max-width: 520px) {
  .kick-player {
    width: auto;
    left: 0.65rem;
    right: 0.65rem;
    bottom: max(0.65rem, env(safe-area-inset-bottom));
  }
}
