:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f7f6fc;
  background: #0c101d;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 240px; }

.landscape {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #0c101d url("/assets/midnight-small.webp") center 52% / cover no-repeat;
}

.landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 42%, #080b180a 15%, #05071180 100%), linear-gradient(180deg, #080b1424, #090b1920 55%, #070a1666);
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.profile {
  width: min(100%, 420px);
  padding: 36px 28px 30px;
  border: 1px solid #e1ddff26;
  border-radius: 28px;
  background: linear-gradient(145deg, #36364970, #1216248c 66%);
  box-shadow: 0 24px 90px #02061159, inset 0 1px 0 #ffffff0d;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.identity { text-align: center; margin-bottom: 29px; }

.avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 17px;
  border: 1px solid #ffffff38;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #d7d1ef30, #a19cce0a 65%);
  box-shadow: inset 0 1px 12px #f0ebff09, 0 0 34px #b5a8ef0a;
}

.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: 1.2;
}

.name-dot { color: #b6a6e3; }
.links { display: grid; gap: 11px; }

.link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 76px;
  padding: 14px 18px;
  color: inherit;
  text-decoration: none;
  border: 1px solid #e0dbff16;
  border-radius: 15px;
  background: #eef0ff08;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
  -webkit-tap-highlight-color: #b2a4e426;
}

.link-icon { flex: 0 0 25px; display: grid; place-items: center; color: #efedf8; }
.link-icon svg { width: 23px; height: 23px; }
.discord-icon svg { width: 26px; height: 26px; }
.axiom-icon img { display: block; width: 27px; height: 27px; }
.link-copy { display: grid; gap: 4px; min-width: 0; }
.link-title { font-size: 1rem; font-weight: 550; line-height: 1.2; }
.link-detail { font-size: .8125rem; line-height: 1.4; color: #c0c0d1; letter-spacing: .015em; }
.link-arrow { width: 18px; height: 18px; flex: 0 0 18px; margin-left: auto; color: #b0adc5; transition: color 180ms ease, transform 180ms ease; }

.link:focus-visible { outline: 2px solid #d1c4ff; outline-offset: 4px; background: #ece5ff13; }
.link:active { transform: scale(.985); }

@media (hover: hover) {
  .link:hover { background: #eee9ff12; border-color: #e0d5ff47; transform: translateY(-2px); }
  .link:hover .link-arrow { color: #ece7ff; transform: translate(1px, -1px); }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .profile { background: #161a2bed; }
}

@media (max-width: 440px) {
  .page { padding: 24px 20px; }
  .profile { padding: 30px 22px 24px; border-radius: 24px; }
  .link { padding: 14px 15px; gap: 15px; }
}

@media (max-height: 560px) and (min-width: 600px) {
  .page { padding-block: 20px; }
  .profile { padding-top: 24px; padding-bottom: 24px; }
  .identity { margin-bottom: 20px; }
  .avatar { width: 60px; height: 60px; margin-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .link, .link-arrow { transition: none; }
  .link:hover, .link:active, .link:hover .link-arrow { transform: none; }
}
