/* ======== ESTILOS GENERALES ======== */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #222;
  color: white;
  overflow: hidden;
}

/* ======== FONDO ANIMADO ======== */
.fondo-animado {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    #444,
    #555 50px,
    #666 100px
  );
  background-size: 400% 400%;
  z-index: -1;
  animation: mover 20s linear infinite;
  opacity: 0.3;
}

@keyframes mover {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 400% 0;
  }
}

/* ======== OVERLAY PRINCIPAL ======== */
#overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.9);
  backdrop-filter: blur(5px);
  z-index: 10;
}

#overlay h1 {
  font-size: 2em;
  margin-bottom: 15px;
}

#overlay button {
  background: #ff4444;
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

#overlay button:hover {
  background: #ff6666;
}

/* ======== PANEL OCULTO ======== */
#panel {
  position: fixed;
  bottom: -250px;
  left: 0;
  width: 100%;
  background: #333;
  color: white;
  padding: 20px;
  border-top: 2px solid #ff4444;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.4);
  transition: bottom 0.4s ease;
  z-index: 15;
}

#panel.visible {
  bottom: 0;
}

#panel input {
  padding: 5px;
  margin: 5px;
  border: none;
  border-radius: 5px;
}

#panel button {
  background: #ff4444;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

/* ======== BOTÓN ABRIR PANEL ======== */
#abrirPanel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #555;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  z-index: 20;
  transition: background 0.3s;
}

#abrirPanel:hover {
  background: #777;
}

/* ======== LISTA DE DONADORES ======== */
#lista {
  margin-top: 15px;
}

.donador {
  background: #444;
  margin: 5px 0;
  padding: 8px;
  border-radius: 5px;
  font-size: 15px;
}