/* PRP Virtual Card — bright platinum share surface */

.prp-virtual-card-page .prp-topbar {
  display: none;
}

.prp-virtual-card-page .prp-banner {
  background: #f4f6f8;
  border-bottom: 1px solid rgba(40, 48, 58, 0.08);
  color: rgba(40, 48, 58, 0.72);
}

.prp-virtual-card-page .prp-banner a {
  color: #243040;
}

.prp-virtual-card-page #main {
  padding: 0;
  overflow: hidden;
}

.prp-vcard {
  --prp-vc-ink: #1c2430;
  --prp-vc-muted: rgba(40, 50, 62, 0.68);
  --prp-vc-line: rgba(50, 60, 72, 0.14);
  --prp-vc-metal: #6d7886;
  --prp-vc-bg0: #eef1f4;
  --prp-vc-bg1: #f7f8fa;
  --prp-vc-accent: #1a222c;
  position: relative;
  min-height: calc(100vh - 120px);
  color: var(--prp-vc-ink);
  background:
    radial-gradient(110% 70% at 50% -5%, rgba(255, 255, 255, 0.95), transparent 58%),
    linear-gradient(165deg, #ffffff 0%, var(--prp-vc-bg1) 42%, var(--prp-vc-bg0) 100%);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

.prp-vcard-atmosphere {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%),
    repeating-linear-gradient(
      90deg,
      rgba(120, 132, 148, 0.03) 0,
      rgba(120, 132, 148, 0.03) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.55;
  animation: prp-vc-sheen 9s ease-in-out infinite;
}

@keyframes prp-vc-sheen {
  0%,
  100% {
    transform: translateX(-2%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(2%);
    opacity: 0.65;
  }
}

.prp-vcard-stage {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.25rem 0 3.5rem;
  text-align: center;
}

.prp-vcard-brand {
  margin: 0;
  font-family: "IBM Plex Serif", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--prp-vc-accent);
  animation: prp-vc-rise 0.7s ease both;
}

.prp-vcard-headline {
  margin: 0.65rem 0 0;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--prp-vc-ink);
  animation: prp-vc-rise 0.7s ease 0.08s both;
}

.prp-vcard-support {
  margin: 0.55rem auto 0;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--prp-vc-muted);
  animation: prp-vc-rise 0.7s ease 0.14s both;
}

.prp-vcard-figure {
  margin: 1.75rem auto 0;
  width: min(100%, 520px);
  perspective: 900px;
  animation: prp-vc-rise 0.85s ease 0.2s both;
}

.prp-vcard-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow:
    0 24px 48px rgba(40, 50, 62, 0.14),
    0 0 0 1px rgba(40, 50, 62, 0.06);
  transform: rotateX(4deg) rotateY(-4deg);
  transition: transform 0.55s ease, box-shadow 0.55s ease;
  will-change: transform;
}

.prp-vcard-figure:hover .prp-vcard-image,
.prp-vcard-figure:focus-within .prp-vcard-image {
  transform: rotateX(0deg) rotateY(0deg) scale(1.01);
  box-shadow:
    0 28px 56px rgba(40, 50, 62, 0.18),
    0 0 0 1px rgba(40, 50, 62, 0.08);
}

.prp-vcard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.75rem;
  animation: prp-vc-rise 0.7s ease 0.28s both;
}

.prp-vcard-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--prp-vc-line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--prp-vc-ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.prp-vcard-btn:hover,
.prp-vcard-btn:focus-visible {
  background: #fff;
  border-color: rgba(40, 50, 62, 0.28);
  outline: none;
}

.prp-vcard-btn:active {
  transform: translateY(1px);
}

.prp-vcard-btn-primary {
  background: linear-gradient(180deg, #2a3340 0%, #1a222c 100%);
  color: #f4f6f8;
  border-color: transparent;
  font-weight: 600;
}

.prp-vcard-btn-primary:hover,
.prp-vcard-btn-primary:focus-visible {
  background: linear-gradient(180deg, #3a4554 0%, #243040 100%);
  color: #fff;
}

.prp-vcard-status {
  min-height: 1.25rem;
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--prp-vc-metal);
}

.prp-vcard-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--prp-vc-muted);
  animation: prp-vc-rise 0.7s ease 0.34s both;
}

.prp-vcard-meta a {
  color: var(--prp-vc-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.prp-vcard-meta a:hover,
.prp-vcard-meta a:focus-visible {
  border-bottom-color: rgba(26, 34, 44, 0.4);
  outline: none;
}

.prp-vcard-disclaimer {
  margin: 1.35rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(80, 90, 102, 0.55);
}

@keyframes prp-vc-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .prp-vcard-stage {
    padding-top: 1.5rem;
  }

  .prp-vcard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .prp-vcard-btn-primary {
    grid-column: 1 / -1;
  }

  .prp-vcard-image {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prp-vcard-atmosphere,
  .prp-vcard-brand,
  .prp-vcard-headline,
  .prp-vcard-support,
  .prp-vcard-figure,
  .prp-vcard-actions,
  .prp-vcard-meta {
    animation: none;
  }

  .prp-vcard-image {
    transition: none;
    transform: none;
  }
}

.prp-vcard-homescreen {
  margin: 1.75rem auto 0;
  max-width: 28rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(50, 60, 72, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  animation: prp-vc-rise 0.7s ease 0.38s both;
}

.prp-vcard-homescreen-title {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--prp-vc-ink);
}

.prp-vcard-homescreen p:not(.prp-vcard-homescreen-title) {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--prp-vc-muted);
}

.prp-vcard-homescreen p + p {
  margin-top: 0.55rem;
}

.prp-vcard-homescreen strong {
  color: var(--prp-vc-ink);
  font-weight: 600;
}
