.pd-launch-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  justify-items: left;
  min-height: clamp(370px, 29.6vw, 600px);
  overflow: hidden;
  padding: 24px 6vw 32px;
  background: #65468f;
  color: #fff;
}

.pd-launch-art,
.pd-launch-art img,
.pd-launch-banner::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pd-launch-art { z-index: -2; }
.pd-launch-art img { object-fit: cover; object-position: center top; }
.pd-launch-banner::after {
  content: '';
  z-index: -1;
  background: linear-gradient(180deg, transparent 65%, rgba(101,70,143,.12) 86%, rgba(101,70,143,.58));
}

.pd-launch-content { width: min(42vw, 664px); text-align: center; }
.pd-launch-logo {
  display: block;
  width: clamp(110px, 12vw, 165px);
  height: auto;
  margin: 0 auto 14px;
  filter: drop-shadow(0 6px 10px rgba(35,11,48,.3));
}

.pd-launch-clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.3vw, 20px);
}

.pd-launch-card {
  --flap-top: linear-gradient(180deg, #dc3680, #c5276b);
  --flap-bottom: linear-gradient(180deg, #a92162, #b92569);
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(78px, 9vw, 133px);
  overflow: hidden;
  border-radius: clamp(5px, .65vw, 9px);
  background: var(--flap-top) top / 100% 50% no-repeat, var(--flap-bottom) bottom / 100% 50% no-repeat;
  perspective: 480px;
  box-shadow: inset 0 1px rgba(255,255,255,.26), 0 4px 0 #6e143f, 0 11px 21px rgba(42,11,54,.47);
}

.pd-launch-card::after {
  content: '';
  position: absolute;
  z-index: 4;
  inset: 50% 0 auto;
  border-top: 1px solid rgba(64,7,36,.7);
  box-shadow: 0 1px rgba(255,255,255,.13);
  pointer-events: none;
}

.pd-launch-value,
.pd-launch-half::before {
  display: block;
  font-size: clamp(32px, 5.1vw, 76px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
  line-height: .98;
  text-shadow: 0 3px 3px rgba(65,6,34,.4);
}

.pd-launch-unit,
.pd-launch-half--bottom::after {
  position: absolute;
  inset-inline: 0;
  bottom: 8%;
  font-size: clamp(9px, 1.06vw, 14px);
  font-weight: 700;
  line-height: 1;
}

.pd-launch-half {
  display: none;
  position: absolute;
  inset-inline: 0;
  height: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  pointer-events: none;
}

.pd-launch-half::before {
  content: attr(data-digit);
  position: absolute;
  inset-inline: 0;
  top: 100%;
  transform: translateY(-50%);
  direction: ltr;
}

.pd-launch-half--top {
  top: 0;
  z-index: 2;
  background: var(--flap-top);
  transform-origin: center bottom;
}

.pd-launch-half--bottom {
  bottom: 0;
  z-index: 1;
  background: var(--flap-bottom);
  transform-origin: center top;
}

.pd-launch-half--bottom::before { top: 0; }
.pd-launch-half--bottom::after { content: attr(data-unit); bottom: 16%; }
.pd-launch-half--incoming { z-index: 3; }

@media (prefers-reduced-motion: no-preference) {
  .pd-launch-card.is-flipping .pd-launch-half { display: block; }
  .pd-launch-card.is-flipping .pd-launch-half--top {
    animation: pd-launch-flap-out 235ms ease-in forwards;
  }
  .pd-launch-card.is-flipping .pd-launch-half--incoming {
    animation: pd-launch-flap-in 235ms ease-out 235ms both;
  }
}

@keyframes pd-launch-flap-out {
  from { transform: rotateX(0); }
  to { transform: rotateX(-90deg); filter: brightness(.72); }
}

@keyframes pd-launch-flap-in {
  from { transform: rotateX(90deg); filter: brightness(1.22); }
  to { transform: rotateX(0); }
}

.pd-launch-date, .pd-launch-ended {
  width: fit-content;
  margin: 21px auto 0;
  padding: 6px 12px;
  border-radius: 100px;
  background: #39234f;
  color: #fff;
  font-size: clamp(11px, 1.05vw, 14px);
  font-weight: 700;
}

.pd-launch-banner [hidden] { display: none; }
.pd-launch-ended { margin-top: 0; font-size: clamp(21px, 3vw, 40px); }

.pd-launch-rental {
  background: #080d1b;
  border-block: 1px solid #273655;
  color: #f4f8ff;
}

.pd-launch-rental-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  max-width: 1220px;
  margin-inline: auto;
  padding: 19px clamp(16px, 4vw, 36px);
}

.pd-launch-rental h1 { margin: 0; font-size: clamp(23px, 3vw, 38px); line-height: 1.13; font-weight: 850; }
.pd-launch-rental p { margin: 5px 0 0; color: #becbe0; font-size: clamp(12px, 1.3vw, 15px); }
.pd-launch-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.pd-launch-actions a { min-height: 46px; padding: .6rem 1rem; font-size: .92rem; }
.pd-launch-actions .pd-hero-cta { background: linear-gradient(115deg,#6e2de2,#ca167f); }

@media (max-width: 900px) {
  .pd-launch-banner {
    display: block;
    min-height: 0;
    padding: clamp(245px, 43vw, 310px) 14px 24px;
  }
  .pd-launch-art {
    height: clamp(300px, 60vw, 410px);
    mask-image: linear-gradient(#000 72%, transparent 100%);
  }
  .pd-launch-art img { object-position: 55% top; }
  .pd-launch-banner::after { content: none; }
  .pd-launch-content { width: min(100%, 540px); margin-inline: auto; }
  .pd-launch-logo {
    position: absolute;
    top: 22px;
    left: clamp(16px, 5vw, 44px);
    width: clamp(72px, 20vw, 120px);
    margin: 0;
  }
}

@media (max-width: 640px) {
  .pd-launch-rental-inner { padding-block: 15px; }
  .pd-launch-actions a { padding-inline: .65rem; font-size: .82rem; }
}
