*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #c41e3a;
  --red-dark: #a01830;
  --black: #111111;
  --grey: #6b7280;
  --grey-light: #9ca3af;
  --white: #ffffff;
  --card-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  --link-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --radius-card: 24px;
  --radius-link: 14px;
  --max-width: 440px;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(160deg, #fce8ec 0%, #f3f4f6 40%, #f9fafb 100%);
  min-height: 100dvh;
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 24px 16px 32px;
}

.card {
  width: 100%;
  max-width: var(--max-width);
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: 36px 24px 28px;
}

/* Profile */

.profile {
  text-align: center;
  margin-bottom: 28px;
}

.avatar-wrap {
  display: inline-flex;
  margin-bottom: 16px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f3f4f6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.name {
  font-size: clamp(1.5rem, 5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.tagline {
  font-size: 0.9rem;
  color: var(--grey);
  margin-bottom: 6px;
}

.domain {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  transition: color 0.15s;
}

.domain:hover {
  color: var(--red-dark);
}

/* Links */

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-link);
  background: var(--white);
  border: 1px solid #e5e7eb;
  box-shadow: var(--link-shadow);
  text-decoration: none;
  color: var(--black);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.link:active {
  transform: translateY(0);
}

.link--primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.link--primary:hover {
  background: #222;
}

.link--primary .link__text span {
  color: rgba(255, 255, 255, 0.7);
}

.link__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.link__icon svg {
  width: 18px;
  height: 18px;
}

.link__icon--text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.link__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  text-align: left;
}

.link__text strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.link__text span {
  font-size: 0.82rem;
  color: var(--grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link__chevron {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--grey-light);
  line-height: 1;
}

.link--primary .link__chevron {
  color: rgba(255, 255, 255, 0.5);
}

/* Footers */

.card-footer {
  margin-top: 24px;
  text-align: center;
}

.card-footer p {
  font-size: 0.75rem;
  color: var(--grey-light);
  line-height: 1.5;
}

.page-footer {
  margin-top: 28px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.18);
  text-transform: uppercase;
  text-align: center;
}

/* Desktop */

@media (min-width: 768px) {
  .page {
    padding: 48px 24px;
  }

  .card {
    padding: 44px 32px 32px;
  }

  .links {
    gap: 12px;
  }

  .link {
    padding: 16px 18px;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .link {
    transition: none;
  }

  .link:hover {
    transform: none;
  }
}
