* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: sans-serif;
}

.container {
  position: relative;
  width: 100vw;
  height: 100vh;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.slide-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.4);
  transition: height 0.3s ease;
  display: flex;
  align-items: center;
}

.slide-wrapper:hover {
  height: 150px;
}

.slide-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  flex: 1;
  scrollbar-width: none;
}

.slide-container::-webkit-scrollbar {
  display: none;
}

.slide {
  height: 120px;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.slide:hover {
  transform: scale(1.05);
  outline: 2px solid white;
}

.nav {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0 15px;
  height: 100%;
  z-index: 2;
  transition: background 0.3s;
}

.nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Info Banner (invisible por defecto) */
.info-banner {
  position: absolute;
  bottom: 160px;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(20,20,20,0.85));
  color: white;
  text-align: center;
  z-index: 3;
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Mostrar en hover escritorio */
.slide-wrapper:hover ~ .info-banner,
/* Mostrar en móvil al añadir clase visible */
.info-banner.visible {
  opacity: 1;
  pointer-events: auto;
}
