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




#slp-wrap {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  overflow: hidden;
  background: #000;
  z-index: 1;
}

#slp-track {
  width: 100%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.slp-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: block;
}

.slp-slide-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  text-decoration: none;
}

.slp-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 1.3s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}

.slp-slide.is-active .slp-bg { transform: scale(1.0); }

.slp-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  display: none;
}

.slp-video video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
}

.slp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 25%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.68) 100%);
  z-index: 1;
}

.slp-content {
  position: absolute;
  bottom: 48px; left: 0; right: 0;
  z-index: 3;
  text-align: center;
  padding: 0 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.76,0,0.24,1) 0.2s;
  pointer-events: none;
}

.slp-slide.is-active .slp-content { opacity: 1; transform: translateY(0); }

.slp-title {
  font-family: inherit;
  font-size: clamp(13px, 2vw, 19px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 5px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}

.slp-subtitle {
  font-family: inherit;
  font-size: clamp(10px, 1.3vw, 13px);
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  line-height: 1.3;
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}

.slp-slide.is-footer {
  display: block;
  overflow-y: auto;
  background: #fff;
}

#slp-dots {
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slp-dot {
  width: 4px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.28);
  border: none; padding: 0;
  cursor: pointer;
  transition: height 0.4s ease, background 0.4s ease;
}

.slp-dot.active { height: 20px; background: rgba(255,255,255,0.85); }

#slp-counter {
  position: absolute;
  left: 24px; bottom: 24px;
  z-index: 100;
  font-family: inherit;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.32);
  text-transform: uppercase;
}

#slp-hint {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: opacity 0.5s ease;
}

#slp-hint.hidden { opacity: 0; pointer-events: none; }

#slp-hint-line {
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: hintPulse 2s ease-in-out infinite;
}

#slp-hint span {
  font-family: inherit;
  font-size: 8px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

@keyframes hintPulse {
  0%,100%{ opacity:0.3; } 50%{ opacity:1; }
}

@media (max-width: 768px) {
  #slp-dots { right: 10px; }
  #slp-counter { left: 14px; bottom: 16px; }
  .slp-content { bottom: 48px; }
}
