body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: url('../img/fundo119kb.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}

.container {
  max-width: 500px;
  margin: auto;
  background-color: rgba(0, 0, 80, 0.7); /* azul com transparência */
  padding: 20px;
  border-radius: 20px;
  margin-top: 40px;
  box-shadow: 0 0 20px #000;
}

.titulo {
  font-family: 'Fredoka', cursive;
  font-size: 2.5em;
  text-align: center;
  color: #FFD700; /* amarelo */
}

.titulo span {
  color: #fff;
}

.subtitulo {
  text-align: center;
  margin-bottom: 20px;
  color: #ADFF2F; /* verde claro */
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-size: 1em;
}

button {
  padding: 12px;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  background-color: #32CD32; /* verde vibrante */
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #228B22;
}

#resultado {
  margin-top: 20px;
  text-align: center;
}
.titulo {
  font-family: 'Fredoka', cursive;
  font-size: 3em;
  text-align: center;
  color: #FFD700; /* amarelo */
  margin-bottom: 0;
}

.subtitulo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8em;
  text-align: center;
  color: #ffffff;
  margin-top: 5px;
  margin-bottom: 15px;
}

.descricao {
  text-align: center;
  margin-bottom: 20px;
  color: #ADFF2F; /* verde claro */
}
/* Adicione estas regras ao seu arquivo CSS existente */

/* Contador Regressivo */
.countdown-container {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 30px 20px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: white;
}

.countdown-title {
  font-family: 'Fredoka', cursive;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px 10px;
  min-width: 70px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.time-unit:hover {
  transform: translateY(-5px);
}

.time-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.time-label {
  font-family: 'Fredoka', cursive;
  font-size: 0.8rem;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.time-separator {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: blink 2s infinite;
}

.event-date {
  font-family: 'Fredoka', cursive;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

/* Responsividade para o contador */
@media (max-width: 768px) {
  .countdown-container {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .countdown-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
  
  .countdown-timer {
    gap: 5px;
  }
  
  .time-unit {
    min-width: 60px;
    padding: 10px 8px;
  }
  
  .time-number {
    font-size: 1.5rem;
  }
  
  .time-label {
    font-size: 0.7rem;
  }
  
  .time-separator {
    font-size: 1.5rem;
  }
  
  .event-date {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .countdown-container {
    padding: 15px 10px;
  }
  
  .countdown-title {
    font-size: 1.1rem;
  }
  
  .time-unit {
    min-width: 50px;
    padding: 8px 6px;
  }
  
  .time-number {
    font-size: 1.3rem;
  }
  
  .time-label {
    font-size: 0.6rem;
  }
  
  .time-separator {
    font-size: 1.3rem;
  }
  
  .event-date {
    font-size: 0.8rem;
  }
}

/* Animação quando o contador chega a zero */
.countdown-expired {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
