:root {
  --bg-base: #040507;
  --bg-overlay: rgba(4, 5, 7, 0.65);
  --text-main: #f7f8fc;
  --text-muted: rgba(247, 248, 252, 0.82);
  --panel: rgba(245, 248, 255, 0.12);
  --panel-stroke: rgba(255, 255, 255, 0.24);
  --panel-inner: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 8% 18%, rgba(32, 48, 84, 0.52), transparent 34%),
    radial-gradient(circle at 76% 70%, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(var(--bg-overlay), var(--bg-overlay)),
    url("./background_black.png") center / cover no-repeat fixed;
  position: relative;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.1;
}

.page {
  min-height: 100vh;
  padding: 48px 18px;
  display: grid;
  place-items: center;
}

.hero {
  width: min(100%, 460px);
  text-align: center;
  animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.avatar {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h1 {
  margin: 20px 0 8px;
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
}

p {
  margin: 0 0 30px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1rem;
}

.card {
  padding: 20px;
  border-radius: 22px;
  backdrop-filter: blur(14px);
  background: linear-gradient(140deg, var(--panel), rgba(230, 236, 255, 0.08));
  border: 1px solid var(--panel-stroke);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.social-link {
  height: 56px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.12), var(--panel-inner));
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.social-link span {
  font-weight: 600;
}

.social-link i {
  font-size: 1.2rem;
  opacity: 0.92;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 580px) {
  .page {
    padding: 32px 14px;
  }

  .card {
    border-radius: 18px;
    padding: 14px;
  }

  .social-link {
    height: 54px;
  }
}
