.container-videos {
  max-width: 1400px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.subtitle {
  text-align: center;
  padding: 20px;
  color: #555;
  font-size: 1.1rem;
  font-style: italic;
}

.section-video {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 40px;
  background: #f8f9fa;
}

.video-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.video-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 20px;
  text-align: center;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.video-description {
  font-size: 0.9rem;
  color: #7f8c8d;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .title {
    font-size: 2rem;
    padding: 30px 15px;
  }

  .section-video {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  .container-videos {
    border-radius: 15px;
  }

  .title {
    font-size: 1.8rem;
    padding: 25px 10px;
  }

  .section-video {
    padding: 15px;
    gap: 15px;
  }
}

/* Loading animation */
.video-card {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.video-card:nth-child(1) {
  animation-delay: 0.2s;
}
.video-card:nth-child(2) {
  animation-delay: 0.4s;
}
.video-card:nth-child(3) {
  animation-delay: 0.6s;
}
.video-card:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility improvements */
.video-card:focus-within {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

iframe:focus {
  outline: none;
}
