.ivy-spin-showcase {
  position: relative;
  overflow: hidden;
  min-height: var(--ivy-height, 760px);
  border-radius: var(--ivy-section-radius, 28px);
  background: var(--ivy-bg, #0c1117);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px;
  isolation: isolate;
  box-shadow: 0 18px 60px rgba(8, 16, 28, 0.18);
}

.ivy-spin-showcase__bg,
.ivy-spin-showcase__overlay,
.ivy-spin-showcase__glow {
  position: absolute;
  inset: 0;
}

.ivy-spin-showcase__bg {
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  filter: blur(10px) saturate(1.06);
  opacity: 0.5;
  transition: background-image 0.7s ease, opacity 0.6s ease;
}

.ivy-spin-showcase__overlay {
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(6, 11, 19, var(--ivy-overlay, 0.72)) 0%, rgba(6, 11, 19, 0.28) 45%, rgba(6, 11, 19, calc(var(--ivy-overlay, 0.72) + 0.06)) 100%);
}

.ivy-spin-showcase__glow {
  z-index: 1;
  background:
    radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--ivy-accent, #ffffff) 18%, transparent) 0%, transparent 38%),
    radial-gradient(circle at 82% 78%, rgba(255,255,255,0.10) 0%, transparent 28%);
  pointer-events: none;
}

.ivy-spin-showcase__content,
.ivy-spin-showcase__stage {
  position: relative;
  z-index: 2;
}

.ivy-spin-showcase__content {
  width: min(var(--ivy-content-width, 500px), 100%);
  margin-right: auto;
  color: var(--ivy-text, #ffffff);
}

.ivy-spin-showcase__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: color-mix(in srgb, var(--ivy-accent, #ffffff) 70%, #ffffff 30%);
}

.ivy-spin-showcase__title {
  margin: 0 0 18px;
  color: var(--ivy-text, #ffffff);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.ivy-spin-showcase__text {
  margin: 0 0 26px;
  max-width: 42ch;
  color: var(--ivy-muted, rgba(255,255,255,.84));
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.58;
}

.ivy-spin-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ivy-spin-showcase__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ivy-btn-bg, #ffffff);
  color: var(--ivy-btn-text, #0c1117);
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.ivy-spin-showcase__button:hover,
.ivy-spin-showcase__button:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
  color: var(--ivy-btn-text, #0c1117);
}

.ivy-spin-showcase__stage {
  position: absolute;
  right: min(4vw, 42px);
  top: 50%;
  width: min(56vw, 920px);
  height: min(38vw, 560px);
  transform: translateY(-50%);
  pointer-events: none;
}

.ivy-spin-showcase__carousel {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1200px;
}

.ivy-spin-card {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(48vw, 760px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--ivy-card-radius, 24px);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
  backdrop-filter: blur(12px);
  transform-origin: center center;
  transition:
    transform .85s cubic-bezier(.22,.61,.36,1),
    opacity .85s cubic-bezier(.22,.61,.36,1),
    box-shadow .85s ease,
    filter .85s ease;
  will-change: transform, opacity;
}

.ivy-spin-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ivy-spin-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 16%, transparent 40%, transparent 100%);
  pointer-events: none;
}

.ivy-spin-card.pos--2 {
  opacity: 0;
  transform: translateX(-200%) translateY(12%) scale(.80) rotate(-5deg) translateZ(-180px);
  filter: blur(1px);
}

.ivy-spin-card.pos--1 {
  opacity: .96;
  transform: translateX(-100%) translateY(6%) scale(.88) rotate(-2.8deg) translateZ(-80px);
}

.ivy-spin-card.pos-0 {
  opacity: 1;
  transform: translateX(0%) translateY(0) scale(1) rotate(0deg) translateZ(0);
  box-shadow: 0 36px 94px rgba(0,0,0,.42);
  filter: none;
}

.ivy-spin-card.pos-1 {
  opacity: .96;
  transform: translateX(100%) translateY(6%) scale(.88) rotate(2.8deg) translateZ(-80px);
}

.ivy-spin-card.pos-2 {
  opacity: 0;
  transform: translateX(200%) translateY(12%) scale(.80) rotate(5deg) translateZ(-180px);
  filter: blur(1px);
}

.ivy-spin-empty-notice {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff7d8;
  color: #5f4a00;
  border: 1px solid #f1dd92;
}

@media (max-width: 1100px) {
  .ivy-spin-showcase {
    min-height: calc(var(--ivy-height, 760px) + 80px);
    align-items: flex-start;
    padding-bottom: 380px;
  }

  .ivy-spin-showcase__content {
    width: min(100%, 680px);
  }

  .ivy-spin-showcase__stage {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 26px;
    transform: translateX(-50%);
    width: min(94vw, 760px);
    height: 300px;
  }

  .ivy-spin-card {
    width: min(84vw, 560px);
  }
}

@media (max-width: 680px) {
  .ivy-spin-showcase {
    padding: 34px 16px 280px;
    border-radius: 22px;
  }

  .ivy-spin-showcase__eyebrow {
    letter-spacing: 0.14em;
  }

  .ivy-spin-showcase__stage {
    bottom: 18px;
    height: 220px;
  }

  .ivy-spin-card.pos--2,
  .ivy-spin-card.pos-2 {
    display: none;
  }

  .ivy-spin-card.pos--1 {
    opacity: .5;
    transform: translateX(-16%) translateY(3%) scale(.91) rotate(-2deg);
  }

  .ivy-spin-card.pos-1 {
    opacity: .5;
    transform: translateX(16%) translateY(3%) scale(.91) rotate(2deg);
  }
}
