:root {
  --vc-ink: #0c0705;
  --vc-deep: #180c07;
  --vc-cocoa: #3b1c0f;
  --vc-caramel: #b96725;
  --vc-gold: #f0b44d;
  --vc-honey: #ffd67a;
  --vc-cream: #fff7e8;
  --vc-muted: #d8c6ae;
  --vc-line: rgba(255, 218, 147, 0.2);
  --vc-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body.virtual-card-page {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--vc-cream);
  background:
    radial-gradient(circle at 18% 6%, rgba(240, 180, 77, 0.16), transparent 26rem),
    radial-gradient(circle at 86% 38%, rgba(185, 103, 37, 0.15), transparent 28rem),
    linear-gradient(145deg, #070403 0%, #140a06 48%, #080403 100%);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.ambient-glow {
  position: fixed;
  z-index: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.11;
  pointer-events: none;
}

.ambient-glow--one {
  top: -10rem;
  right: -8rem;
  background: var(--vc-gold);
}

.ambient-glow--two {
  bottom: 2rem;
  left: -12rem;
  background: #9f321f;
}

.vc-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 20px calc(40px + env(safe-area-inset-bottom));
}

.vc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: env(safe-area-inset-top);
}

.vc-back,
.vc-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--vc-line);
  border-radius: 999px;
  color: var(--vc-muted);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.vc-back:hover,
.vc-share:hover {
  color: var(--vc-cream);
  border-color: rgba(255, 214, 122, 0.5);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.vc-stage {
  position: relative;
  padding-top: 12px;
}

.sugar-field {
  position: absolute;
  inset: -28px 0 auto;
  height: 220px;
  pointer-events: none;
}

.sugar-field i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--vc-honey);
  box-shadow: 0 0 10px rgba(255, 214, 122, 0.7);
  opacity: 0.55;
}

.sugar-field i:nth-child(1) { top: 12%; left: 6%; }
.sugar-field i:nth-child(2) { top: 38%; left: 1%; width: 2px; height: 2px; }
.sugar-field i:nth-child(3) { top: 4%; right: 16%; width: 3px; height: 3px; }
.sugar-field i:nth-child(4) { top: 52%; right: 2%; }
.sugar-field i:nth-child(5) { top: 74%; left: 4%; width: 2px; height: 2px; }
.sugar-field i:nth-child(6) { top: 26%; right: 5%; width: 2px; height: 2px; }
.sugar-field i:nth-child(7) { top: 8%; left: 24%; width: 2px; height: 2px; }
.sugar-field i:nth-child(8) { top: 80%; right: 8%; width: 3px; height: 3px; }

.vc-card {
  --shine-x: 50%;
  --shine-y: 30%;
  position: relative;
  overflow: hidden;
  min-height: 650px;
  border: 1px solid rgba(255, 221, 154, 0.38);
  border-radius: 34px;
  background: var(--vc-deep);
  box-shadow: var(--vc-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  will-change: transform;
}

.vc-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 33px;
  pointer-events: none;
}

.vc-card__shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255, 239, 198, 0.24), transparent 30%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.vc-card:hover .vc-card__shine {
  opacity: 1;
}

.vc-card__media {
  position: absolute;
  inset: 0;
}

.vc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  filter: saturate(0.82) contrast(1.08) brightness(0.72);
  transform: scale(1.035);
}

.vc-card__media-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 4, 2, 0.12) 0%, rgba(10, 5, 3, 0.62) 38%, #100806 72%, #100806 100%),
    linear-gradient(120deg, rgba(240, 180, 77, 0.14), transparent 42%);
}

.vc-card__content {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 650px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 38px 28px 30px;
  text-align: center;
  transform: translateZ(28px);
}

.vc-brand-mark {
  position: relative;
  display: grid;
  width: 116px;
  height: 116px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(255, 221, 154, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 236, 0.98) 0 61%, rgba(246, 179, 67, 0.9) 62% 64%, rgba(31, 12, 5, 0.92) 65%);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), 0 0 30px rgba(240, 180, 77, 0.13);
}

.vc-brand-mark img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 50%;
}

.vc-brand-mark__ring {
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(255, 214, 122, 0.42);
  border-radius: 50%;
}

.vc-eyebrow {
  margin: 0 0 8px;
  color: var(--vc-honey);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.vc-card h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 11vw, 3.65rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.vc-tagline {
  margin: 15px 0 18px;
  color: var(--vc-muted);
  font-size: clamp(1rem, 4vw, 1.15rem);
  line-height: 1.45;
}

.vc-tagline em {
  color: var(--vc-cream);
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
}

.vc-languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}

.vc-languages span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #eadcc9;
  background: rgba(0, 0, 0, 0.24);
  font-size: 0.68rem;
  font-weight: 600;
}

.vc-primary-actions {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vc-primary-action {
  display: flex;
  min-width: 0;
  min-height: 70px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 218, 147, 0.18);
  border-radius: 18px;
  background: rgba(15, 7, 4, 0.66);
  text-align: left;
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.vc-primary-action:hover {
  border-color: rgba(255, 214, 122, 0.5);
  background: rgba(45, 22, 12, 0.82);
  transform: translateY(-3px);
}

.vc-action-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 14px;
  color: #1a0d06;
  background: linear-gradient(145deg, var(--vc-honey), var(--vc-caramel));
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(185, 103, 37, 0.22);
}

.vc-primary-action strong,
.vc-primary-action small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vc-primary-action strong {
  font-size: 0.86rem;
}

.vc-primary-action small {
  margin-top: 3px;
  color: var(--vc-muted);
  font-size: 0.66rem;
}

.vc-save-contact {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 18px;
  border-radius: 16px;
  color: #1a0d06;
  background: linear-gradient(135deg, var(--vc-honey), #dc8e35);
  box-shadow: 0 12px 28px rgba(185, 103, 37, 0.23);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: filter 180ms ease, transform 180ms ease;
}

.vc-save-contact:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.vc-save-contact span:last-child {
  font-size: 1.35rem;
  font-weight: 400;
}

.vc-intro {
  max-width: 420px;
  margin: 34px auto 24px;
  color: var(--vc-muted);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}

.vc-links {
  display: grid;
  gap: 11px;
}

.vc-link {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 84px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  overflow: hidden;
  border: 1px solid var(--vc-line);
  border-radius: 22px;
  color: var(--vc-cream);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(15px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.vc-link::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -80%;
  width: 55%;
  background: linear-gradient(90deg, transparent, rgba(255, 238, 196, 0.11), transparent);
  transform: skewX(-18deg);
  transition: left 480ms ease;
  pointer-events: none;
}

.vc-link:hover {
  border-color: rgba(255, 214, 122, 0.46);
  background: linear-gradient(135deg, rgba(255, 214, 122, 0.095), rgba(255, 255, 255, 0.03));
  transform: translateY(-3px);
}

.vc-link:hover::after {
  left: 130%;
}

.vc-link--featured {
  border-color: rgba(255, 214, 122, 0.38);
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 214, 122, 0.17), transparent 30%),
    linear-gradient(135deg, rgba(185, 103, 37, 0.24), rgba(255, 255, 255, 0.035));
}

.vc-link__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 214, 122, 0.2);
  border-radius: 17px;
  background: rgba(255, 214, 122, 0.08);
}

.vc-link__icon img {
  width: 26px;
  height: 26px;
}

.vc-link__icon--text {
  color: var(--vc-honey);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 800;
}

.vc-link__copy {
  min-width: 0;
}

.vc-link__copy small,
.vc-link__copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vc-link__copy small {
  margin-bottom: 3px;
  color: var(--vc-muted);
  font-size: 0.68rem;
}

.vc-link__copy strong {
  font-size: 0.96rem;
}

.vc-link__arrow {
  color: var(--vc-honey);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.vc-footer {
  display: grid;
  justify-items: center;
  padding: 42px 0 8px;
  color: rgba(216, 198, 174, 0.72);
  text-align: center;
}

.vc-footer img {
  width: 152px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(240, 180, 77, 0.13));
}

.vc-footer p {
  margin: 2px 0 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.vc-toast {
  position: fixed;
  z-index: 20;
  right: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  min-width: 180px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 214, 122, 0.34);
  border-radius: 999px;
  color: var(--vc-cream);
  background: rgba(19, 9, 5, 0.94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(50%, 18px);
  font-size: 0.78rem;
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--vc-honey);
  outline-offset: 4px;
}

@media (min-width: 700px) {
  .vc-shell {
    padding-right: 28px;
    padding-left: 28px;
  }

  .vc-card {
    min-height: 700px;
  }

  .vc-card__content {
    min-height: 700px;
    padding-right: 52px;
    padding-left: 52px;
  }
}

@media (max-width: 380px) {
  .vc-shell {
    padding-right: 14px;
    padding-left: 14px;
  }

  .vc-card {
    min-height: 625px;
    border-radius: 28px;
  }

  .vc-card__content {
    min-height: 625px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .vc-brand-mark {
    width: 102px;
    height: 102px;
  }

  .vc-brand-mark img {
    width: 82px;
    height: 82px;
  }

  .vc-primary-action {
    gap: 8px;
    padding-right: 9px;
    padding-left: 9px;
  }

  .vc-action-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .vc-card {
    will-change: auto;
  }
}
