/* POP 8 — 3D POP card lab */

.pop3d-lab {
  --pop3d-bg: #050505;
  --pop3d-card: #101010;
  --pop3d-card-edge: #1c1c1c;
  --pop3d-card-highlight: rgba(255, 255, 255, 0.14);
  --pop3d-card-width: 280px;
  --pop3d-card-height: 430px;
  --pop3d-depth: 14px;
  --pop3d-radius: 22px;
  --pop3d-mono: "SF Mono", "Roboto Mono", "Consolas", monospace;
  background: var(--pop3d-bg);
  color: var(--white);
}

.pop3d-lab .test-main-lab {
  max-width: min(1320px, 100%);
}

.pop3d-lab .test-intro p {
  color: rgba(248, 246, 246, 0.62);
}

.pop3d-lab .test-intro h2 {
  color: var(--white);
}

/* Dark stages */
.pop3d-stage {
  position: relative;
  margin-bottom: 32px;
  padding: 48px 20px 56px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(248, 88, 18, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 80% 60%, rgba(255, 184, 31, 0.05) 0%, transparent 36%),
    var(--pop3d-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pop3d-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 0.6px, transparent 0.6px);
  background-size: 48px 48px;
  opacity: 0.08;
  pointer-events: none;
}

.pop3d-stage-label {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  font-family: var(--pop3d-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.pop3d-stage-label::before {
  content: "→ ";
  color: var(--yellow);
}

.pop3d-stage--grid {
  padding-top: 36px;
}

/* Featured variant grid */
.pop3d-variants {
  margin-bottom: 32px;
}

.pop3d-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pop3d-variant-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  margin-bottom: 0;
}

.pop3d-variant-panel__head {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  margin-bottom: 8px;
}

.pop3d-variant-panel__blurb {
  margin: -18px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.pop3d-variant-panel .pop3d-item {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pop3d-variant-panel .pop3d-scene--hero {
  --pop3d-card-width: 260px;
  --pop3d-card-height: 400px;
}

/* Stage backgrounds — six distinct POP 8 palettes */
.pop3d-stage--purple-pass {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 184, 31, 0.18) 0%, transparent 38%),
    radial-gradient(circle at 82% 78%, rgba(40, 23, 52, 0.9) 0%, transparent 48%),
    #110514;
}

.pop3d-stage--cream-spread {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 184, 31, 0.22) 0%, transparent 40%),
    linear-gradient(180deg, #fffdf8 0%, #f8f6f6 55%, #ece8e4 100%);
  border-color: rgba(40, 23, 52, 0.08);
}

.pop3d-stage--cream-spread::before {
  opacity: 0.04;
  background-image: radial-gradient(rgba(40, 23, 52, 0.35) 0.6px, transparent 0.6px);
}

.pop3d-stage--cream-spread .pop3d-stage-label {
  color: rgba(40, 23, 52, 0.72);
}

.pop3d-stage--cream-spread .pop3d-variant-panel__blurb {
  color: rgba(40, 23, 52, 0.55);
}

.pop3d-stage--cream-spread .pop3d-card__hint {
  color: rgba(40, 23, 52, 0.38);
}

.pop3d-stage--ember-glow {
  background:
    radial-gradient(circle at 50% 110%, rgba(248, 87, 18, 0.55) 0%, transparent 52%),
    radial-gradient(circle at 20% 0%, rgba(178, 34, 21, 0.35) 0%, transparent 42%),
    #120806;
}

.pop3d-stage--glass-hero {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255, 184, 31, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(248, 87, 18, 0.12) 0%, transparent 40%),
    linear-gradient(165deg, #281734 0%, #1a1022 100%);
}

.pop3d-stage--signal-green {
  background:
    radial-gradient(circle at 70% 20%, rgba(107, 177, 18, 0.22) 0%, transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(255, 184, 31, 0.08) 0%, transparent 36%),
    #0a1208;
}

.pop3d-stage--gold-edition {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 184, 31, 0.2) 0%, transparent 44%),
    radial-gradient(circle at 80% 100%, rgba(178, 34, 21, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, #3a1812 0%, #1a0c0a 100%);
}

.pop3d-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 28px 22px;
  justify-items: center;
}

/* 3D scene */
.pop3d-scene {
  --rx: 8deg;
  --ry: -12deg;
  --lift: 0px;

  width: var(--pop3d-card-width);
  height: calc(var(--pop3d-card-height) + 40px);
  perspective: 1200px;
  touch-action: none;
}

.pop3d-scene--hero {
  --rx: 10deg;
  --ry: -16deg;
  width: min(100%, 320px);
  --pop3d-card-width: 300px;
  --pop3d-card-height: 460px;
}

.pop3d-card {
  position: relative;
  width: var(--pop3d-card-width);
  height: var(--pop3d-card-height);
  margin: 0 auto;
  transform-style: preserve-3d;
  transform:
    translateY(var(--lift))
    rotateX(var(--rx))
    rotateY(var(--ry));
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.pop3d-scene:not(.is-active) .pop3d-card {
  animation: pop3d-float 6s ease-in-out infinite;
}

.pop3d-scene--hero .pop3d-card {
  animation-duration: 7s;
}

@keyframes pop3d-float {
  0%, 100% { transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry)); }
  50% { transform: translateY(calc(var(--lift) - 10px)) rotateX(calc(var(--rx) - 2deg)) rotateY(var(--ry)); }
}

.pop3d-card__stack {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.pop3d-card__layer {
  position: absolute;
  border-radius: var(--pop3d-radius);
  transform-style: preserve-3d;
  pointer-events: none;
}

.pop3d-card__layer--depth-3 {
  background: #070707;
  transform: translateZ(calc(var(--pop3d-depth) * -1));
  filter: blur(1px);
  opacity: 0.55;
}

.pop3d-card__layer--depth-2 {
  background: #0b0b0b;
  transform: translateZ(calc(var(--pop3d-depth) * -0.66));
}

.pop3d-card__layer--depth-1 {
  background: var(--pop3d-card-edge);
  transform: translateZ(calc(var(--pop3d-depth) * -0.33));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.pop3d-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
  border-radius: var(--pop3d-radius);
  backface-visibility: hidden;
  overflow: hidden;
}

.pop3d-card__face--front {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, transparent 28%),
    linear-gradient(180deg, #161616 0%, var(--pop3d-card) 42%, #0a0a0a 100%);
  border: 1px solid var(--pop3d-card-highlight);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.55);
  transform: translateZ(0);
}

.pop3d-card__layer--depth-3,
.pop3d-card__layer--depth-2,
.pop3d-card__layer--depth-1 {
  inset: 0;
}

.pop3d-card__face--front > :not(.pop3d-card__layer) {
  position: relative;
  z-index: 1;
}

.pop3d-card__face--back {
  transform: rotateY(180deg) translateZ(1px);
  background:
    linear-gradient(180deg, #121212 0%, #080808 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pop3d-card.is-flipped .pop3d-card__stack {
  transform: rotateY(180deg);
}

.pop3d-card__stack {
  transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.pop3d-card__hole {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 54px;
  height: 10px;
  border-radius: 999px;
  background: #050505;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateX(-50%);
}

.pop3d-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-family: var(--pop3d-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.pop3d-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.pop3d-card__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--white);
}

.pop3d-scene:not(.pop3d-scene--hero) .pop3d-card__title {
  font-size: 22px;
}

.pop3d-card__mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  position: relative;
}

.pop3d-card__mark::before,
.pop3d-card__mark::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
}

.pop3d-card__mark::before {
  inset: 7px 7px auto;
  height: 2px;
}

.pop3d-card__mark::after {
  inset: auto 7px 7px;
  height: 2px;
}

/* POP 8 branded marks */
.pop3d-card__logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 6px 8px;
  border-radius: 8px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--dark-purple);
  background: var(--yellow);
}

.pop3d-card__logo span {
  color: var(--warm-orange);
}

.pop3d-card__chapter {
  flex-shrink: 0;
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: rgba(40, 23, 52, 0.12);
}

.pop3d-card__chip {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 6px;
  border: 1px solid rgba(107, 177, 18, 0.45);
  background: rgba(107, 177, 18, 0.08);
}

.pop3d-card__chip span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: rgba(107, 177, 18, 0.85);
}

.pop3d-card__chip span:nth-child(2) {
  width: 16px;
  opacity: 0.7;
}

.pop3d-card__chip span:nth-child(3) {
  width: 10px;
  opacity: 0.45;
}

.pop3d-card__watermark {
  position: absolute;
  right: 12px;
  bottom: 88px;
  z-index: 0;
  font-family: var(--font-title);
  font-size: 120px;
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: rgba(255, 184, 31, 0.07);
  pointer-events: none;
}

.pop3d-card__shine {
  position: absolute;
  inset: -40% -20%;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.14) 48%,
    transparent 58%
  );
  transform: rotate(8deg);
  pointer-events: none;
}

.pop3d-card__ember-ring {
  position: absolute;
  inset: 8px;
  z-index: 0;
  border-radius: calc(var(--pop3d-radius) - 8px);
  border: 1px solid rgba(248, 87, 18, 0.35);
  box-shadow:
    inset 0 0 40px rgba(248, 87, 18, 0.12),
    0 0 24px rgba(178, 34, 21, 0.2);
  pointer-events: none;
}

.pop3d-card__dots--none {
  display: none;
}

.pop3d-card__dots--ember {
  background-image: radial-gradient(circle, rgba(255, 184, 31, 0.55) 1.1px, transparent 1.2px);
}

.pop3d-card__dots--ember::after {
  background:
    radial-gradient(circle at 78% 38%, rgba(248, 87, 18, 0.75) 0%, transparent 34%),
    radial-gradient(circle at 66% 62%, rgba(178, 34, 21, 0.55) 0%, transparent 30%);
}

.pop3d-card__dots--signal {
  background-image: radial-gradient(circle, rgba(107, 177, 18, 0.5) 1.1px, transparent 1.2px);
}

.pop3d-card__dots--signal::after {
  background:
    radial-gradient(circle at 72% 40%, rgba(107, 177, 18, 0.45) 0%, transparent 36%),
    radial-gradient(circle at 58% 68%, rgba(255, 184, 31, 0.25) 0%, transparent 32%);
}

.pop3d-card__dots--gold {
  background-image: radial-gradient(circle, rgba(255, 184, 31, 0.45) 1.2px, transparent 1.3px);
  background-size: 9px 9px;
}

.pop3d-card__dots--gold::after {
  background: radial-gradient(circle at 70% 45%, rgba(255, 184, 31, 0.35) 0%, transparent 40%);
}

.pop3d-card__media {
  position: relative;
  flex: 1;
  min-height: 180px;
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
  background: #050505;
}

.pop3d-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
}

.pop3d-card__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.42) 1.1px, transparent 1.2px);
  background-size: 7px 7px;
  mask-image: radial-gradient(circle at 72% 42%, #000 0%, transparent 68%);
}

.pop3d-card__dots::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 38%, rgba(248, 87, 18, 0.55) 0%, transparent 34%),
    radial-gradient(circle at 66% 62%, rgba(178, 34, 21, 0.35) 0%, transparent 30%);
  mix-blend-mode: screen;
}

.pop3d-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.pop3d-card__barcode {
  width: 92px;
  height: 34px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92) 0 2px,
      transparent 2px 4px,
      rgba(255, 255, 255, 0.92) 4px 5px,
      transparent 5px 8px,
      rgba(255, 255, 255, 0.92) 8px 10px,
      transparent 10px 12px,
      rgba(255, 255, 255, 0.92) 12px 14px,
      transparent 14px 17px,
      rgba(255, 255, 255, 0.92) 17px 18px,
      transparent 18px 22px
    );
  opacity: 0.9;
}

.pop3d-card__serial {
  font-family: var(--pop3d-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
  text-align: right;
}

.pop3d-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-left: auto;
  font-family: var(--pop3d-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.pop3d-card__verified-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39d353;
  box-shadow: 0 0 10px rgba(57, 211, 83, 0.75);
}

.pop3d-card__back-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 36px;
}

.pop3d-card__back-num {
  font-family: var(--font-title);
  font-size: 72px;
  font-weight: 800;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.06);
}

.pop3d-card__back-label {
  margin-top: 8px;
  font-family: var(--pop3d-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

.pop3d-card__back-title {
  margin: 10px 0 0;
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
}

.pop3d-card__back-rule {
  margin-top: auto;
  padding-top: 24px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.pop3d-card__back-rule strong {
  color: var(--warm-orange);
  font-weight: 600;
}

.pop3d-card__hint {
  margin-top: 14px;
  font-family: var(--pop3d-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
}

.pop3d-spec {
  margin-top: 8px;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(248, 246, 246, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.pop3d-spec ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

/* Variant A — Purple Pass */
.pop3d-card--purple-pass .pop3d-card__face--front {
  background:
    linear-gradient(145deg, rgba(255, 184, 31, 0.1) 0%, transparent 32%),
    linear-gradient(180deg, #2a1838 0%, #1d0f28 48%, #110514 100%);
  border-color: rgba(255, 184, 31, 0.28);
}

.pop3d-card--purple-pass .pop3d-card__layer--depth-1 { background: #241230; }
.pop3d-card--purple-pass .pop3d-card__layer--depth-2 { background: #18101f; }
.pop3d-card--purple-pass .pop3d-card__meta { color: rgba(255, 184, 31, 0.85); }
.pop3d-card--purple-pass .pop3d-card__title { color: var(--white); }
.pop3d-card--purple-pass .pop3d-card__hole {
  background: #110514;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 184, 31, 0.2);
}
.pop3d-card--purple-pass .pop3d-card__face--back {
  background: linear-gradient(180deg, #1d0f28 0%, #110514 100%);
  border-color: rgba(255, 184, 31, 0.2);
}

/* Variant B — Cream Spread (light card) */
.pop3d-card--cream-spread {
  --pop3d-card: #fffdf8;
  --pop3d-card-edge: #ece8e4;
  --pop3d-card-highlight: rgba(40, 23, 52, 0.12);
}

.pop3d-card--cream-spread .pop3d-card__layer--depth-3 { background: #d8d2cc; opacity: 0.4; }
.pop3d-card--cream-spread .pop3d-card__layer--depth-2 { background: #e8e4df; }
.pop3d-card--cream-spread .pop3d-card__layer--depth-1 { background: #f0ece8; }

.pop3d-card--cream-spread .pop3d-card__face--front {
  background:
    linear-gradient(180deg, #fffdf8 0%, #f8f6f6 100%);
  border-color: rgba(40, 23, 52, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 50px rgba(40, 23, 52, 0.12);
}

.pop3d-card--cream-spread .pop3d-card__hole {
  background: #ece8e4;
  box-shadow: inset 0 2px 3px rgba(40, 23, 52, 0.15);
}

.pop3d-card--cream-spread .pop3d-card__meta,
.pop3d-card--cream-spread .pop3d-card__serial,
.pop3d-card--cream-spread .pop3d-card__verified {
  color: rgba(40, 23, 52, 0.55);
}

.pop3d-card--cream-spread .pop3d-card__title {
  color: var(--dark-purple);
  font-size: 26px;
}

.pop3d-card--cream-spread .pop3d-card__media {
  border: 1px solid rgba(40, 23, 52, 0.08);
  background: #f0ece8;
}

.pop3d-card--cream-spread .pop3d-card__media img {
  opacity: 1;
  object-fit: contain;
  padding: 8px;
}

.pop3d-card--cream-spread .pop3d-card__barcode {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(40, 23, 52, 0.75) 0 2px,
      transparent 2px 4px,
      rgba(40, 23, 52, 0.75) 4px 5px,
      transparent 5px 8px,
      rgba(40, 23, 52, 0.75) 8px 10px,
      transparent 10px 12px,
      rgba(40, 23, 52, 0.75) 12px 14px,
      transparent 14px 17px,
      rgba(40, 23, 52, 0.75) 17px 18px,
      transparent 18px 22px
    );
}

.pop3d-card--cream-spread .pop3d-card__verified-dot {
  background: var(--warm-orange);
  box-shadow: 0 0 8px rgba(248, 87, 18, 0.5);
}

.pop3d-card--cream-spread .pop3d-card__face--back {
  background: linear-gradient(180deg, #fffdf8 0%, #f8f6f6 100%);
  border-color: rgba(40, 23, 52, 0.1);
}

.pop3d-card--cream-spread .pop3d-card__back-num {
  color: rgba(40, 23, 52, 0.08);
}

.pop3d-card--cream-spread .pop3d-card__back-title {
  color: var(--dark-purple);
}

.pop3d-card--cream-spread .pop3d-card__back-rule {
  color: rgba(40, 23, 52, 0.65);
}

/* Variant C — Ember Glow */
.pop3d-card--ember-glow .pop3d-card__face--front {
  background:
    linear-gradient(160deg, rgba(248, 87, 18, 0.18) 0%, transparent 36%),
    linear-gradient(180deg, #1a100e 0%, #0e0806 100%);
  border: 1px solid rgba(248, 87, 18, 0.45);
  box-shadow:
    inset 0 0 30px rgba(248, 87, 18, 0.08),
    0 28px 60px rgba(178, 34, 21, 0.35);
}

.pop3d-card--ember-glow .pop3d-card__layer--depth-1 { background: #1a0f0c; }
.pop3d-card--ember-glow .pop3d-card__layer--depth-2 { background: #120a08; }
.pop3d-card--ember-glow .pop3d-card__meta { color: var(--warm-orange); }
.pop3d-card--ember-glow .pop3d-card__title {
  background: linear-gradient(90deg, var(--white) 0%, rgba(255, 184, 31, 0.95) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pop3d-card--ember-glow .pop3d-card__verified-dot {
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(255, 184, 31, 0.8);
}
.pop3d-card--ember-glow .pop3d-card__face--back {
  background: linear-gradient(180deg, #1a0f0c 0%, #0a0605 100%);
  border-color: rgba(248, 87, 18, 0.3);
}

/* Variant D — Glass Hero */
.pop3d-card--glass-hero .pop3d-card__face--front {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 40%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 30px 80px rgba(0, 0, 0, 0.45);
}

.pop3d-card--glass-hero .pop3d-card__layer--depth-1,
.pop3d-card--glass-hero .pop3d-card__layer--depth-2,
.pop3d-card--glass-hero .pop3d-card__layer--depth-3 {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.pop3d-card--glass-hero .pop3d-card__meta { color: rgba(255, 184, 31, 0.9); }
.pop3d-card--glass-hero .pop3d-card__media {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
}
.pop3d-card--glass-hero .pop3d-card__face--back {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Variant E — Signal Green */
.pop3d-card--signal-green .pop3d-card__face--front {
  background:
    linear-gradient(180deg, rgba(107, 177, 18, 0.12) 0%, transparent 28%),
    linear-gradient(180deg, #121a0e 0%, #080c06 100%);
  border: 1px solid rgba(107, 177, 18, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.pop3d-card--signal-green .pop3d-card__layer--depth-1 { background: #0f160a; }
.pop3d-card--signal-green .pop3d-card__meta { color: rgba(107, 177, 18, 0.9); }
.pop3d-card--signal-green .pop3d-card__title { font-size: 24px; }
.pop3d-card--signal-green .pop3d-card__hole {
  border-radius: 4px;
  width: 48px;
  height: 8px;
  background: #060a04;
  box-shadow: 0 0 0 1px rgba(107, 177, 18, 0.4);
}
.pop3d-card--signal-green .pop3d-card__verified-dot {
  background: #6bb112;
  box-shadow: 0 0 14px rgba(107, 177, 18, 0.85);
  animation: pop3d-pulse 2.4s ease-in-out infinite;
}

@keyframes pop3d-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.92); }
}

.pop3d-card--signal-green .pop3d-card__face--back {
  background: linear-gradient(180deg, #101808 0%, #060a04 100%);
  border-color: rgba(107, 177, 18, 0.25);
}

.pop3d-card--signal-green .pop3d-card__back-label {
  color: #6bb112;
}

/* Variant F — Gold Edition */
.pop3d-card--gold-edition .pop3d-card__face--front {
  background:
    linear-gradient(145deg, rgba(255, 184, 31, 0.12) 0%, transparent 30%),
    linear-gradient(180deg, #221410 0%, #100806 100%);
  border: 1px solid rgba(255, 184, 31, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 184, 31, 0.15),
    0 28px 70px rgba(0, 0, 0, 0.55);
}

.pop3d-card--gold-edition .pop3d-card__meta { color: rgba(255, 184, 31, 0.75); }
.pop3d-card--gold-edition .pop3d-card__title {
  color: var(--yellow);
  text-shadow: 0 0 24px rgba(255, 184, 31, 0.25);
}
.pop3d-card--gold-edition .pop3d-card__logo {
  background: transparent;
  border: 1px solid rgba(255, 184, 31, 0.55);
  color: var(--yellow);
}
.pop3d-card--gold-edition .pop3d-card__logo span {
  color: var(--warm-orange);
}
.pop3d-card--gold-edition .pop3d-card__barcode {
  opacity: 0.55;
  filter: sepia(1) saturate(2) hue-rotate(5deg);
}
.pop3d-card--gold-edition .pop3d-card__face--back {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 184, 31, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #1a0e0a 0%, #080404 100%);
  border-color: rgba(255, 184, 31, 0.22);
}

.pop3d-card--gold-edition .pop3d-card__back-num {
  color: rgba(255, 184, 31, 0.1);
}

@media (max-width: 1024px) {
  .pop3d-variant-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .pop3d-variant-panel {
    min-height: 480px;
  }

  .pop3d-variant-panel .pop3d-scene--hero {
    --pop3d-card-width: 240px;
    --pop3d-card-height: 370px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pop3d-scene:not(.is-active) .pop3d-card {
    animation: none;
  }

  .pop3d-card,
  .pop3d-card__stack {
    transition: none;
  }

  .pop3d-card--signal-green .pop3d-card__verified-dot {
    animation: none;
  }
}
