/* ─── CSS Variables ──────────────────────────────────────────────────────── */
:root {
  --accent:        #6c63ff;
  --accent-light:  #8b85ff;
  --accent-dark:   #4e47cc;
  --accent-glow:   rgba(108, 99, 255, 0.35);

  --bg:            #0a0a0f;
  --bg-card:       #12121a;
  --bg-card-alt:   #16161f;
  --bg-nav:        rgba(10, 10, 15, 0.85);
  --border:        rgba(255, 255, 255, 0.07);
  --border-hover:  rgba(108, 99, 255, 0.4);

  --text:          #f0f0ff;
  --text-muted:    #8888aa;
  --text-dim:      #555570;

  --gold:   #f5c842;
  --silver: #c0c0d8;
  --bronze: #cd7f32;

  --gold-glow:   rgba(245, 200, 66, 0.3);
  --silver-glow: rgba(192, 192, 216, 0.2);
  --bronze-glow: rgba(205, 127, 50, 0.25);

  --radius:    12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --shadow:    0 8px 32px rgba(0, 0, 0, 0.45);
  --transition: 0.2s ease;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

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

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

/* ─── Animated Bubble Background ────────────────────────────────────────── */
.bubbles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -200px;
  border-radius: 50%;
  opacity: 0.07;
  animation: bubbleRise linear infinite;
  background: radial-gradient(circle at 30% 30%, var(--accent-light), var(--accent-dark));
}

.bubble:nth-child(1)  { width: 80px;  height: 80px;  left: 5%;   animation-duration: 18s; animation-delay: 0s;   }
.bubble:nth-child(2)  { width: 130px; height: 130px; left: 15%;  animation-duration: 24s; animation-delay: 3s;   }
.bubble:nth-child(3)  { width: 60px;  height: 60px;  left: 30%;  animation-duration: 20s; animation-delay: 6s;   }
.bubble:nth-child(4)  { width: 180px; height: 180px; left: 50%;  animation-duration: 28s; animation-delay: 1s;   }
.bubble:nth-child(5)  { width: 90px;  height: 90px;  left: 65%;  animation-duration: 22s; animation-delay: 8s;   }
.bubble:nth-child(6)  { width: 110px; height: 110px; left: 78%;  animation-duration: 26s; animation-delay: 4s;   }
.bubble:nth-child(7)  { width: 50px;  height: 50px;  left: 90%;  animation-duration: 16s; animation-delay: 2s;   }

@keyframes bubbleRise {
  0%   { transform: translateY(0) scale(1);     opacity: 0.07; }
  50%  { transform: translateY(-50vh) scale(1.1); opacity: 0.05; }
  100% { transform: translateY(-110vh) scale(0.9); opacity: 0; }
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  transition: opacity var(--transition);
}

.nav-brand:hover { opacity: 0.85; }

.nav-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-site-name {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-link.active {
  color: var(--accent-light);
}

.nav-cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px var(--accent-glow);
}

.nav-cta-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px var(--accent-glow);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-hamburger:hover {
  background: rgba(255,255,255,0.08);
}

/* ─── Container ──────────────────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 14px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 22px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

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

.btn-discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 2px 12px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #6d7aff;
  transform: translateY(-2px);
}

/* ─── Leaderboard Header ─────────────────────────────────────────────────── */
.leaderboard-header {
  text-align: center;
  margin-bottom: 32px;
}

.leaderboard-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--accent-light), var(--text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.leaderboard-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 24px;
}

.header-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Discord Prize Banner ───────────────────────────────────────────────── */
.discord-prize-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.12), rgba(88, 101, 242, 0.05));
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: var(--radius);
  padding: 16px 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.prize-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.prize-notice i {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ─── Podium ─────────────────────────────────────────────────────────────── */
.podium-section {
  margin-bottom: 40px;
}

.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.podium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  min-width: 160px;
  flex: 1;
  max-width: 220px;
}

.podium-card:hover {
  transform: translateY(-4px);
}

.podium-first {
  padding-top: 40px;
  background: linear-gradient(160deg, rgba(245, 200, 66, 0.1) 0%, var(--bg-card) 60%);
  border-color: rgba(245, 200, 66, 0.3);
  box-shadow: 0 8px 40px var(--gold-glow);
  transform: translateY(-20px);
  z-index: 2;
}

.podium-first:hover {
  transform: translateY(-26px);
}

.podium-second {
  background: linear-gradient(160deg, rgba(192, 192, 216, 0.08) 0%, var(--bg-card) 60%);
  border-color: rgba(192, 192, 216, 0.2);
  box-shadow: 0 6px 24px var(--silver-glow);
}

.podium-third {
  background: linear-gradient(160deg, rgba(205, 127, 50, 0.08) 0%, var(--bg-card) 60%);
  border-color: rgba(205, 127, 50, 0.2);
  box-shadow: 0 6px 24px var(--bronze-glow);
}

.crown-icon {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 8px var(--gold-glow));
  animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-4px); }
}

.position-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}

.position-tag.gold   { background: rgba(245,200,66,0.15); color: var(--gold); border: 1px solid rgba(245,200,66,0.3); }
.position-tag.silver { background: rgba(192,192,216,0.1);  color: var(--silver); border: 1px solid rgba(192,192,216,0.25); }
.position-tag.bronze { background: rgba(205,127,50,0.1);   color: var(--bronze); border: 1px solid rgba(205,127,50,0.25); }

.medal-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.gold-medal   { color: var(--gold);   filter: drop-shadow(0 0 6px var(--gold-glow)); }
.silver-medal { color: var(--silver); filter: drop-shadow(0 0 6px var(--silver-glow)); }
.bronze-medal { color: var(--bronze); filter: drop-shadow(0 0 6px var(--bronze-glow)); }

.podium-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  margin-bottom: 12px;
  background: var(--bg-card-alt);
}

.podium-first .podium-avatar-wrap  { width: 88px; height: 88px; border-color: var(--gold); }
.podium-second .podium-avatar-wrap { border-color: var(--silver); }
.podium-third .podium-avatar-wrap  { border-color: var(--bronze); }

.podium-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.podium-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.podium-score {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.podium-prize {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-light);
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: 999px;
  padding: 3px 14px;
}

.podium-first .podium-prize {
  color: var(--gold);
  background: rgba(245,200,66,0.12);
  border-color: rgba(245,200,66,0.3);
}

/* ─── Timer ──────────────────────────────────────────────────────────────── */
.timer-section {
  text-align: center;
  margin-bottom: 40px;
}

.timer-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.timer-segments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.timer-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 22px;
  min-width: 80px;
}

.timer-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.timer-unit {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.timer-sep {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1;
}

.timer-ended {
  color: var(--text-muted);
  font-size: 1rem;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  display: inline-block;
}

/* ─── Entries Table ──────────────────────────────────────────────────────── */
.leaderboard-entries {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}

.entries-header {
  display: grid;
  grid-template-columns: 60px 1fr 140px 120px;
  padding: 14px 20px;
  background: var(--bg-card-alt);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.entry-row {
  display: grid;
  grid-template-columns: 60px 1fr 140px 120px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

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

.entry-row:hover {
  background: rgba(255,255,255,0.03);
}

.col-rank {
  display: flex;
  align-items: center;
}

.col-player {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.col-score,
.col-prize {
  font-weight: 600;
  font-size: 0.9rem;
}

.col-score { color: var(--text-muted); }
.col-prize { color: var(--accent-light); }

.entries-header .col-score,
.entries-header .col-prize {
  color: var(--text-muted);
  font-weight: 700;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.entry-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  background: var(--bg-card-alt);
  flex-shrink: 0;
}

.entry-name {
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-prize {
  color: var(--text-dim);
}

.entries-loading,
.entries-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ─── Social Icons ───────────────────────────────────────────────────────── */
.socials-section {
  text-align: center;
  margin-bottom: 40px;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: all var(--transition);
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  color: var(--text);
  background: rgba(108, 99, 255, 0.1);
}

.social-discord:hover   { background: rgba(88,101,242,0.15);  border-color: rgba(88,101,242,0.4);  color: #5865F2; }
.social-twitter:hover   { background: rgba(29,161,242,0.12);  border-color: rgba(29,161,242,0.35); color: #1DA1F2; }
.social-youtube:hover   { background: rgba(255,0,0,0.12);     border-color: rgba(255,0,0,0.3);     color: #FF0000; }
.social-kick:hover      { background: rgba(83,185,0,0.12);    border-color: rgba(83,185,0,0.3);    color: #53B900; }
.social-twitch:hover    { background: rgba(145,71,255,0.12);  border-color: rgba(145,71,255,0.3);  color: #9147FF; }
.social-affiliate:hover { background: rgba(108,99,255,0.15);  border-color: var(--border-hover);   color: var(--accent-light); }

/* ─── Promo / Support Me ─────────────────────────────────────────────────── */
.promo-section {
  text-align: center;
  margin-bottom: 48px;
}

.promo-heading {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 8px;
}

.promo-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 28px;
}

.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

.promo-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.promo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.promo-brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.promo-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.promo-pill:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.promo-features {
  margin-bottom: 20px;
}

.promo-feature {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.promo-feature:last-child {
  border-bottom: none;
}

.promo-code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.promo-code-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.promo-code-value {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.promo-copy-btn {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.promo-copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.promo-join-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  box-shadow: 0 4px 18px var(--accent-glow);
}

.promo-join-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.footer-col {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.footer-warning i {
  color: #f59e0b;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-copy {
  text-align: center;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-link {
  color: var(--text-muted);
  transition: color var(--transition);
  font-size: 0.82rem;
}

.footer-link:hover {
  color: var(--accent-light);
}

/* ─── Rules Modal ────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-light);
}

.modal-body {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.modal-body ul {
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 8px;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .podium {
    gap: 10px;
  }

  .podium-card {
    min-width: 120px;
    padding: 18px 12px 16px;
  }

  .entries-header,
  .entry-row {
    grid-template-columns: 48px 1fr 110px 90px;
  }
}

@media (max-width: 700px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link,
  .nav-cta-btn {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    justify-content: flex-start;
  }

  .podium {
    gap: 6px;
  }

  .podium-card {
    min-width: 90px;
    padding: 14px 8px 12px;
  }

  .podium-avatar-wrap {
    width: 56px;
    height: 56px;
  }

  .podium-first .podium-avatar-wrap {
    width: 68px;
    height: 68px;
  }

  .podium-name { font-size: 0.82rem; max-width: 100px; }
  .podium-score { font-size: 0.78rem; }
  .podium-prize { font-size: 0.78rem; padding: 2px 10px; }

  .timer-segment {
    padding: 12px 14px;
    min-width: 64px;
  }

  .timer-value { font-size: 1.5rem; }

  .entries-header,
  .entry-row {
    grid-template-columns: 40px 1fr 80px 70px;
  }

  .col-score,
  .col-prize {
    font-size: 0.78rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    align-items: center;
    flex-direction: row;
    justify-content: center;
  }

  .footer-warning {
    justify-content: center;
  }

  .discord-prize-container {
    flex-direction: column;
    text-align: center;
  }

  .prize-notice {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .container { padding: 24px 16px 60px; }

  .leaderboard-title { font-size: 1.5rem; }

  .timer-sep { display: none; }

  .timer-segments {
    gap: 6px;
  }
}
