/* videos.css */

/* Sección de videos */
.video-section {
  max-width: 1300px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
}

.video-section h2 {
  font-size: 2.8rem;
  color: #ff0000;
  margin-bottom: 1rem;
}

.video-subtitle {
  color: #ccc;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.video-card {
  background: linear-gradient(145deg, #1e1e2f, #26263a);
  border: 1px solid rgba(139, 233, 253, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(80, 250, 123, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(139, 233, 253, 0.4);
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 0;
}

.video-card h3 {
  color: #50fa7b;
  font-size: 1.1rem;
  padding: 1rem;
  margin: 0;
}

/* Arregla el footer que se baja por margen o espacio sobrante */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

footer {
  background: #1e1e2f;
  text-align: center;
  padding: 1rem;
  color: #888;
  margin-top: auto;
}

/* Responsivo */
@media (max-width: 768px) {
  .video-section h2 {
    font-size: 2rem;
  }

  .video-card iframe {
    height: 180px;
  }
}
