body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  background: #f9f9f9;
  color: #333;
}

/* Sección contenedora premium */
.gallery-section {
  background: linear-gradient(145deg, #ffffff, #f1f1f1);
  border-radius: 28px;
  padding: 30px 25px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 14px 60px rgba(0,0,0,0.18), inset 0 0 20px rgba(255,255,255,0.08);
  border: 1px solid rgba(200,200,200,0.3);
}

/* Video destacado */
.featured-video-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(0,0,0,0.25);
  margin-bottom: 40px;
  background-color: #000; 
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
}

/* Contenedor del video */
#featured-container {
  flex: 1;
  min-width: 650px;
}

.featured-video-wrapper iframe,
.featured-video-wrapper video {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 18px;
}

/* Título del video */
.featured-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.35));
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 18px 20px;
  text-align: center;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.7);
  z-index: 10;
}

/* Descripción profesional */
.video-info {
  width: 300px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.4s ease;
  font-size: 14px;
  line-height: 1.5;
}

.video-info.show {
  opacity: 1;
  transform: translateX(0);
}

/* Carrusel */
.video-thumbnails-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

.video-thumbnails {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.5s ease;
  padding: 20px 50px;
  cursor: grab;
}

/* Miniaturas */
.thumbnailvideo {
  width: 200px;
  height: 110px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(145deg, #ffffff, #e6e6e6);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18), inset 0 0 12px rgba(255,255,255,0.2);
  transition: transform 0.5s ease, box-shadow 0.4s ease;
  position: relative;
}

.thumbnailvideo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.97);
}

.thumbnailvideo.active {
  transform: scale(1.35) rotateY(5deg);
  z-index: 5;
  box-shadow: 0 14px 38px rgba(0,0,0,0.38), inset 0 0 14px rgba(255,255,255,0.25);
}

.thumbnailvideo:hover img {
  transform: scale(1.18);
  filter: brightness(1);
}

.thumbnailvideo-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 0;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Flechas */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #ffffff, #e0e0e0);
  border-radius: 50%;
  border: 1px solid rgba(180,180,180,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25), inset 0 -2px 6px rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  user-select: none;
}

.arrow:hover {
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  color: #000;
  transform: translateY(-50%) scale(1.2) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 -2px 8px rgba(255,255,255,0.25);
}

.arrow-left { left: 10px; }
.arrow-right { right: 10px; }
