:root {
  color-scheme: dark;
  --bg: #111111;
  --panel: rgba(20, 18, 17, 0.62);
  --panel-strong: rgba(37, 33, 31, 0.72);
  --text: #f7f2ec;
  --muted: rgba(247, 242, 236, 0.68);
  --line: rgba(255, 255, 255, 0.14);
  --gold: #d8b46a;
  --rose: #f0a9a2;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  position: relative;
  min-height: 100%;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(160deg, #17110f 0%, #111111 46%, #171717 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.4), rgba(12, 11, 10, 0.82) 46%, rgba(12, 11, 10, 0.96)),
    linear-gradient(0deg, rgba(12, 11, 10, 0.72), rgba(12, 11, 10, 0.2) 44%, rgba(12, 11, 10, 0.78)),
    url("/assets/ameli-hero.jpg") center / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 26% 22%, rgba(240, 169, 162, 0.22), transparent 28rem),
    radial-gradient(circle at 72% 88%, rgba(216, 180, 106, 0.2), transparent 25rem);
  pointer-events: none;
}

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

.page {
  width: 100%;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.profile {
  width: min(100%, 430px);
  padding: 30px 0 18px;
  text-align: center;
}

.avatar {
  width: 108px;
  height: 108px;
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center 38%;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    0 0 0 7px rgba(255, 255, 255, 0.06);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 10vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.bio {
  margin: 14px auto 26px;
  max-width: 300px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.links {
  display: grid;
  gap: 11px;
}

.link {
  min-height: 66px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  text-align: left;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.32);
  background: var(--panel-strong);
  outline: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 19px;
  font-weight: 850;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.brand-icon.telegram {
  background: #229ed9;
}

.brand-icon.fanvue {
  background: linear-gradient(135deg, #1c1c1f, #6f48ff);
}

.brand-icon.instagram {
  background:
    radial-gradient(circle at 30% 107%, #fdf497 0 15%, #fd5949 38%, #d6249f 62%, #285aeb 100%);
}

.brand-icon.threads {
  background: #ffffff;
  color: #111111;
}

.brand-icon.tiktok {
  background: #111111;
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    -2px 0 0 rgba(37, 244, 238, 0.85),
    2px 0 0 rgba(254, 44, 85, 0.85);
}

.link-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.link-copy span {
  font-size: 16px;
  font-weight: 750;
}

.link-copy small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.link.primary {
  border-color: rgba(216, 180, 106, 0.5);
  background: rgba(216, 180, 106, 0.16);
}

.link.accent {
  border-color: rgba(240, 169, 162, 0.48);
  background: rgba(240, 169, 162, 0.13);
}

.footer {
  margin: 22px 0 0;
  color: rgba(247, 242, 236, 0.46);
  font-size: 12px;
}

@media (max-width: 380px) {
  .page {
    padding-inline: 12px;
  }

  .link {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 62px;
    padding: 12px 13px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-icon svg {
    width: 20px;
    height: 20px;
  }

  .link-copy {
    gap: 9px;
  }

  .link-copy span {
    font-size: 15px;
  }
}

@media (max-width: 340px) {
  .link-copy {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
