@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom right, #fffbea, #f9f9f9);
  color: #333;
  text-align: center;
}

/* Cabeçalho */
header {
  background: radial-gradient(circle at center, #fff5cc, #f1c40f);
  color: #2c2c2c;
  padding: 50px 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.logo-ipr, .logo-kids {
  height: 200px;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.logo-ipr:hover, .logo-kids:hover {
  transform: scale(0.6);
  filter: brightness(1.3);
}

/* Banner animado */
.banner {
  background: #f39c12;
  color: white;
  padding: 20px 10px;
  font-size: 1.4em;
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% { background-color: #f39c12; }
  50% { background-color: #d35400; }
}

/* Seções */
main {
  padding: 40px 20px;
}

h1 {
  font-size: 2.5em;
  margin-top: 20px;
}

.premios h2, .rifa h2 {
  color: #e67e22;
  font-size: 2em;
  margin-bottom: 20px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  width: 280px;
  padding: 20px;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

/* Botão principal */
button {
  background: #f39c12;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1em;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #d35400;
}

/* Contador */
#contador {
  margin: 20px 0;
  font-size: 1.2em;
}

#timer span {
  font-weight: 600;
  color: #e67e22;
}

/* WhatsApp fixo */
.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  font-size: 1.8em;
  border-radius: 50%;
  padding: 15px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
  background: #1ebe57;
}

/* Rodapé */
footer {
  background: #2c3e50;
  color: white;
  padding: 20px;
  font-size: 0.9em;
}

.opcoes-cotas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.opcoes-cotas button {
  background: #f39c12;
  color: #fff;
  border: none;
  padding: 15px 25px;
  border-radius: 30px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.opcoes-cotas button:hover {
  background: #d35400;
  transform: scale(1.05);
}


/* ===== Pop-up (modal) ===== */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

.popup-content h3 {
  margin-bottom: 15px;
  color: #e67e22;
}

.popup-content label {
  display: block;
  text-align: left;
  margin-top: 10px;
  font-weight: 600;
}

.popup-content input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.popup-botoes {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.popup-botoes button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  background: #f39c12;
  color: #fff;
  transition: background 0.3s ease, transform 0.2s ease;
}

.popup-botoes button:hover {
  background: #d35400;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

