:root {
  --bg1: #1b1024;
  --bg2: #3a1c46;
  --accent: #e8b4c8;
  --gold: #e6c79c;
  --text: #f4eef2;
  --muted: #c9b8c8;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
}

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

html, body {
  min-height: 100%;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg1);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 600px at 20% 10%, rgba(232,180,200,0.18), transparent 60%),
    radial-gradient(900px 600px at 85% 90%, rgba(230,199,156,0.14), transparent 55%),
    linear-gradient(160deg, var(--bg1), var(--bg2));
}

.card {
  width: 100%;
  max-width: 380px;
  text-align: center;
  padding: 40px 28px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.avatar {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 30px rgba(230, 199, 156, 0.25);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--gold));
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .initials {
  position: absolute;
  font-family: "Cormorant Garamond", serif;
  font-size: 54px;
  font-weight: 600;
  color: #3a1c46;
  display: none;
}
.avatar.no-photo .initials { display: block; }

.name {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.tagline {
  margin-top: 4px;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.bio {
  margin: 18px auto 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  max-width: 300px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.link {
  display: block;
  padding: 13px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
}

.contact-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 13px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  color: #2a132f;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  box-shadow: 0 10px 24px rgba(232, 180, 200, 0.3);
  transition: transform 0.15s ease;
}
.contact-btn:hover { transform: translateY(-2px); }

.foot {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0.7;
}

@media (max-height: 720px) {
  .card { padding: 28px 24px 22px; }
  .avatar { width: 96px; height: 96px; margin-bottom: 16px; }
  .bio { margin: 14px auto 20px; }
  .foot { margin-top: 18px; }
}
