/* ==========================================================================
   HALL OF CHAMPIONS (/winners) — DEDICATED STYLESHEET
   Inspired by official Hammer Games Weekly Winners interface
   ========================================================================== */

.winners-page-body {
  background-color: #08080c;
  padding-bottom: 90px; /* Space for sticky bottom play bar */
}

/* ==========================================================================
   1. RED FESTIVE HERO HEADER & PODIUM
   ========================================================================== */
.winners-hero-header {
  background: radial-gradient(circle at 50% 0%, #a80018 0%, #66000e 60%, #1a0205 100%);
  padding: 24px 20px 48px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.winners-hero-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.winners-hero-top {
  max-width: 720px;
  margin: 0 auto 28px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.btn-back {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: all var(--transition-normal);
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.winners-title-group {
  text-align: center;
}

.winners-main-title {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.verified-payouts-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #10b981;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.btn-faq-link {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition-normal);
}

.btn-faq-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Cash Distribution Summary */
.cash-distribution-banner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px auto;
}

.cash-banner-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.cash-banner-amount-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.cash-coin-icon {
  font-size: 32px;
}

.cash-banner-value {
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 900;
  color: #ffcc00;
  text-shadow: 0 4px 20px rgba(255, 204, 0, 0.4);
}

.cash-banner-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ==========================================================================
   2. THREE-POSITION PODIUM
   ========================================================================== */
.champions-podium-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: flex-end;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.podium-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pillar-rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: -12px;
  z-index: 2;
}

.badge-gold {
  background: #f59e0b;
  color: #000000;
  width: 32px;
  height: 32px;
  font-size: 16px;
}

.badge-green {
  background: #22c55e;
}

.badge-blue {
  background: #3b82f6;
}

.pillar-card {
  background: rgba(18, 18, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px 16px 20px 16px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.pillar-card.champion-card {
  border: 2px solid #f59e0b;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.35);
  padding: 28px 18px 24px 18px;
}

.champion-label {
  font-size: 11px;
  font-weight: 900;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.pillar-phone {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  font-family: monospace;
  margin-bottom: 4px;
}

.pillar-phone.champion-phone {
  font-size: 16px;
  color: #ffffff;
}

.pillar-game-name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pillar-reward-pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.reward-gold {
  background: #f59e0b;
  color: #000000;
}

.reward-green {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid #22c55e;
}

@media (max-width: 580px) {
  .champions-podium-container {
    gap: 8px;
  }
  .pillar-card {
    padding: 20px 8px 14px 8px;
  }
  .pillar-phone {
    font-size: 12px;
  }
  .pillar-reward-pill {
    font-size: 11px;
    padding: 3px 8px;
  }
}

/* ==========================================================================
   3. ALL 10 WEEKLY WINNERS TABLE & FILTERS
   ========================================================================== */
.winners-table-wrapper {
  max-width: 720px;
  margin: 32px auto 48px auto;
  padding: 0 20px;
}

.table-section-header {
  margin-bottom: 24px;
}

.table-title-group {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.table-main-title {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.table-tier-label {
  font-size: 13px;
  font-weight: 700;
  color: #ffcc00;
}

.table-filters-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cycle-filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-normal);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tab-btn.active {
  background: var(--gold-primary);
  color: #000000;
  border-color: var(--gold-primary);
}

.table-search-box {
  position: relative;
  width: 100%;
}

.winner-search-input {
  width: 100%;
  background: #12121a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 10px 36px 10px 14px;
  color: #ffffff;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition-normal);
}

.winner-search-input:focus {
  border-color: var(--gold-primary);
}

.btn-clear-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
}

/* Winner Row Cards */
.winner-rows-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.winner-row-card {
  background: #14141e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition-normal);
}

.winner-row-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateX(2px);
}

.winner-rank-badge {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  flex-shrink: 0;
}

.rank-orange {
  background: #f97316;
}

.rank-green {
  background: #22c55e;
}

.rank-blue {
  background: #3b82f6;
}

.rank-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.winner-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f97316;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.circle-1 { background: #f97316; }
.circle-2 { background: #10b981; }
.circle-3 { background: #3b82f6; }
.circle-4 { background: #8b5cf6; }
.circle-5 { background: #ec4899; }
.circle-6 { background: #eab308; color: #000000; }
.circle-7 { background: #14b8a6; }
.circle-8 { background: #6366f1; }

.winner-info-col {
  flex: 1;
  min-width: 0;
}

.winner-phone-text {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  font-family: monospace;
  margin-bottom: 2px;
}

.winner-meta-text {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-dot {
  color: rgba(255, 255, 255, 0.2);
}

.winner-reward-col {
  text-align: right;
  flex-shrink: 0;
}

.winner-reward-pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
}

.reward-yellow {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.winner-ticket-id {
  font-size: 10px;
  color: var(--text-muted);
  font-family: monospace;
}

.table-empty-state {
  background: #14141e;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.table-empty-state h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.table-empty-state p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ==========================================================================
   4. STICKY BOTTOM PLAY ACTION BAR
   Matches the reference screenshot ("Ready to win next? Play and enter this week's draw")
   ========================================================================== */
.sticky-bottom-play-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 14, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 20px;
  z-index: 1000;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}

.sticky-bar-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-bar-text {
  display: flex;
  flex-direction: column;
}

.sticky-bar-hint {
  font-size: 11px;
  color: var(--text-muted);
}

.sticky-bar-lead {
  font-size: 13px;
  font-weight: 800;
  color: #ffcc00;
}

.btn-play-games {
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-play-games:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

