/* ===== Status Pill ===== */
.status-pill {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(20, 20, 30, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  color: #fff;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .status-pill:hover {
    transform: translateY(-1px);
    background: rgba(30, 30, 42, 0.85);
  }
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
  flex-shrink: 0;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1);    opacity: 1;   }
  50%       { transform: scale(0.75); opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}

/* ===== Contact Modal Backdrop ===== */
.contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.contact-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== Modal Card ===== */
.contact-modal {
  position: relative;
  width: min(400px, 90vw);
  background: rgba(20, 20, 28, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.1, 0.64, 1);
}

.contact-backdrop.open .contact-modal {
  transform: scale(1);
}

/* ===== Close Button ===== */
.contact-close {
  position: absolute;
  /* Offset by 9px so the 44×44 hit area is visually centered on the original
     16px inset — the visible ::before circle stays in the same spot. */
  top: 7px;
  right: 7px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Visual circle — separate from the hit area so hover doesn't fill 44×44 */
.contact-close::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}


@media (hover: hover) and (pointer: fine) {
  .contact-close:hover::before { background: rgba(255, 255, 255, 0.12); }
}

/* ===== Modal Header ===== */
.contact-headline {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.contact-sub {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}

/* ===== Contact Cards ===== */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact-card-item:hover { background: rgba(255, 255, 255, 0.06); }
  .contact-card-item:hover .contact-card-arrow { transform: translateX(2px); }
}

.contact-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 16px;
  height: 16px;
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.contact-card-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.contact-card-value {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card-arrow {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-card-arrow svg {
  width: 16px;
  height: 16px;
}

/* "Copied" feedback state — disable uppercase transform so the capital I
   doesn't look awkward; "Copied" reads better than "COPIED" here. */
.contact-card-item.copied .contact-card-arrow { color: #4ade80; }
.contact-card-item.copied .contact-card-label {
  color: #4ade80;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 12px;
}

/* ===== Modal Footer ===== */
.contact-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ===== Floating Memoji Button (hidden on desktop) ===== */
.mobile-about-btn {
  display: none; /* shown only via responsive.css at ≤680px */
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .mobile-about-btn:hover { transform: scale(1.08); border-color: rgba(255, 255, 255, 0.4); }
}

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

/* ===== About Me Modal ===== */
.about-modal { text-align: center; }

.about-modal-memoji {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
}

.about-modal-name {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.about-modal-role {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-modal-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.about-modal-bio {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  margin-bottom: 14px;
}

.about-modal-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-modal-list li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.about-modal-list li::before { content: '•'; position: absolute; left: 0; color: rgba(255, 255, 255, 0.3); }
.about-modal-list li strong   { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

/* ===== Floating Mobile Guide (hidden on desktop) ===== */
.mobile-guide-wrap {
  display: none; /* shown only via responsive.css at ≤1060px */
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 90;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.mobile-guide-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(20, 20, 30, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .mobile-guide-btn:hover { background: rgba(30, 30, 45, 0.9); transform: scale(1.05); }
}

.mobile-guide-panel {
  width: 260px;
  background: rgba(18, 18, 28, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-guide-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-guide-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.mobile-guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-guide-list li {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.mobile-guide-list li strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}
