/* BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  text-align: center;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  /* 🎨 DEGRADADO DE FONDO */
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: #ffffff;
}

.container {
  width: 90%;
  max-width: 600px;
  margin: auto;
}

/* TITULO */
.title {
  font-size: 2.8rem;
  margin-bottom: 24px;
  font-weight: bold;
  color: #ffffff;
}

/* BOTONES */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn {
  padding: 14px 22px;
  font-size: 1.3rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #fff;
}

/* 🎨 DEGRADADOS EN BOTONES */
.primary {
  background: linear-gradient(135deg, #6a88ff, #3b61ff);
}

.secondary {
  background: linear-gradient(135deg, #5ecb64, #2a9e32);
}

.tertiary {
  background: linear-gradient(135deg, #9fa6ad, #6c737a);
}

/* EFECTO HOVER */
.btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* EFECTO AL PULSAR */
.btn:active {
  transform: scale(0.97);
}

/* MEDIA QUERIES */
/* Tablets y pantallas medianas */
@media (min-width: 768px) {
  .title {
    font-size: 3.2rem;
  }
  .btn {
    font-size: 1.4rem;
    padding: 16px 26px;
  }
  .buttons {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Escritorio grande */
@media (min-width: 1024px) {
  .title {
    font-size: 3.8rem;
  }
  .btn {
    font-size: 1.5rem;
    padding: 18px 30px;
  }
}

/* ESTILOS PARA RESPUESTAS CORRECTAS / INCORRECTAS */
.correct {
  background: linear-gradient(135deg, #3ad86b, #1f9e44) !important;
}

.incorrect {
  background: linear-gradient(135deg, #ff6b6b, #c0392b) !important;
}

.btn {
  transition: all 0.25s ease, transform 0.1s ease;
}

.question-text {
  font-size: 1.4rem;
  margin-bottom: 22px;
  color: white;
}