/* Styles communs & Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark-primary);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  user-select: none;
}

/* Typographie & Titres */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Badges d'équipe */
.team-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all var(--transition-smooth);
}

.team-badge.gb {
  background: linear-gradient(135deg, #5E76E4, #435bca);
  box-shadow: 0 0 15px var(--team-gb-glow);
}
.team-badge.info {
  background: linear-gradient(135deg, #689E4C, #4f7e38);
  box-shadow: 0 0 15px var(--team-info-glow);
}
.team-badge.mmi {
  background: linear-gradient(135deg, #C85A54, #a8423d);
  box-shadow: 0 0 15px var(--team-mmi-glow);
}
.team-badge.sco {
  background: linear-gradient(135deg, #D4427A, #b32e62);
  box-shadow: 0 0 15px var(--team-sco-glow);
}
.team-badge.tc {
  background: linear-gradient(135deg, #D4427A, #b32e62);
  box-shadow: 0 0 15px var(--team-tc-glow);
}

/* Boutons Réponse Couleurs A, B, C, D */
.choice-badge-a { background-color: var(--choice-a); color: white; }
.choice-badge-b { background-color: var(--choice-b); color: white; }
.choice-badge-c { background-color: var(--choice-c); color: #1e293b; }
.choice-badge-d { background-color: var(--choice-d); color: white; }

/* Indicateur Question Double */
.badge-double-points {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
  animation: pulse-glow 1.5s infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.05); filter: brightness(1.2); }
}

/* Timer global */
.timer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.timer-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: conic-gradient(var(--text-accent) calc(var(--progress, 1) * 360deg), rgba(255,255,255,0.1) 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  transition: background 0.2s linear;
}

.timer-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-dark-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
}

.timer-circle.warning .timer-inner {
  color: var(--wrong-color);
  animation: timer-beat 0.5s infinite alternate;
}

@keyframes timer-beat {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}
