html {
  scroll-behavior: smooth;
}

.test-free-wrapper {
  margin: 40px auto;
  max-width: 800px;
}

#test-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  width: 100%;
  padding: 24px;
  text-align: center;
}

.question-text {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: #333;
  font-weight: 500;
}

.question-block {
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

.scale-label {
  width: 60px;
  font-weight: bold;
  font-size: 0.9rem;
  color: #666;
}

.circles {
  display: flex;
  flex: 1;
  justify-content: space-between;
  margin: 0 12px;
}

.circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #bbb;
  cursor: pointer;
  transition: all 0.2s ease;
}

.circle[data-value="1"] { background: #319d70; border-color: #319d70; transform: scale(1.3); }
.circle[data-value="2"] { background: #4caf80; border-color: #4caf80; transform: scale(1.2); }
.circle[data-value="3"] { background: #8bcfa0; border-color: #8bcfa0; transform: scale(1.1); }
.circle[data-value="4"] { background: #ddd; border-color: #ddd; }
.circle[data-value="5"] { background: #f29999; border-color: #f29999; transform: scale(1.1); }
.circle[data-value="6"] { background: #e06666; border-color: #e06666; transform: scale(1.2); }
.circle[data-value="7"] { background: #cc3333; border-color: #cc3333; transform: scale(1.3); }

.circle:hover {
  opacity: 0.8;
}

#next-btn {
  margin-top: 30px;
  padding: 14px 28px;
  background: #319d70;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

#next-btn:hover {
  background: #277356;
}
/* Colores y tamaños progresivos */
.circle[data-value="1"] {
  background: #319d70; border-color: #319d70; transform: scale(1.3);
}
.circle[data-value="2"] {
  background: #4caf80; border-color: #4caf80; transform: scale(1.2);
}
.circle[data-value="3"] {
  background: #8bcfa0; border-color: #8bcfa0; transform: scale(1.1);
}
.circle[data-value="4"] {
  background: #ddd;    border-color: #ddd;    transform: scale(1);
}
.circle[data-value="5"] {
  background: #f29999; border-color: #f29999; transform: scale(1.1);
}
.circle[data-value="6"] {
  background: #e06666; border-color: #e06666; transform: scale(1.2);
}
.circle[data-value="7"] {
  background: #cc3333; border-color: #cc3333; transform: scale(1.3);
}

/* Destacar la opción seleccionada */
.circle.selected {
  transform: scale(1.5) !important;
  border: 4px solid #275e50 !important;
  opacity: 1 !important;
}
/* 1) Keyframes del “pop” */
@keyframes pop {
  0%   { transform: scale(1);     }
  50%  { transform: scale(1.3);   }
  100% { transform: scale(1);     }
}

/* 2) Aplica el pop sólo a la burbuja seleccionada */
.circle.selected {
  animation: pop 0.3s ease-out;
}
