* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-family: sans-serif;
  background: black;
  color: white;
}

#video-container {
  height: 100vh;
  width: 100vw;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  position: fixed;
  top: 0;
  left: 0;
  padding-bottom: 80px;
}

.video-wrapper {
  height: calc(100vh - 80px);
  width: 100vw;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: black;
  z-index: 0;
}

/* Degradado de fondo para mejorar legibilidad del texto */
.video-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Contenido textual sin caja opaca */
.video-info {
  position: absolute;
  bottom: 130px;
  left: 5%;
  right: 5%;
  color: white;
  z-index: 2;
}

.video-info h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.video-info .price {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.video-info .description {
  font-size: 1rem;
  line-height: 1.3;
}

.video-info .see-more {
  background: none;
  border: none;
  color: #ffcc00;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  margin-top: 5px;
}

#category-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 0 10px;
  z-index: 10;
  font-size: 1.2rem;
  overflow: hidden;
}

.arrow {
  width: 40px;
  text-align: center;
  font-size: 1.8rem;
  cursor: pointer;
  user-select: none;
}

#categories-scroll {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  overflow: hidden;
}

.category {
  white-space: nowrap;
  opacity: 0.4;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.category.active {
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 1;
}

/* Indicadores de vídeo (puntitos) */
#video-indicator {
  position: fixed;
  top: 20px;
  left: 10px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #ffffff;
  width: 10px;
  height: 10px;

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 9999;
}

}
