/* Fondo animado con degradado */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #0f2027);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  color: #ffffff;
}

/* Animación del fondo */
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Encabezado futurista */
header {
  text-align: center;
  padding: 3rem 1rem 2rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #00e6e6;
  text-shadow: 0 0 10px #00e6e6;
}

header p {
  font-size: 1.2rem;
  color: #a9d6f5;
}

/* Contenedor de tarjetas */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Tarjeta futurista */
.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px #00ffff88;
}

/* Imagen del equipo */
.card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #00ffff;
  box-shadow: 0 0 10px #00ffff88;
}

/* Nombre y diálogo */
.card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #00e6e6;
}

.card p {
  font-style: italic;
  color: #ccf2f4;
}

/* Pie de página */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #99d9ff;
}
