:root {
  --color-bg: #070811;
  --color-bg-soft: #111629;
  --color-card: rgba(7, 8, 17, 0.72);
  --color-card-strong: rgba(255, 255, 255, 0.14);
  --color-text: #fff8f1;
  --color-muted: #c8d3ef;
  --color-accent: #9fd9ff;
  --color-accent-strong: #f6f1ff;
  --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-card: 28px;
  --radius-link: 18px;
  --content-width: 460px;
  --focus-ring: 0 0 0 4px rgba(255, 176, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(7, 8, 17, 0.68), rgba(7, 8, 17, 0.86)),
    url("background 2.jpg") center / cover fixed,
    linear-gradient(135deg, var(--color-bg), var(--color-bg-soft));
}


a {
  color: inherit;
}

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

.card {
  width: min(100%, var(--content-width));
  padding: 34px 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-card);
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.profile {
  text-align: center;
}

.avatar {
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(159, 217, 255, 0.96), rgba(246, 241, 255, 0.94)),
    var(--color-accent);
  color: #07101f;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.eyebrow,
.handle {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

h1 {
  margin: 8px 0 4px;
  font-size: clamp(2.2rem, 11vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.bio {
  max-width: 30rem;
  margin: 18px auto 0;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.links {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.link-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-link);
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(159, 217, 255, 0.8);
  background: var(--color-card-strong);
  transform: translateY(-2px);
}

.link-card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.link-label {
  font-size: 1.05rem;
  font-weight: 750;
}

.link-description {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.empty-state {
  margin: 28px 0 0;
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-link);
  color: var(--color-muted);
  text-align: center;
}

.empty-state code {
  color: var(--color-text);
}

.footer {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.footer a {
  color: var(--color-muted);
  font-size: 0.9rem;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

@media (max-width: 420px) {
  .card {
    padding: 28px 18px 22px;
  }

  .avatar {
    width: 78px;
    height: 78px;
    font-size: 1.7rem;
  }
}
