:root {
  color-scheme: dark;
  --slider-bg: #08111f;
  --slider-text: #ffffff;
  --slider-muted: rgba(255, 255, 255, 0.74);
  --slider-gold: #f7c35f;
  --slider-cyan: #5bd7d3;
  --slider-red: #ed1c24;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--slider-bg);
  color: var(--slider-text);
}

body {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

.slider-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #050914;
}

.slider-stage {
  min-height: 100vh;
}

.slider-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease, visibility 0.75s ease;
}

.slider-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slider-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #050914;
}

.slider-slide::before {
  content: none;
}

.slider-slide::after {
  content: none;
}

.slider-controls {
  position: fixed;
  z-index: 25;
  right: clamp(18px, 4vw, 58px);
  bottom: clamp(22px, 6vh, 58px);
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-arrow,
.slider-dot {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow span {
  font-size: 34px;
  line-height: 1;
  margin-top: -2px;
}

.slider-arrow:hover,
.slider-dot:hover,
.slider-dot.is-active {
  background: rgba(247, 195, 95, 0.96);
  border-color: rgba(247, 195, 95, 1);
  color: #101827;
}

.slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
}

.slider-dot.is-active {
  width: 34px;
}

.slider-progress {
  position: fixed;
  z-index: 24;
  left: clamp(18px, 8vw, 110px);
  bottom: clamp(28px, 7vh, 68px);
  width: min(340px, 42vw);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.slider-progress span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--slider-gold), var(--slider-cyan));
}

.slider-style-showcase {
  background: #f6f2ea;
}

.slider-style-showcase .slider-stage {
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.92), rgba(8, 17, 31, 0.14) 48%, rgba(8, 17, 31, 0)),
    #f6f2ea;
}

.slider-style-showcase .slider-slide {
  padding: clamp(18px, 4vw, 56px);
}

.slider-style-showcase .slider-slide img {
  inset: clamp(16px, 4vw, 54px);
  width: calc(100% - clamp(32px, 8vw, 108px));
  height: calc(100% - clamp(32px, 8vw, 108px));
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(8, 17, 31, 0.28);
}

.slider-style-showcase .slider-controls {
  right: auto;
  left: clamp(18px, 5vw, 72px);
  bottom: clamp(24px, 7vh, 76px);
}

.slider-style-showcase .slider-arrow,
.slider-style-showcase .slider-dot {
  border-color: rgba(8, 17, 31, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #08111f;
}

.slider-style-showcase .slider-arrow:hover,
.slider-style-showcase .slider-dot:hover,
.slider-style-showcase .slider-dot.is-active {
  background: #ed1c24;
  border-color: #ed1c24;
  color: #ffffff;
}

.slider-style-showcase .slider-progress {
  left: auto;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(44px, 8vh, 92px);
  background: rgba(8, 17, 31, 0.18);
}

.slider-style-showcase .slider-progress span {
  background: linear-gradient(90deg, #ed1c24, #08111f);
}

.slider-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, #08111f, #173d3a);
}

.slider-empty h1 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 42px;
  letter-spacing: 0;
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .slider-topbar {
    display: none;
  }

  .slider-slide::before {
    content: none;
  }

  .slider-controls {
    left: 16px;
    right: 16px;
    bottom: 24px;
    justify-content: space-between;
  }

  .slider-progress {
    left: 16px;
    right: 16px;
    bottom: 84px;
    width: auto;
  }
}
