:root {
  color-scheme: dark;
  --bg: #08070c;
  --card: rgba(12, 10, 15, 0.78);
  --line: rgba(255, 238, 226, 0.18);
  --text: #fff8f3;
  --muted: rgba(255, 248, 243, 0.7);
  --rose: #ffd6df;
  --rose-strong: #ffb8c9;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(8, 7, 12, 0.38), rgba(8, 7, 12, 0.84)),
    url("assets/cover.jpeg") center 30% / cover no-repeat fixed,
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 223, 0.28), transparent 22rem),
    rgba(8, 7, 12, 0.18);
  backdrop-filter: blur(9px);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.profile {
  width: min(440px, 100%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.cover {
  min-height: 172px;
  background:
    linear-gradient(180deg, rgba(8, 7, 12, 0), rgba(8, 7, 12, 0.36)),
    url("assets/cover.jpeg") center 24% / cover no-repeat;
}

.content {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 0 24px 26px;
  text-align: center;
}

.avatar {
  width: 118px;
  height: 118px;
  display: block;
  margin-top: -59px;
  object-fit: cover;
  object-position: center 18%;
  border: 4px solid rgba(12, 10, 15, 0.94);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.32);
}

.eyebrow {
  margin: 0;
  color: var(--rose);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 11vw, 58px);
  font-weight: 400;
  line-height: 0.9;
}

.intro {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.links {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.links a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(255, 214, 223, 0.22);
  border-radius: 14px;
  background: rgba(255, 214, 223, 0.1);
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.links a::after {
  content: ">";
  color: var(--rose-strong);
}

small {
  color: rgba(255, 248, 243, 0.5);
  font-size: 12px;
}

@media (max-width: 460px) {
  .page {
    align-items: end;
    padding: 18px;
  }

  .profile {
    border-radius: 22px;
  }

  .cover {
    min-height: 150px;
  }
}
