/* draft.css - Page Draft NBA BleuBlancDunk (thème clair) */

/* ── Countdown dans le hero (fond sombre du bbd-page-hero) ──────── */
.draft-countdown {
  display: inline-flex;
  gap: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 14px;
  padding: 14px 22px;
  margin-top: 16px;
}
.draft-countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
}
.draft-countdown__val {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.draft-countdown__lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
}
.draft-countdown__sep {
  font-size: 26px;
  font-weight: 900;
  color: rgba(255,255,255,.3);
  align-self: flex-start;
  padding-top: 3px;
}

/* ── LIVE banner ─────────────────────────────────────────────────── */
.draft-live-banner {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #16a34a;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.draft-live-banner.is-live { display: flex; }
.draft-live-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}

/* ── Layout ──────────────────────────────────────────────────────── */
.draft-wrap { padding-top: 16px; padding-bottom: 48px; }
.draft-section { margin-bottom: 28px; }
.draft-section__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.draft-section__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border, #dbe2ea);
}

/* ── Prospect cards ──────────────────────────────────────────────── */
.draft-prospects { display: flex; flex-direction: column; gap: 10px; }

.prospect-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #dbe2ea);
  border-radius: var(--radius-md, 14px);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: grid;
  grid-template-columns: 44px 60px 1fr auto;
  gap: 0 14px;
  align-items: center;
  transition: box-shadow .15s, border-color .15s;
}
.prospect-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #b6c5db;
}
.prospect-card--star { border-left: 3px solid var(--warning, #f59e0b); }

.prospect-rank { text-align: center; }
.prospect-rank__num {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink, #0f172a);
  line-height: 1;
}
.prospect-rank__lbl {
  font-size: 10px;
  color: var(--muted, #64748b);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.prospect-photo {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2, #f8fafc);
  border: 1px solid var(--border, #dbe2ea);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.prospect-photo img { width: 100%; height: 100%; object-fit: cover; }

.prospect-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink, #0f172a);
  margin: 0 0 4px;
}
.prospect-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-bottom: 5px;
}
.prospect-pill {
  background: var(--surface-2, #f8fafc);
  border: 1px solid var(--border, #dbe2ea);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted, #64748b);
}
.prospect-pill--pos { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.prospect-pill--age { background: #fffbeb; border-color: #fde68a; color: #92400e; }

.prospect-bio {
  font-size: 12px;
  color: var(--muted, #64748b);
  line-height: 1.5;
}
.prospect-highlight {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary, #1d4ed8);
  margin-top: 4px;
  text-decoration: none;
}
.prospect-highlight:hover { text-decoration: underline; }

.prospect-projection { text-align: right; flex-shrink: 0; }
.prospect-projection__range {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #0f172a);
  white-space: nowrap;
}
.prospect-projection__lbl {
  font-size: 10px;
  color: var(--muted, #64748b);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.prospect-stars { color: var(--warning, #f59e0b); font-size: 12px; margin-top: 3px; }

/* Placeholder vide */
.draft-empty {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #dbe2ea);
  border-radius: var(--radius-md, 14px);
  padding: 36px 20px;
  text-align: center;
  color: var(--muted, #64748b);
  font-size: 14px;
  line-height: 1.6;
}

/* ── Live picks ──────────────────────────────────────────────────── */
.draft-live-section { display: none; }
.draft-live-section.is-active { display: block; }
.picks-list { display: flex; flex-direction: column; gap: 6px; }

.pick-row {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #dbe2ea);
  border-radius: 10px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 40px 32px 1fr auto;
  gap: 0 12px;
  align-items: center;
  font-size: 14px;
}
.pick-row--fr {
  background: #eff6ff;
  border-color: #93c5fd;
  animation: fr-flash .6s ease;
}
@keyframes fr-flash {
  0%   { background: #bfdbfe; }
  100% { background: #eff6ff; }
}
.pick-num {
  font-weight: 900;
  font-size: 17px;
  color: var(--muted, #64748b);
  text-align: center;
}
.pick-row--fr .pick-num { color: var(--primary, #1d4ed8); }
.pick-logo   { width: 32px; height: 32px; object-fit: contain; }
.pick-player { font-weight: 700; color: var(--ink, #0f172a); }
.pick-team   { font-size: 12px; color: var(--muted, #64748b); margin-top: 2px; }
.picks-waiting {
  text-align: center;
  padding: 36px 16px;
  color: var(--muted, #64748b);
  font-size: 14px;
}

/* ── Explainer ───────────────────────────────────────────────────── */
.draft-explainer {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #dbe2ea);
  border-radius: var(--radius-md, 14px);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.draft-explainer__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink, #0f172a);
  margin: 0 0 14px;
}
.draft-explainer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.explainer-item {
  background: var(--surface-2, #f8fafc);
  border: 1px solid var(--border, #dbe2ea);
  border-radius: 10px;
  padding: 12px;
}
.explainer-item__icon  { font-size: 20px; margin-bottom: 6px; }
.explainer-item__title { font-size: 13px; font-weight: 700; color: var(--ink, #0f172a); margin-bottom: 4px; }
.explainer-item__body  { font-size: 12px; color: var(--muted, #64748b); line-height: 1.5; }

/* ── Discord CTA ─────────────────────────────────────────────────── */
.draft-discord-cta {
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  border-radius: var(--radius-md, 14px);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.draft-discord-cta__text { font-size: 14px; font-weight: 700; color: #fff; }
.draft-discord-cta__sub  { font-size: 12px; color: rgba(255,255,255,.75); margin-top: 3px; }
.draft-discord-btn {
  background: #fff;
  color: #5865f2;
  font-weight: 800;
  font-size: 14px;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.draft-discord-btn:hover { background: #f0f0ff; }

/* ── Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .prospect-card {
    grid-template-columns: 36px 48px 1fr;
  }
  .prospect-projection { display: none; }
  .prospect-rank__num  { font-size: 18px; }
  .prospect-name       { font-size: 15px; }
  .pick-row { grid-template-columns: 32px 26px 1fr auto; font-size: 13px; }
  .draft-countdown { gap: 8px; padding: 12px 14px; }
  .draft-countdown__val { font-size: 24px; }
}
