

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #121212;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 24px 16px;
}

.header {
  text-align: center;
  margin-bottom: 24px;
}

.header h1 {
  font-size: 1.6rem;
  color: #f59e0b;
  margin-bottom: 6px;
}

.header p {
  font-size: 0.95rem;
  color: #a1a1aa;
}

/* Área da Roleta */
.roulette-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.roulette-box {
  position: relative;
  width: 320px;
  height: 320px;
  margin-bottom: 24px;
}

canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.arrow {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid #ef4444;
  z-index: 10;
}

/* Botão WhatsApp */
.btn-whatsapp {
  display: none;
  width: 100%;
  max-width: 320px;
  padding: 16px;
  text-align: center;
  background-color: #22c55e;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-whatsapp:active {
  transform: scale(0.98);
  background-color: #16a34a;
}

/* Modal / Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 50;
}

.modal {
  background-color: #1e1e1e;
  padding: 28px 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 380px;
  text-align: center;
  border: 1px solid #2e2e2e;
}

.modal h2 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.modal p {
  font-size: 0.88rem;
  color: #a1a1aa;
  margin-bottom: 20px;
}

input, select {
  width: 100%;
  padding: 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #333333;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
}

input:focus, select:focus {
  border-color: #f59e0b;
}

button.btn-primary {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background-color: #f59e0b;
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.15s ease;
}

button.btn-primary:active {
  opacity: 0.9;
}

/* Texto de Revelação do Prêmio */
.resultado-texto {
  display: none; /* Começa escondido */
  font-size: 1.4rem;
  color: #10b981; /* Verde chamativo */
  margin-bottom: 16px;
  text-align: center;
  font-weight: 800;
  animation: fadeIn 0.5s ease-in-out;
}

/* Animação suave para o texto aparecer */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}