/* ==========================================================================
   Digital NFC Business Card (victorgabrieldenes.html)
   Matches DenClean 3D Headless Design System
   ========================================================================== */

.vcard-hero {
  padding-bottom: clamp(44px, 6vw, 68px);
}

.vcard-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.vcard-avatar-wrap {
  position: relative;
  width: 152px;
  height: 152px;
  margin: 8px auto 22px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--cyan-glow) 0%, var(--cyan-primary) 50%, #38BDF8 100%);
  box-shadow: 0 18px 42px rgba(6, 182, 212, 0.32), 0 0 0 8px rgba(34, 211, 238, 0.1);
}

.vcard-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border: 3px solid var(--navy-deep);
  background: #0F172A;
}

.vcard-verified {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--navy-deep);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.vcard-hero__name {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  color: #fff;
}

.vcard-hero__role {
  margin: 0 0 24px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #CBD5E1;
  font-weight: 500;
}

.vcard-hero__role strong {
  color: #67E8F9;
  font-weight: 700;
}

.vcard-primary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 560px;
}

.vcard-primary-actions .btn {
  flex: 1 1 170px;
  justify-content: center;
  gap: 8px;
}

.vcard-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 560px;
  margin-top: 18px;
}

.vcard-quick-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.vcard-quick-tile:hover,
.vcard-quick-tile:focus-visible {
  background: rgba(34, 211, 238, 0.18);
  border-color: rgba(103, 232, 249, 0.55);
  transform: translateY(-2px);
  color: #fff;
}

.vcard-quick-tile svg {
  color: #67E8F9;
  flex-shrink: 0;
}

/* Centered Single Business Card Layout */
.vcard-card-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.vcard-card-wrap .contact-info-card {
  text-align: center;
}

.vcard-card-wrap .contact-detail-list {
  justify-items: center;
}

.vcard-card-wrap .contact-quick-btns {
  justify-content: center;
}

/* Social Pills inside Contact Card */
.vcard-social-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.vcard-social-title {
  margin: 0 0 12px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94A3B8;
}

.vcard-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.vcard-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vcard-social-link:hover,
.vcard-social-link:focus-visible {
  background: rgba(34, 211, 238, 0.16);
  border-color: rgba(103, 232, 249, 0.45);
  transform: translateY(-1px);
  color: #fff;
}

.vcard-social-link svg {
  width: 18px;
  height: 18px;
  color: #67E8F9;
  flex-shrink: 0;
}

/* Trust badges inside card */
.vcard-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.vcard-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(103, 232, 249, 0.26);
  color: #E0F2FE;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Toast feedback for share / vCard */
.vcard-toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  transform: translateX(-50%) translateY(16px);
  background: var(--navy-deep);
  color: #fff;
  border: 1px solid rgba(103, 232, 249, 0.45);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.vcard-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 560px) {
  .vcard-avatar-wrap {
    width: 132px;
    height: 132px;
  }

  .vcard-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vcard-social-grid {
    grid-template-columns: 1fr;
  }
}