/* Styles spécifiques aux SuperBets */

.superbets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

/* Carte de SuperBet */
.superbet-card {
  background: white;
  border-radius: var(--radius, 12px);
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition, 0.3s ease);
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #1a1a1a;
}

.superbet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--c-accent, #63c3ff);
}

/* Filtre noir et blanc pour les paris expirés (dateendbets passée) */
.superbet-card.expired {
  filter: grayscale(1);
  opacity: 0.7;
  pointer-events: none; /* désactive tous les clics */
  cursor: not-allowed;
}

.superbet-card.expired .bet-superbet-btn {
  display: none; /* cache le bouton */
}

/* En-tête avec horloge */
.superbet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
  padding-bottom: 8px;
  gap: 10px;
  flex-wrap: wrap;
}
.superbet-date-end {
  display: flex;
  align-items: center;
  gap: 4px;
}
.superbet-date-end svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Image */
.superbet-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 5px;
  background: #f5f5f5;
}

/* Question et détails */
.superbet-question {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0e0766;
  margin: 10px 0 5px;
}
.superbet-details {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Cotes */
.superbet-odds {
  display: flex;
  justify-content: space-around;
  gap: 12px;
  margin-bottom: 20px;
  align-items: stretch;
  flex-wrap: wrap;
}
.odds-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm, 8px);
  background: #f5f7fa;
  border: 1px solid rgba(0,0,0,0.05);
  min-width: 80px;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 6px;
  color: #333;
  flex: 1;
}
.odds-option:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  border-color: var(--c-accent, #63c3ff);
}
.odds-label {
  font-size: 0.8rem;
  color: #666;
}
.odds-value {
  font-weight: 800;
  color: var(--c-accent, #63c3ff);
  font-size: 1.1rem;
}

/* Bouton d'action */
.bet-superbet-btn {
  padding: 12px 20px;
  border-radius: var(--radius-sm, 8px);
  border: none;
  background: linear-gradient(135deg, var(--c-accent, #63c3ff), var(--c-accent2, #0e0766));
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition, 0.3s);
  width: 100%;
}
.bet-superbet-btn:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 800px) {
  .superbets-grid {
    grid-template-columns: 1fr;
  }
}
