/* Staggered pricing / event decks (vanilla port of pricing-blocks) */

[data-pricing-deck] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem 0 0.5rem;
}

@media (min-width: 1024px) {
  [data-pricing-deck] {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: 0.75rem;
    min-height: 30rem;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }

  [data-pricing-deck="three"] {
    min-height: 28rem;
    gap: 1rem;
  }

  [data-pricing-deck="two"] {
    min-height: 28rem;
    gap: 1.25rem;
  }
}

.vr-pricing-card {
  position: relative;
  width: 100%;
  max-width: 17.5rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 20px;
  background: var(--canvas);
  border: 1px solid var(--border-quiet);
  transform-origin: center bottom;
  opacity: 0;
  transform: translateY(2.5rem) scale(0.92);
  transition:
    opacity 0.5s ease,
    transform 0.65s cubic-bezier(0.34, 1.45, 0.64, 1),
    border-color 0.2s ease;
  z-index: 10;
}

.vr-pricing-card.is-revealed {
  opacity: 1;
}

@media (min-width: 1024px) {
  /* 4-card fan (Experience Types) */
  [data-pricing-deck="four"] .vr-pricing-card--tier-1.is-revealed {
    transform: rotate(-6deg) translateY(0) scale(1);
  }

  [data-pricing-deck="four"] .vr-pricing-card--tier-2.is-revealed {
    transform: rotate(-3deg) translateY(0) scale(1);
  }

  [data-pricing-deck="four"] .vr-pricing-card--tier-4.is-revealed {
    transform: rotate(6deg) translateY(0) scale(1);
  }

  [data-pricing-deck="four"] .vr-pricing-card--tier-1.is-revealed:hover {
    transform: rotate(-6deg) translateY(-0.25rem) scale(1.03);
  }

  [data-pricing-deck="four"] .vr-pricing-card--tier-2.is-revealed:hover {
    transform: rotate(-3deg) translateY(-0.25rem) scale(1.03);
  }

  [data-pricing-deck="four"] .vr-pricing-card--tier-4.is-revealed:hover {
    transform: rotate(6deg) translateY(-0.25rem) scale(1.03);
  }

  /* 3-card fan (Events) */
  [data-pricing-deck="three"] .vr-pricing-card--tier-1.is-revealed {
    transform: rotate(-6deg) translateY(0) scale(1);
  }

  [data-pricing-deck="three"] .vr-pricing-card--tier-3.is-revealed {
    transform: rotate(6deg) translateY(0) scale(1);
  }

  [data-pricing-deck="three"] .vr-pricing-card--tier-1.is-revealed:hover {
    transform: rotate(-6deg) translateY(-0.25rem) scale(1.03);
  }

  [data-pricing-deck="three"] .vr-pricing-card--tier-3.is-revealed:hover {
    transform: rotate(6deg) translateY(-0.25rem) scale(1.03);
  }

  /* 2-card fan (Gotcha walk-in) */
  [data-pricing-deck="two"] .vr-pricing-card--tier-1.is-revealed {
    transform: rotate(-5deg) translateY(0) scale(1);
  }

  [data-pricing-deck="two"] .vr-pricing-card--tier-1.is-revealed:hover {
    transform: rotate(-5deg) translateY(-0.25rem) scale(1.03);
  }

  /* Featured center card (both decks) */
  .vr-pricing-card--featured.is-revealed {
    transform: rotate(0deg) translateY(-1.35rem) scale(1.06);
    z-index: 20;
  }

  .vr-pricing-card--featured.is-revealed:hover {
    transform: rotate(0deg) translateY(-1.5rem) scale(1.08);
  }
}

@media (max-width: 1023px) {
  .vr-pricing-card.is-revealed {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  .vr-pricing-card.is-revealed:hover {
    transform: translateY(0) scale(1.02) rotate(0deg);
  }

  .vr-pricing-card--featured {
    max-width: 19rem;
  }
}

.vr-pricing-card--featured {
  border: 2px solid var(--tv-mint);
  padding-top: 2rem;
}

.vr-pricing-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: var(--tv-mint);
  color: var(--text-absolute);
  border: 1px solid var(--border-quiet);
  white-space: nowrap;
  animation: vr-pricing-badge-float 2.2s ease-in-out infinite;
}

@keyframes vr-pricing-badge-float {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -4px);
  }
}

.vr-pricing-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--tv-mint);
}

.vr-pricing-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-absolute);
}

.vr-pricing-card__price {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--tv-mint);
  margin-top: auto;
  margin-bottom: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-quiet);
}

/* Event cards inside pricing deck — left-aligned copy */
.vr-pricing-card--event {
  align-items: flex-start;
  text-align: left;
  gap: 0.65rem;
  max-width: 19rem;
}

.vr-pricing-card--event .vr-event-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  transition: color 150ms ease;
}

.vr-pricing-card--event .vr-event-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 0.35rem;
}

.vr-pricing-card--event .vr-event-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--tv-mint);
  margin: 0;
}

.vr-pricing-card--event:hover .vr-event-title {
  color: var(--tv-mint);
}

.vr-pricing-card--event .vr-event-price {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--tv-mint);
  margin: 0;
  line-height: 1.1;
}

.vr-pricing-card--event .vr-event-features {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.vr-pricing-card--event .vr-event-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.vr-pricing-card--event .vr-event-features li + li {
  margin-top: 0.5rem;
}

.vr-pricing-card--event .vr-event-features svg {
  color: var(--tv-mint);
  margin-top: 2px;
}

.vr-pricing-card--event .vr-event-footnote {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0 0 0.35rem;
  width: 100%;
  line-height: 1.5;
}

.vr-pricing-card--event .btn-primary,
.vr-pricing-card--event .btn-ghost {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .vr-pricing-card {
    opacity: 1;
    transform: none;
    transition: border-color 0.2s ease;
  }

  .vr-pricing-card__badge {
    animation: none;
  }
}
