.robcs-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.robcs-viewport {
  position: relative;
  overflow: hidden;
  padding: 24px 0 10px;
}

.robcs-track {
  display: flex;
  align-items: center;
  gap: 20px;
  will-change: transform;
  transition: transform 0.55s ease;
}

.robcs-slide {
  flex: 0 0 60%;
  opacity: 0.45;
  transform: scale(0.82);
  transition: transform 0.55s ease, opacity 0.55s ease, filter 0.55s ease;
  filter: blur(0.3px);
}

.robcs-slider[data-show-preview="0"] .robcs-slide {
  flex-basis: 100%;
}

.robcs-slide.is-active {
  opacity: 1;
  transform: scale(1);
  filter: none;
  z-index: 3;
}

.robcs-slider[data-effect="coverflow"] .robcs-slide.is-prev {
  transform: perspective(1200px) rotateY(18deg) scale(0.84);
}

.robcs-slider[data-effect="coverflow"] .robcs-slide.is-next {
  transform: perspective(1200px) rotateY(-18deg) scale(0.84);
}

.robcs-slider[data-effect="slide"] .robcs-slide.is-prev,
.robcs-slider[data-effect="slide"] .robcs-slide.is-next {
  transform: scale(0.86);
}

.robcs-slider[data-effect="fade"] .robcs-slide {
  transform: scale(0.96);
}

.robcs-card {
  position: relative;
  height: var(--robcs-height-desktop);
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.robcs-image-link,
.robcs-image-wrap {
  display: block;
  height: 100%;
}

.robcs-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.robcs-slide.is-active .robcs-image-wrap img:hover {
  transform: scale(1.04);
}

.robcs-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0));
}

.robcs-title {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
}

.robcs-desc {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 90%;
}

.robcs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.robcs-button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.robcs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.robcs-arrow:hover {
  background: rgba(17, 17, 17, 0.92);
}

.robcs-arrow-prev {
  left: 12px;
}

.robcs-arrow-next {
  right: 12px;
}

.robcs-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.robcs-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #cfcfcf;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.robcs-dot.is-active {
  background: #111;
  transform: scale(1.15);
}

.robcs-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.robcs-thumb {
  width: 64px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.robcs-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.robcs-thumb.is-active {
  opacity: 1;
  border-color: #111;
  transform: translateY(-1px);
}

.robcs-slider.is-dragging .robcs-track {
  transition: none;
  cursor: grabbing;
}

.robcs-style-default .robcs-content {
  text-align: left;
}

.robcs-style-dark .robcs-content {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.1));
}

.robcs-style-minimal .robcs-content {
  background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0.08), transparent);
  padding: 18px;
}

.robcs-style-minimal .robcs-title {
  font-size: 1.4rem;
}

.robcs-style-minimal .robcs-desc {
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.robcs-style-card .robcs-content {
  inset: auto 20px 20px 20px;
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(10px);
  border-radius: 20px;
}

.robcs-style-left-content .robcs-content {
  inset: 0 auto 0 0;
  width: 42%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to right, rgba(0,0,0,0.82), rgba(0,0,0,0.35), transparent);
}

.robcs-style-center-content .robcs-content {
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0,0,0,0.35);
}

.robcs-style-center-content .robcs-desc {
  max-width: 70%;
}

@media (max-width: 1024px) {
  .robcs-slide {
    flex-basis: 72%;
  }

  .robcs-card {
    height: var(--robcs-height-tablet);
  }

  .robcs-title {
    font-size: 1.6rem;
  }

  .robcs-desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 767px) {
  .robcs-viewport {
    padding-top: 12px;
  }

  .robcs-slide {
    flex-basis: 84%;
    gap: 0;
  }

  .robcs-card {
    height: var(--robcs-height-mobile);
    border-radius: 22px;
  }

  .robcs-content {
    padding: 20px;
  }

  .robcs-title {
    font-size: 1.3rem;
  }

  .robcs-desc {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .robcs-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }

  .robcs-thumb {
    width: 54px;
    height: 54px;
  }

  .robcs-style-left-content .robcs-content {
    width: 100%;
    inset: auto 0 0 0;
    height: auto;
    background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.25), transparent);
  }

  .robcs-style-center-content .robcs-desc {
    max-width: 100%;
  }
}