* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  overflow: hidden;
}

.slide,
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 1;
  transition: opacity 0.28s ease;
}

.slide {
  object-fit: contain;
  z-index: 1;
}

.slide-bg {
  object-fit: cover;
  transform: scale(1.15);
  filter: blur(40px) brightness(0.55) saturate(1.15);
  z-index: 0;
}

.slide.fade,
.slide-bg.fade {
  opacity: 0;
}

.icon-btn {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.75);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  z-index: 10;
  padding: 0;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.95);
  outline: none;
}

.icon-btn svg {
  width: 55%;
  height: 55%;
  pointer-events: none;
}

.icon-home {
  top: 18px;
  left: 18px;
  width: 40px;
  height: 40px;
  opacity: 0.55;
}

.icon-home:hover,
.icon-home:focus-visible {
  opacity: 1;
}

.icon-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  opacity: 0.4;
}

.icon-arrow:hover,
.icon-arrow:focus-visible {
  opacity: 1;
}

.icon-prev {
  left: 18px;
}

.icon-next {
  right: 18px;
}

@media (max-width: 600px) {
  .icon-home {
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
  }

  .icon-arrow {
    width: 42px;
    height: 42px;
  }

  .icon-prev {
    left: 8px;
  }

  .icon-next {
    right: 8px;
  }
}

@media (hover: none) {
  .icon-btn {
    opacity: 0.5;
  }
}
