/* ==========================================================================
   Connect / Digital Business Card Component (connect.css)
   Scoped specifically to /connect/index.html
   ========================================================================== */

.connect-container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

/* Digital Bizcard Profile Lockup */
.bizcard {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}

.bizcard-header {
  background: linear-gradient(135deg, #1C1917 0%, #292524 100%);
  padding: 36px 20px 24px;
  text-align: center;
}

.avatar-wrapper {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 3px solid var(--color-gold);
  margin: 0 auto 16px;
  overflow: hidden;
  background-color: #1C1917;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-name {
  color: #FFFFFF;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.profile-title {
  color: var(--color-gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

.profile-sub {
  color: #A8A29E;
  font-size: 12.5px;
  margin-top: 4px;
}

/* Quick Action Circle Buttons */
.quick-actions {
  display: flex;
  justify-content: space-around;
  padding: 20px 10px;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.action-circle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.action-btn:hover .action-circle-icon {
  transform: translateY(-2px) scale(1.04);
}

/* CTA Container */
.cta-container {
  padding: 16px 20px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

/* Links List */
.links-list {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.biz-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.biz-link-row:hover {
  border-color: var(--color-gold);
  transform: translateX(2px);
}

.link-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-badge-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.link-text-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.link-text-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  word-break: break-all;
}

.link-arrow {
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 700;
  margin-left: 8px;
}

/* Calendar Card */
.calendar-card {
  padding: 24px 20px;
  margin-bottom: 24px;
}

.calendar-card h3 {
  font-size: 15px;
  color: var(--color-gold);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.calendar-card p {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.calendar-frame-box {
  width: 100%;
  height: 540px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  background-color: #FFFFFF;
}

.calendar-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* QR Code Section */
.qr-share-card {
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-frame-box {
  width: 170px;
  height: 170px;
  padding: 10px;
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-gold);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.qr-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.qr-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 320px;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(19, 17, 16, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background-color: var(--bg-surface);
  border: 1.5px solid var(--color-gold);
  border-radius: 16px;
  padding: 32px 24px 28px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-window {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--color-gold);
}

.modal-qr-frame {
  width: 200px;
  height: 200px;
  margin: 0 auto 18px;
  padding: 10px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

.modal-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}