.bo-deck-hero{
  min-height: 92svh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(18,103,214,.14), transparent 70%),
    radial-gradient(ellipse 55% 45% at 85% 75%, rgba(22,166,166,.10), transparent 70%),
    #0B1728;
  padding: 6rem 1rem 4rem;
}

.bo-deck-hero .card-groups, .bo-deck-hero .card-group, .bo-deck-hero .card{ aspect-ratio: 5 / 7; }
.bo-deck-hero .card-groups, .bo-deck-hero .card-group, .bo-deck-hero .big-card{ width: min(30vmin, 300px); }

.bo-deck-hero .card-group{ position: absolute; transition: transform 400ms cubic-bezier(.22,1,.36,1); }
.bo-deck-hero .card-swiper{ position: relative; width: min(30vmin,300px); height: min(42vmin,420px); }

.bo-deck-hero .card-group[data-status="unknown"]{ transform: scale(0); transition: none; }
.bo-deck-hero .card-group[data-status="active"]{ transition-delay: 300ms; }
.bo-deck-hero .card-group[data-status="after"]{ transform: translateX(50%) scale(0); }
.bo-deck-hero .card-group[data-status="before"]{ transform: translateX(-50%) scale(0); }
.bo-deck-hero .card-group[data-status="becoming-active-from-after"]{ transform: translateX(50%) scale(0); transition: none; }
.bo-deck-hero .card-group[data-status="becoming-active-from-before"]{ transform: translateX(-50%) scale(0); transition: none; }

.bo-deck-hero .card{
  background-color: rgba(255,255,255,.04);
  position: absolute;
  transition: transform 800ms cubic-bezier(.05,.43,.25,.95);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(127,212,222,.18);
}
.bo-deck-hero .big-card{ border-radius: 14px; box-shadow: 0 24px 48px rgba(0,0,0,.4); }
.bo-deck-hero .little-card{
  width: 12vmin; max-width: 120px;
  border-radius: 10px;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  box-shadow: -1vmin 1vmin 2vmin rgba(0,0,0,.35);
  pointer-events: none;
}

.bo-deck-hero /* stacked rest positions */
.big-card:nth-child(2){ transform: translateX(-10%) rotate(-1deg); }
.bo-deck-hero .big-card:nth-child(4){ transform: rotate(2deg); }
.bo-deck-hero .big-card:nth-child(6){ transform: translateX(-6%) rotate(-3deg); }
.bo-deck-hero .big-card:nth-child(8){ transform: translate(10%,3%) rotate(5deg); }

.bo-deck-hero /* hover fan-out */
.card-group:hover > .card{ box-shadow: -2vmin 2vmin 3vmin rgba(0,0,0,.5); border-color: rgba(127,212,222,.35); }
.bo-deck-hero .card-group:hover > .big-card:nth-child(2){ transform: translate(-75%,16%) rotate(-24deg); }
.bo-deck-hero .card-group:hover > .big-card:nth-child(4){ transform: translate(-25%,8%)  rotate(-8deg); }
.bo-deck-hero .card-group:hover > .big-card:nth-child(6){ transform: translate(25%,8%)   rotate(8deg); }
.bo-deck-hero .card-group:hover > .big-card:nth-child(8){ transform: translate(75%,16%)  rotate(24deg); }
.bo-deck-hero .card-group:hover > .little-card:nth-child(1){ transform: translate(200%,-160%) rotate(-15deg); }
.bo-deck-hero .card-group:hover > .little-card:nth-child(3){ transform: translate(160%,170%)  rotate(15deg); }
.bo-deck-hero .card-group:hover > .little-card:nth-child(5){ transform: translate(-200%,-170%) rotate(15deg); }
.bo-deck-hero .card-group:hover > .little-card:nth-child(7){ transform: translate(-280%,140%) rotate(-15deg); }

.bo-deck-hero /* buttons row */
.card-swiper-buttons{
  position: absolute; left: 50%; bottom: -14vmin; transform: translateX(-50%);
  display: flex; align-items: center; gap: 22px;
}
.bo-deck-hero .card-swiper-buttons > button{
  font-size: 2vmin; border: 1px solid rgba(182,201,217,.5); border-radius: 50%;
  color: #F4F8FA; background: rgba(18,61,90,.35); backdrop-filter: blur(8px);
  height: 7vmin; max-height: 56px; width: 7vmin; max-width: 56px; min-width: 44px; min-height: 44px;
  display: grid; place-items: center; cursor: pointer;
  transition: border-color .3s ease, color .3s ease, transform .2s ease;
}
.bo-deck-hero .card-swiper-buttons > button:hover, .bo-deck-hero .card-swiper-buttons > button:focus-visible{
  border-color: #D9FF99; color: #D9FF99; transform: scale(1.08); outline: none;
}
.bo-deck-hero__label{
  font: 600 11px "Space Grotesk", sans-serif; letter-spacing: .2em;
  color: #D9FF99; text-transform: uppercase; white-space: nowrap; min-width: 180px; text-align: center;
}
@media (prefers-reduced-motion: reduce){
  .bo-deck-hero .card, .bo-deck-hero .card-group, .bo-deck-hero .card-swiper-buttons > button { transition: none !important; }
}
.bo-deck-hero .card-group[data-status="active"] { cursor: pointer; }
.bo-deck-hero .card-group:not([data-status="active"]) { pointer-events: none; }
.bo-deck-hero .card-group:focus-visible { outline: 2px solid #D9FF99; outline-offset: 10px; border-radius: 14px; }
@media(max-width:640px) { .bo-deck-hero .card-swiper-buttons { gap: 12px; } .bo-deck-hero__label { min-width: 160px; font-size: 9px; } }
