* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f4f6f8;
  color: #1a1a1a;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.card-container {
  width: 100%;
  max-width: 420px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  text-align: center;
}

.name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.title {
  font-size: 0.95rem;
  color: #4b5563;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.bio {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b7280;
  margin-bottom: 1.75rem;
}

.card-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #1f2937;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.button-row {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.button-row .link-btn {
  flex: 1; /* Makes both buttons take up equal width */
}

.link-btn:hover {
  background-color: #374151;
  transform: translateY(-1px);
}

/* 1. Add an active state for mobile button taps */
.link-btn:active {
  transform: translateY(0);
}

/* 2. Optional: Ensure text inside buttons wraps cleanly on tiny screens */
.link-btn {
  text-align: center;
  white-space: nowrap;
}