/* Virtual Card embed — Claude + Golden design language (wallet-card.html) */
/* MB · GC · PC platform currency face — not bank cash */

.um-vc-embed {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(201, 168, 76, 0.32);
  background:
    radial-gradient(ellipse 80% 60% at 8% 0%, rgba(201, 168, 76, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(123, 47, 255, 0.08), transparent 50%),
    linear-gradient(165deg, rgba(14, 10, 24, 0.98), rgba(6, 4, 12, 0.99));
  margin: 22px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
@media (max-width: 780px) {
  .um-vc-embed {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

/* Compact mode — homepage / tight columns */
.um-vc-embed--compact {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.um-vc-embed--compact .um-vc-embed__copy {
  text-align: center;
}
.um-vc-embed--compact .um-vc-embed__actions {
  justify-content: center;
}

/* ── Plastic card face ─────────────────────────────────────────────────── */
.um-vc-embed__plastic {
  aspect-ratio: 1.586 / 1;
  border-radius: 16px;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #060409;
  border: 1px solid rgba(201, 168, 76, 0.28);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(201, 168, 76, 0.12),
    inset 0 1px 0 rgba(201, 168, 76, 0.1);
  color: #f0ead6;
}

.um-vc-embed__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 15% 30%, rgba(201, 168, 76, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 65% 65% at 85% 75%, rgba(123, 47, 255, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 50% 80% at 55% 5%, rgba(106, 160, 255, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #0e0918 0%, #060409 45%, #0b0613 100%);
  pointer-events: none;
}

.um-vc-embed__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(201, 168, 76, 0.016) 3px,
    rgba(201, 168, 76, 0.016) 4px
  );
  pointer-events: none;
}

.um-vc-embed__edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 168, 76, 0.85) 30%,
    #ffd966 50%,
    rgba(201, 168, 76, 0.85) 70%,
    transparent
  );
  opacity: 0.75;
}

.um-vc-embed__face {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.um-vc-embed__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.um-vc-embed__eyebrow {
  font-family: Cinzel, Georgia, serif;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.7);
  line-height: 1;
}

.um-vc-embed__brand {
  font-family: Cinzel, Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 3px;
  background: linear-gradient(90deg, #c9a84c, #ffd966, #e8c96a, #ffd966, #c9a84c);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.um-vc-embed__chip {
  width: 33px;
  height: 26px;
  flex-shrink: 0;
}

.um-vc-embed__tier-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.um-vc-embed__tier {
  font-family: Cinzel, Georgia, serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: linear-gradient(135deg, #c9a84c, #ffd966, #c9a84c);
  color: #0a0612;
  padding: 2px 10px;
  border-radius: 30px;
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}

.um-vc-embed__tag {
  font-size: 7.5px;
  color: rgba(201, 168, 76, 0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* MB / GC / PC balance strip */
.um-vc-embed__bals {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 9px;
  padding: 7px 8px;
  backdrop-filter: blur(6px);
}

.um-vc-embed__bal {
  flex: 1;
  text-align: center;
}

.um-vc-embed__v {
  font-family: Rajdhani, system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #f0ead6;
  line-height: 1;
}

.um-vc-embed__l {
  font-size: 6.5px;
  letter-spacing: 0.08em;
  color: rgba(201, 168, 76, 0.55);
  text-transform: uppercase;
  margin-top: 2px;
}

.um-vc-embed__sep {
  width: 1px;
  height: 24px;
  background: rgba(201, 168, 76, 0.12);
  flex-shrink: 0;
}

.um-vc-embed__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.um-vc-embed__name {
  font-family: Rajdhani, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 234, 214, 0.8);
}

.um-vc-embed__email {
  font-size: 7px;
  color: rgba(201, 168, 76, 0.4);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

.um-vc-embed__qr-mini {
  width: 38px;
  height: 38px;
  border-radius: 5px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  color: #333;
  flex-shrink: 0;
  overflow: hidden;
}
.um-vc-embed__qr-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Copy column ───────────────────────────────────────────────────────── */
.um-vc-embed__copy h3 {
  margin: 0 0 8px;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.2rem;
  color: #f0ead6;
  letter-spacing: 0.04em;
}

.um-vc-embed__copy p {
  margin: 0 0 10px;
  color: #8a7a5a;
  font-size: 0.9rem;
  line-height: 1.55;
}

.um-vc-embed__coins {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.um-vc-embed__coin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  background: rgba(0, 0, 0, 0.25);
  font-size: 11px;
  color: #e8c96a;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.um-vc-embed__coin span {
  color: #8a7a5a;
  font-weight: 500;
}

.um-vc-embed__hint {
  font-size: 0.8rem !important;
  color: #a89b82 !important;
}

.um-vc-embed__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.um-vc-embed__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: #e8c96a;
  text-decoration: none;
  font: 700 0.78rem/1 Rajdhani, system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: filter 0.15s ease;
}

.um-vc-embed__btn--gold {
  background: linear-gradient(135deg, #c9a84c, #e8c96a);
  color: #1a1200 !important;
  border: none;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.25);
}

.um-vc-embed__btn:hover {
  filter: brightness(1.08);
}

.um-vc-embed__fine {
  margin-top: 12px !important;
  font-size: 0.72rem !important;
  color: #5a5040 !important;
  line-height: 1.4 !important;
}
