/* Contenedor principal */
#trivia-game {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  text-align: center;
  background: #2d2d2d;
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 0 0px rgba(0,0,0,0.0);
  font-family: 'Poppins'
}

/* Encabezado */
.tm-header {
  margin-bottom: 10px;
}

/* Barra de tiempo */
.tm-timer {
  width: 100%;
  height: 20px;
  background: #555;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
}

#tm-timer-bar {
  height: 100%;
  width: 100%;
  background: limegreen;
  transition: width 1s linear;
  border-radius: 10px;
}

/* Pregunta */
.tm-question-container {
  font-size: 40px;
  font-weight: bold;
  margin: 20px 0;
}

/* Opciones */
.tm-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.tm-options button {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #444;
  color: #fff;
  border: 3px solid #888;
  font-size: 40px;          /* 👈 igual que la pregunta */
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;      /* 👈 evita que se parta el número */
}

.tm-options button:hover {
  background: #666;
  transform: scale(1.1);
}

.tm-options button.correct {
  background: #28a745 !important;
  border-color: #1e7e34;
}

.tm-options button.wrong {
  background: #dc3545 !important;
  border-color: #a71d2a;
}

.tm-options button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Feedback */
#tm-feedback {
  margin-top: 20px;
  font-size: 22px;
  font-weight: bold;
  color: yellow;
}

/* Botón reintentar (siempre visible) */
#tm-retry-btn {
  display: inline-block;
  margin-top: 20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #444;
  color: #fff;
  border: 3px solid #888;
  font-size: 40px;   /* ⟳ mismo tamaño que opciones */
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#tm-retry-btn:hover {
  background: #666;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 500px) {
  .tm-question-container { font-size: 34px; }
  .tm-options button, #tm-retry-btn {
    width: 80px;
    height: 80px;
    font-size: 34px;   /* 👈 se mantiene igual a la pregunta */
  }
}
