body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fff1eb);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Fundos */
#bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#bg-video-container, #bg-video-container-2 {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#bg-video, #bg-video-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* Proporção 16:9 */
  min-height: 100vh;
  min-width: 177.77vh; /* Proporção 16:9 */
  transform: translate(-50%, -50%);
  border: none;
}

#overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Container e Caixa do Quiz */
.container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 400px;
  padding: 20px;
  box-sizing: border-box;
}

#quiz-box {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0px 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s ease;
}

/* Classe para deixar o fundo transparente nas etapas com imagem/vídeo */
#quiz-box.transparent-bg {
  background: transparent;
  box-shadow: none;
}

/* Textos */
h1 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 10px;
  color: #111827;
  transition: color 0.3s;
}

#quiz-box.transparent-bg h1 {
  font-size: 24px;
  color: white;
}

p {
  color: #666;
  margin-bottom: 20px;
  transition: color 0.3s;
}

#quiz-box.transparent-bg p {
  color: #e5e7eb;
}

/* Opções */
#options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.option {
  background: #f5f5f5;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  color: #111827;
  font-weight: 500;
}

.option:hover {
  background: #ffe0e0;
}

.option.selected {
  background: #ffb3b3;
}

/* Botões */
.btn-start {
  width: 100%;
  padding: 16px 24px;
  background: #ff3b5c;
  color: white;
  font-weight: bold;
  font-size: 18px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 59, 92, 0.3);
  transition: all 0.3s;
}

.btn-start:hover {
  background: #e63250;
  transform: scale(1.03);
}

.btn-start:active {
  transform: scale(0.97);
}

#nextBtn, .btn-offer {
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 12px;
  background: #ff5e78;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 16px;
}

#nextBtn:hover, .btn-offer:hover {
  background: #ff3b5c;
}

/* Tela de Resultado */
.result-price {
  color: #ff3b5c;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
}
