:root {
  --bg-top: #d2dbdc;
  --bg-mid: #cbcec2;
  --bg-bottom: #c8c4b3;
  --text-dark: #2f2b26;
  --text-muted: #625d51;
  --btn-bg: rgba(224, 219, 202, 0.55);
  --btn-bg-hover: rgba(224, 219, 202, 0.8);
  --btn-border: rgba(255, 255, 255, 0.35);
  --card-max-width: 460px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: linear-gradient(160deg, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bottom) 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: var(--card-max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 36px;
}

.card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 26px;
}

.cover {
  width: calc(100% + 52px);
  margin: 0 -26px 0;
  aspect-ratio: 1 / 1.05;
  position: relative;
  overflow: hidden;
}

.cover-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 92%);
}

.name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  font-size: 33px;
  letter-spacing: 0.5px;
  margin: -70px 0 10px;
  text-align: center;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

.bio {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
  max-width: 350px;
  margin: 0 0 32px;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 10px rgba(50, 46, 36, 0.06);
}

.link-btn:hover,
.link-btn:focus-visible {
  background: var(--btn-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(50, 46, 36, 0.14);
}

.link-btn:active {
  transform: translateY(0);
}

.icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.label {
  flex: 1 1 auto;
  text-align: center;
  font-size: 16.5px;
  font-weight: 500;
  padding-right: 38px;
}

.footer {
  margin-top: 32px;
  text-align: center;
}

.footer p {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.8;
  margin: 0;
}

@media (max-width: 380px) {
  .name {
    font-size: 29px;
    margin-top: -55px;
  }
}
