/* Le bandeau défilant TradingView (.ticker-wrap) et le mini-graphique EUR/USD
   (.chart-section) ont été retirés le 09/10/2026 : ils déposaient des cookies
   tiers et repoussaient l'offre sous la ligne de flottaison. */

/* ========================
   MARKET STATUS (navbar)
======================== */
.market-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255,255,255,.03);
  white-space: nowrap;
}

.market-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.market-dot.open {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,.7);
  animation: dot-pulse 2s ease-in-out infinite;
}

/* Marché fermé : point neutre. Le rouge signalait une erreur là où il n'y a
   qu'une attente avant l'ouverture. */
.market-dot.closed {
  background: var(--text-muted);
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(74,222,128,.5); }
  50%       { box-shadow: 0 0 14px rgba(74,222,128,.9); }
}

/* ========================
   COUNTDOWN
======================== */
.hero-countdown {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(166, 129, 242,.08);
  border: 1px solid rgba(166, 129, 242,.2);
  border-radius: var(--radius-lg);
  max-width: 440px;
}

.countdown-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.countdown-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px var(--accent-light);
  animation: dot-pulse 1.5s ease-in-out infinite;
}

#countdown-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 36px;
}

.countdown-unit span {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  background: linear-gradient(135deg, #fff, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.countdown-unit small {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 2px;
}

.countdown-sep {
  font-size: 18px;
  color: var(--text-muted);
  opacity: .4;
  padding-bottom: 14px;
}

.countdown-live {
  font-size: 13px;
  font-weight: 700;
  color: #4ade80;
}

/* État par défaut du compteur : tant qu'aucune date de live n'est configurée,
   on renvoie vers le Discord au lieu d'inventer un décompte. */
.countdown-soon {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.countdown-soon:hover { color: var(--text); }

/* Le bandeau de preuve sociale (#social-toast, .toast-*) a été supprimé le
   05/09/2026 avec les 10 faux témoignages qu'il affichait — voir widgets.js. */

/* Responsive widgets */
@media (max-width: 768px) {
  .hero-countdown { max-width: 100%; }
  .market-status span { display: none; }
}
