/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(to bottom right, #0f172a, #166534); /* fundo degradê */
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.header {
  text-align: center;
  padding: 25px;
  background: #065f46; /* verde escuro */
  border-bottom: 4px solid #10b981; /* verde claro */
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.header h1 {
  font-size: 32px;
  color: #10b981; /* verde claro */
}

.header p {
  font-size: 18px;
  color: #d1fae5; /* verde bem clarinho */
  margin-top: 5px;
}

/* MAIN CONTAINER */
.main-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

/* CARD */
.card {
  background: #047857; /* verde médio */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  width: 100%;
  max-width: 400px;
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h2 {
  margin-bottom: 20px;
  color: #d1fae5; /* verde clarinho */
  font-size: 22px;
}

/* INPUT */
input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  margin-bottom: 15px;
  font-size: 14px;
}

/* BOTÕES */
button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  margin-top: 10px;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
  background: #10b981; /* verde claro */
  color: #020617; /* texto escuro */
}

button:hover {
  background: #059669; /* verde hover */
}

button.sortear {
  background: #fcd34d; /* amarelo para destaque do sorteio */
  color: #065f46;
}

button.sortear:hover {
  background: #fbbf24;
}

/* LISTA DE NOMES */
ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  max-height: 180px;
  overflow-y: auto;
}

li {
  background: #065f46;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  font-size: 15px;
}

/* RESULTADO */
.resultado {
  margin-top: 20px;
  padding: 12px;
  background: #047857;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  color: #fef9c3; /* amarelo clarinho */
}

/* RESPONSIVO */
@media (max-width: 480px) {
  .card {
    padding: 20px;
    width: 90%;
  }

  .header h1 {
    font-size: 26px;
  }

  .header p {
    font-size: 16px;
  }
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: #065f46;
  border-bottom: 4px solid #10b981;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.header h1 {
  font-size: 32px;
  color: #10b981;
  text-align: center;
}

.header p {
  font-size: 18px;
  color: #d1fae5;
  text-align: center;
  margin-top: 5px;
}

/* Centralizando texto do header */
.header-text {
  flex: 1;
  text-align: center;
}

/* Logos */
.header img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* espaço entre as imagens */
  padding: 15px 0;
  background: #065f46; /* verde escuro combinando com o header */
  border-top: 4px solid #10b981; /* verde claro */
  box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
  margin-top: 30px;
}

.footer img {
  height: 100px; /* tamanho uniforme */
  width: 100px;
  object-fit: contain;
  transition: transform 0.3s;
}

.footer img:hover {
  transform: scale(1.1); /* efeito leve de hover */
}
