.hero-build-anim {
  min-height: 430px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  box-shadow: none;
}

.sws-stack {
  position: relative;
  width: min(100%, 430px);
  height: 350px;
  perspective: 1000px;
}

.sws-card {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.14);
  will-change: transform, opacity;
}

.sws-booking-card {
  background: #2563eb;
  color: #ffffff;
  animation: swsBookingCard 12s ease-in-out infinite;
}

.sws-club-card {
  background: #f97316;
  color: #111111;
  animation: swsClubCard 12s ease-in-out infinite;
}

.sws-dashboard-card {
  background: #111827;
  color: #ffffff;
  animation: swsDashboardCard 12s ease-in-out infinite;
}

.sws-card-top {
  display: none;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 550;
}

.sws-card-top strong {
  font-size: 15px;
  font-weight: 550;
  opacity: 0.7;
}

.booking-visual,
.club-visual,
.dashboard-visual {
  border-radius: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.18);
}

.booking-profile {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  background: #ffffff;
}

.booking-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.booking-lines span {
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.booking-lines span:first-child {
  width: 82%;
}

.booking-lines span:last-child {
  width: 56%;
}

.booking-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 18px;
}

.booking-slots span {
  height: 44px;
  border-radius: 16px;
  background: #ffffff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 550;
}

.club-visual {
  background: #fff7ed;
}

.club-date {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: #111111;
  color: #ffffff;
  display: grid;
  place-items: center;
  align-content: center;
}

.club-date strong {
  font-size: 38px;
  line-height: 0.9;
  font-weight: 550;
}

.club-date span {
  font-size: 14px;
  font-weight: 550;
}

.club-poster-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.club-poster-lines span {
  height: 22px;
  border-radius: 999px;
  background: #111111;
}

.club-poster-lines span:nth-child(1) {
  width: 90%;
}

.club-poster-lines span:nth-child(2) {
  width: 68%;
}

.club-poster-lines span:nth-child(3) {
  width: 48%;
}

.dashboard-visual {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 14px;
  background: #020617;
}

.dashboard-bars {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 10px;
}

.dashboard-bars span {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: #22c55e;
}

.dashboard-bars span:nth-child(1) {
  height: 42%;
}

.dashboard-bars span:nth-child(2) {
  height: 72%;
}

.dashboard-bars span:nth-child(3) {
  height: 54%;
}

.dashboard-bars span:nth-child(4) {
  height: 88%;
}

.dashboard-rows {
  display: grid;
  gap: 10px;
}

.dashboard-rows span {
  border-radius: 16px;
  background: #1e293b;
}

.dashboard-rows span:nth-child(1) {
  height: 46px;
}

.dashboard-rows span:nth-child(2) {
  height: 68px;
}

.dashboard-rows span:nth-child(3) {
  height: 46px;
}

.sws-card-button {
  height: 52px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 550;
}

.sws-dashboard-card .sws-card-button {
  background: #22c55e;
  color: #052e16;
}

@keyframes swsBookingCard {
  0%,
  22% {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  28% {
    z-index: 4;
    opacity: 0;
    transform: translate3d(300px, -40px, 0) rotate(12deg) scale(0.9);
  }

  29% {
    z-index: 1;
    opacity: 0;
    transform: translate3d(-30px, 28px, -90px) rotate(-5deg) scale(0.9);
  }

  36%,
  56% {
    z-index: 1;
    opacity: 1;
    transform: translate3d(-30px, 28px, -90px) rotate(-5deg) scale(0.9);
  }

  64%,
  86% {
    z-index: 2;
    opacity: 1;
    transform: translate3d(28px, 22px, -45px) rotate(5deg) scale(0.94);
  }

  94%,
  100% {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes swsClubCard {
  0%,
  22% {
    z-index: 2;
    opacity: 1;
    transform: translate3d(28px, 22px, -45px) rotate(5deg) scale(0.94);
  }

  30%,
  56% {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  62% {
    z-index: 4;
    opacity: 0;
    transform: translate3d(300px, -40px, 0) rotate(12deg) scale(0.9);
  }

  63% {
    z-index: 1;
    opacity: 0;
    transform: translate3d(-30px, 28px, -90px) rotate(-5deg) scale(0.9);
  }

  70%,
  88% {
    z-index: 1;
    opacity: 1;
    transform: translate3d(-30px, 28px, -90px) rotate(-5deg) scale(0.9);
  }

  96%,
  100% {
    z-index: 2;
    opacity: 1;
    transform: translate3d(28px, 22px, -45px) rotate(5deg) scale(0.94);
  }
}

@keyframes swsDashboardCard {
  0%,
  22% {
    z-index: 1;
    opacity: 1;
    transform: translate3d(-30px, 28px, -90px) rotate(-5deg) scale(0.9);
  }

  30%,
  56% {
    z-index: 2;
    opacity: 1;
    transform: translate3d(28px, 22px, -45px) rotate(5deg) scale(0.94);
  }

  64%,
  88% {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  94% {
    z-index: 4;
    opacity: 0;
    transform: translate3d(300px, -40px, 0) rotate(12deg) scale(0.9);
  }

  95% {
    z-index: 1;
    opacity: 0;
    transform: translate3d(-30px, 28px, -90px) rotate(-5deg) scale(0.9);
  }

  100% {
    z-index: 1;
    opacity: 1;
    transform: translate3d(-30px, 28px, -90px) rotate(-5deg) scale(0.9);
  }
}

@media (max-width: 560px) {
  .hero-build-anim {
    min-height: 360px;
  }

  .sws-stack {
    height: 315px;
  }

  .sws-card {
    border-radius: 28px;
    padding: 18px;
  }

  .dashboard-visual {
    grid-template-columns: 1fr;
  }

  .dashboard-bars {
    height: 105px;
  }

  .dashboard-rows {
    display: none;
  }

  .sws-stack {
  width: min(100%, 330px);
}

@keyframes swsBookingCard {
  0%,
  22% {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  28% {
    z-index: 4;
    opacity: 0;
    transform: translate3d(210px, -32px, 0) rotate(12deg) scale(0.9);
  }

  29% {
    z-index: 1;
    opacity: 0;
    transform: translate3d(-20px, 22px, -90px) rotate(-5deg) scale(0.9);
  }

  36%,
  56% {
    z-index: 1;
    opacity: 1;
    transform: translate3d(-20px, 22px, -90px) rotate(-5deg) scale(0.9);
  }

  64%,
  86% {
    z-index: 2;
    opacity: 1;
    transform: translate3d(20px, 18px, -45px) rotate(5deg) scale(0.94);
  }

  94%,
  100% {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes swsClubCard {
  0%,
  22% {
    z-index: 2;
    opacity: 1;
    transform: translate3d(20px, 18px, -45px) rotate(5deg) scale(0.94);
  }

  30%,
  56% {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  62% {
    z-index: 4;
    opacity: 0;
    transform: translate3d(210px, -32px, 0) rotate(12deg) scale(0.9);
  }

  63% {
    z-index: 1;
    opacity: 0;
    transform: translate3d(-20px, 22px, -90px) rotate(-5deg) scale(0.9);
  }

  70%,
  88% {
    z-index: 1;
    opacity: 1;
    transform: translate3d(-20px, 22px, -90px) rotate(-5deg) scale(0.9);
  }

  96%,
  100% {
    z-index: 2;
    opacity: 1;
    transform: translate3d(20px, 18px, -45px) rotate(5deg) scale(0.94);
  }
}

@keyframes swsDashboardCard {
  0%,
  22% {
    z-index: 1;
    opacity: 1;
    transform: translate3d(-20px, 22px, -90px) rotate(-5deg) scale(0.9);
  }

  30%,
  56% {
    z-index: 2;
    opacity: 1;
    transform: translate3d(20px, 18px, -45px) rotate(5deg) scale(0.94);
  }

  64%,
  88% {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  94% {
    z-index: 4;
    opacity: 0;
    transform: translate3d(210px, -32px, 0) rotate(12deg) scale(0.9);
  }

  95% {
    z-index: 1;
    opacity: 0;
    transform: translate3d(-20px, 22px, -90px) rotate(-5deg) scale(0.9);
  }

  100% {
    z-index: 1;
    opacity: 1;
    transform: translate3d(-20px, 22px, -90px) rotate(-5deg) scale(0.9);
  }
}
}

@media (prefers-reduced-motion: reduce) {
  .sws-card {
    animation: none;
  }

  .sws-booking-card {
    z-index: 3;
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  .sws-club-card {
    z-index: 2;
    opacity: 1;
    transform: translate3d(28px, 22px, -40px) rotate(5deg) scale(0.94);
  }

  .sws-dashboard-card {
    z-index: 1;
    opacity: 1;
    transform: translate3d(-28px, 28px, -80px) rotate(-5deg) scale(0.91);
  }
}