/* ============================================================
   weekly_depositors.css — Weekly Depositor Giveaway + Hall of Fame
   ============================================================ */

.wd-skel {
  height: 140px; border-radius: 8px;
  background: linear-gradient(90deg, var(--bg3) 25%, var(--bg2) 50%, var(--bg3) 75%);
  background-size: 200% 100%;
  animation: wdSkel 1.4s ease infinite;
}
@keyframes wdSkel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── "How It Works" Button + Modal ───────────────────────────── */
.wd-how-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid rgba(68,106,247,.4);
  color: var(--gold); border-radius: 8px; padding: 9px 16px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  margin: 4px 0 16px; transition: background .2s ease, border-color .2s ease;
}
.wd-how-btn:hover { background: rgba(68,106,247,.1); border-color: var(--gold); }

.wd-modal {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(4,5,10,.75);
  backdrop-filter: blur(3px);
  align-items: center; justify-content: center;
  padding: 20px;
}
.wd-modal.show { display: flex; }
.wd-modal-card {
  position: relative;
  width: 100%; max-width: 420px;
  background: var(--bg2); border: 1px solid var(--border2); border-radius: 14px;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  animation: wdModalIn .25s cubic-bezier(.22,1,.36,1);
}
@keyframes wdModalIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

.wd-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg3); border: 1px solid var(--border2); border-radius: 50%;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); cursor: pointer;
}
.wd-modal-close:hover { color: var(--text); border-color: var(--muted); }

.wd-modal-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 1px;
  color: var(--gold); margin-bottom: 18px;
}
.wd-modal-cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin-bottom: 18px; font-size: 14px; padding: 12px;
}
.wd-modal-note {
  font-size: 13px; color: var(--muted2); background: rgba(68,106,247,.08);
  border: 1px solid rgba(68,106,247,.2); border-radius: 8px; padding: 10px 14px;
  margin-bottom: 18px;
}
.wd-modal-step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0; border-top: 1px solid var(--border);
}
.wd-modal-step:first-of-type { border-top: none; }
.wd-modal-badge {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(68,106,247,.15); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 13px;
}
.wd-modal-step-title { font-size: 14px; font-weight: 700; color: var(--text); }
.wd-modal-step-text { font-size: 12.5px; color: var(--muted2); margin-top: 2px; line-height: 1.5; }

/* ── Layout ───────────────────────────────────────────────── */
.wd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 800px) {
  .wd-grid { grid-template-columns: 1fr; }
}

.wd-status-card, .wd-board-card, .wd-launch-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  padding: 24px;
}
.wd-status-card, .wd-launch-card { border-top: 2px solid var(--gold); }

.wd-launch-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px; letter-spacing: 1px;
  margin-bottom: 14px;
  color: var(--gold);
}
.wd-paused-title { color: var(--muted2); }
.wd-status-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 1px;
  margin-bottom: 14px;
  color: var(--text);
}
.wd-status-text {
  font-size: 14.5px; color: var(--muted2);
  line-height: 1.65; margin-top: 14px;
}
.wd-status-text strong { color: var(--gold); font-weight: 700; }

.wd-cta-wrap { margin-top: 16px; }
.wd-cta { width: fit-content; font-size: 14px; }

/* ── Countdown als kompakte Pentagon-Badges, EIN Titel statt 4 Labels ── */
.wd-cd-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 11.5px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
  text-align: center; margin-bottom: 10px;
}
.wd-cd-pentagons {
  display: flex; justify-content: center; gap: 10px; margin-bottom: 20px;
}
.wd-cd-pent {
  width: 58px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(0% 0%, 100% 0%, 100% 68%, 50% 100%, 0% 68%);
  font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.wd-cd-a { background: linear-gradient(160deg, var(--gold), color-mix(in srgb, var(--gold) 60%, #1a2454)); }
.wd-cd-b { background: linear-gradient(160deg, var(--green), color-mix(in srgb, var(--green) 55%, #0d3323)); }
.wd-cd-pent.tick { animation: wdTick .4s ease; }
@keyframes wdTick {
  0%   { transform: scale(1); filter: brightness(1); }
  30%  { transform: scale(1.12); filter: brightness(1.35); }
  100% { transform: scale(1); filter: brightness(1); }
}

/* ── Podium: mittlere Karte erhoeht + Krone, statt Tiles ─────── */
.wd-podium {
  display: flex; align-items: flex-end; gap: 12px; margin: 16px 0 6px;
}
.wd-pod-card {
  flex: 1; position: relative; text-align: center;
  background: var(--bg3); border: 2px solid var(--border2); border-radius: 14px;
  padding: 20px 10px 16px;
}
.wd-pod-2 { border-color: rgba(196,201,212,.4); }
.wd-pod-1 {
  border-color: #F5C842; transform: translateY(-14px);
  padding-top: 30px;
  box-shadow: 0 0 28px rgba(245,200,66,.22), 0 10px 24px rgba(0,0,0,.35);
}
.wd-pod-3 { border-color: rgba(68,106,247,.45); box-shadow: 0 0 16px rgba(68,106,247,.1) inset; }

.wd-pod-crown {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 20px; color: #F5C842;
}
.wd-pod-badge {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 14px;
  background: var(--bg2); border: 1px solid var(--border2); color: var(--muted2);
}
.wd-pod-2 .wd-pod-badge { border-color: #C4C9D4; color: #C4C9D4; }
.wd-pod-1 .wd-pod-badge { border-color: #F5C842; color: #F5C842; background: rgba(245,200,66,.1); }
.wd-pod-3 .wd-pod-badge { border-color: var(--gold); color: var(--gold); background: rgba(68,106,247,.1); }

.wd-pod-lbl {
  font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px;
}
.wd-pod-amt {
  font-family: 'Bebas Neue', sans-serif; font-size: 32px; line-height: 1.3; color: var(--text);
}
.wd-pod-1 .wd-pod-amt { font-size: 40px; color: #F5C842; }
.wd-pod-2 .wd-pod-amt { color: #C4C9D4; }
.wd-pod-3 .wd-pod-amt { color: var(--gold); }
.wd-pod-cap {
  font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px;
}
.wd-mini-note { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; text-align: center; }
.wd-mini-note + .wd-grid { margin-top: 22px; }

/* ── Kompakte Stat-Zeile statt langem Satz ────────────────────── */
.wd-stat-row {
  display: flex; gap: 10px; margin-top: 14px;
}
.wd-stat {
  flex: 1; text-align: center;
  background: var(--bg3); border: 1px solid var(--border2); border-radius: 10px;
  padding: 12px 6px;
}
.wd-stat-val {
  font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: var(--gold); line-height: 1;
}
.wd-stat-cap { font-size: 10.5px; color: var(--muted); margin-top: 4px; }

/* ── 3-Schritte-Fortschritt ───────────────────────────────── */
.wd-steps {
  display: flex; align-items: flex-start;
  margin: 22px 0 4px;
  padding: 22px 20px 18px;
  background: linear-gradient(180deg, rgba(68,106,247,.05), transparent 70%);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.wd-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; width: 84px; flex-shrink: 0;
  text-align: center;
  opacity: 0; transform: translateY(6px);
  animation: wdStepIn .5s ease forwards;
}
.wd-step:nth-child(1) { animation-delay: .05s; }
.wd-step:nth-child(3) { animation-delay: .18s; }
.wd-step:nth-child(5) { animation-delay: .31s; }
@keyframes wdStepIn { to { opacity: 1; transform: translateY(0); } }

.wd-step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border: 1px solid var(--border2);
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 800;
  color: var(--muted);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, color .35s ease;
}
.wd-step.active .wd-step-dot {
  background: rgba(68,106,247,.18); border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 0 4px rgba(68,106,247,.12), 0 0 18px rgba(68,106,247,.4);
  animation: wdPulse 2.2s ease-in-out infinite;
}
.wd-step.done .wd-step-dot {
  background: var(--green); border-color: var(--green); color: #06120c;
  box-shadow: 0 0 0 4px rgba(72,214,138,.14), 0 0 14px rgba(72,214,138,.35);
}
@keyframes wdPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(68,106,247,.12), 0 0 18px rgba(68,106,247,.4); }
  50%      { box-shadow: 0 0 0 8px rgba(68,106,247,.06), 0 0 26px rgba(68,106,247,.6); }
}

.wd-step-label {
  font-size: 10.5px; color: var(--muted); line-height: 1.3;
  letter-spacing: .2px;
  transition: color .35s ease;
}
.wd-step.active .wd-step-label { color: var(--gold); font-weight: 700; }
.wd-step.done .wd-step-label { color: var(--green); }

.wd-step-line {
  flex: 1; height: 2px; background: var(--border2);
  margin-top: 16px; border-radius: 2px;
  position: relative; overflow: hidden;
  transition: background .5s ease;
}
.wd-step-line.done {
  background: linear-gradient(90deg, var(--green), color-mix(in srgb, var(--green) 45%, var(--gold)));
  box-shadow: 0 0 8px rgba(72,214,138,.3);
}
.wd-step-line.done { background: var(--green); }

/* ── File-Upload (gestylt statt nativer Button) ──────────────── */
.wd-verify-form {
  margin-top: 8px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.wd-file-row {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg3); border: 1px solid var(--border2); border-radius: 6px;
  padding: 8px 12px;
}
.wd-file-native { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.wd-file-btn {
  flex-shrink: 0; background: var(--gold); color: #06120c; border: none; border-radius: 5px;
  padding: 7px 14px; font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 800;
  letter-spacing: .3px; text-transform: uppercase; cursor: pointer; transition: filter .15s;
}
.wd-file-btn:hover { filter: brightness(1.1); }
.wd-file-name {
  font-family: 'Barlow', sans-serif; font-size: 13px; color: var(--muted2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px;
}
.wd-verify-msg {
  margin-top: 8px; font-size: 13px; color: var(--gold);
}

/* ── Leaderboard-Tabelle ──────────────────────────────────── */
.wd-board-head {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.wd-board-hint { font-size: 11.5px; color: #A8BCFF; margin-bottom: 12px; }
.wd-table { width: 100%; border-collapse: collapse; }
.wd-table th {
  text-align: left; font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted);
  padding: 6px 8px; border-bottom: 1px solid var(--border);
}
.wd-table td {
  padding: 9px 8px; font-size: 13px; border-bottom: 1px solid var(--border);
}
.wd-table tr:last-child td { border-bottom: none; }
.wd-amount { color: var(--gold); font-weight: 700; font-family: 'JetBrains Mono', monospace; }

.wd-win-tag {
  display: inline-block; padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.wd-win-gold   { background: rgba(245,200,66,.15); color: #F5C842; }
.wd-win-silver { background: rgba(196,201,212,.15); color: #C4C9D4; }
.wd-win-raffle { background: rgba(68,106,247,.28); color: #A8BCFF; font-weight: 800; border: 1px solid rgba(68,106,247,.5); }
.wd-win-none   { color: var(--muted); font-weight: 400; }
.wd-row-prize { background: rgba(68, 106, 247, 0.05); }
.wd-empty { text-align: center; color: var(--muted); padding: 20px !important; font-size: 13px; }

.wd-rank-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  font-weight: 800; font-size: 12px; color: var(--muted2);
  background: var(--bg3);
}
.wd-rank-1 { background: rgba(245,200,66,.15); color: #F5C842; }
.wd-rank-2 { background: rgba(196,201,212,.15); color: #C4C9D4; }
.wd-rank-3 { background: rgba(205,127,50,.15); color: #CD7F32; }

/* ── Raffle-Draw-Reveal: Highlight-Scan + Fake-Out-Baits ── */
.wd-board-card { position: relative; overflow: hidden; }
.wd-scan-hit {
  animation: wdScanFade .28s ease-out;
}
@keyframes wdScanFade {
  0%   { background: rgba(93,213,255,.32); box-shadow: 0 0 22px rgba(93,213,255,.45) inset; }
  100% { background: transparent; box-shadow: none; }
}
.wd-draw-winner {
  background: linear-gradient(90deg, rgba(245,200,66,.22), rgba(245,200,66,.06));
  animation: wdWinnerGlow 1.8s ease-in-out infinite;
}
@keyframes wdWinnerGlow {
  0%,100% { box-shadow: 0 0 0 1px rgba(245,200,66,.6) inset, 0 0 18px rgba(245,200,66,.35); }
  50%     { box-shadow: 0 0 0 1px rgba(245,200,66,.9) inset, 0 0 32px rgba(245,200,66,.55); }
}
.wd-confetti-piece {
  position: absolute; top: -12px; width: 8px; height: 14px;
  background: var(--c-color, #F5C842);
  opacity: .95; border-radius: 2px;
  animation: wdConfettiFall var(--c-dur, 1800ms) ease-in forwards;
  animation-delay: var(--c-delay, 0ms);
  pointer-events: none; z-index: 50;
}
@keyframes wdConfettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(var(--c-dist, 240px)) rotate(var(--c-rot-end, 640deg)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wd-scan-hit, .wd-draw-winner, .wd-confetti-piece { animation: none; }
}

/* ── Hall of Fame ─────────────────────────────────────────── */
.wd-hof-empty {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-md, 10px);
  padding: 26px; text-align: center;
}
.wd-hof-empty .wd-status-text { max-width: 480px; margin-left: auto; margin-right: auto; }

.wd-hof-week {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-md, 10px);
  padding: 13px 16px; margin-bottom: 10px; max-width: 480px;
}
.wd-hof-week:first-child { border-top: 2px solid var(--gold); }
.wd-hof-week-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: 1px;
  color: var(--text); margin-bottom: 6px;
  display: flex; align-items: baseline; gap: 6px;
}
.wd-hof-week-range { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted2); letter-spacing: .3px; }
.wd-watch-draw-btn { margin-top: 12px; font-size: 11px; padding: 7px 14px; }
.wd-hof-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 5px 0; border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.wd-hof-row:last-child { border-bottom: none; }
.wd-hof-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 10px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase; color: var(--gold);
  min-width: 62px;
}
.wd-hof-name { font-weight: 700; color: var(--text); }
.wd-hof-amount { font-size: 11px; color: var(--muted2); margin-left: auto; }

.wd-hof-footer {
  font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px;
}
.wd-hof-footer a { color: var(--gold); text-decoration: none; }
.wd-hof-footer a:hover { text-decoration: underline; }

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 560px) {
  .wd-status-card, .wd-board-card, .wd-launch-card, .wd-hof-week, .wd-hof-empty {
    padding: 16px;
  }
  .wd-launch-title { font-size: 22px; }
  .wd-status-title { font-size: 17px; }

  .wd-steps { margin: 16px 0 2px; padding: 16px 10px 14px; }
  .wd-step { width: 62px; gap: 6px; }
  .wd-step-dot { width: 26px; height: 26px; font-size: 11px; }
  .wd-step-label { font-size: 8.5px; }
  .wd-step-line { margin-top: 13px; }

  .wd-verify-form { flex-direction: column; align-items: stretch; }
  .wd-file-row { flex-wrap: wrap; }
  .wd-file-name { max-width: 100%; }
  .wd-cta { width: 100%; justify-content: center; text-align: center; }

  .wd-hof-row { gap: 6px; }
  .wd-hof-amount { margin-left: 0; width: 100%; }

  .wd-table th, .wd-table td { padding: 8px 4px; font-size: 12px; }
  .wd-win-tag { padding: 2px 7px; font-size: 10px; }

  .wd-cd-pentagons { gap: 6px; }
  .wd-cd-pent { width: 46px; height: 46px; font-size: 18px; }

  .wd-podium { gap: 6px; }
  .wd-pod-card { padding: 14px 4px 12px; }
  .wd-pod-1 { padding-top: 22px; }
  .wd-pod-amt { font-size: 24px; }
  .wd-pod-1 .wd-pod-amt { font-size: 30px; }
  .wd-pod-lbl { font-size: 9.5px; }
  .wd-pod-badge { width: 22px; height: 22px; font-size: 11px; margin-bottom: 6px; }

  .wd-stat-row { gap: 6px; }
  .wd-stat { padding: 9px 4px; }
  .wd-stat-val { font-size: 19px; }
  .wd-stat-cap { font-size: 9px; }
}
