/* =========================================
   NOVA — personal links
   ========================================= */

:root {
  --bg: #07060d;
  --panel: #110e1e;
  --text: #f5f2ff;
  --muted: #a9a3bf;
  --muted-2: #7f7898;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --violet: #9b7bff;
  --blue: #6ea8ff;
  --aqua: #5ef2d6;
  --lime: #c8ff6a;
  --rose: #ff7ad9;
  --grad: linear-gradient(115deg, var(--violet) 0%, var(--blue) 48%, var(--aqua) 100%);
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px 46px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: rgba(155, 123, 255, 0.38);
  color: #fff;
}

/* =========================================
   Background
   ========================================= */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(75% 55% at 50% -8%, rgba(72, 44, 148, 0.28), transparent 70%),
    radial-gradient(55% 45% at 100% 100%, rgba(4, 80, 74, 0.18), transparent 75%),
    var(--bg);
  pointer-events: none;
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 40%, rgba(3, 2, 8, 0.65) 100%);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(92px);
  will-change: transform;
}

.bg__orb--violet {
  width: 540px;
  height: 540px;
  top: -220px;
  left: -180px;
  background: rgba(111, 68, 255, 0.55);
  opacity: 0.55;
  animation: drift-a 22s ease-in-out infinite alternate;
}

.bg__orb--aqua {
  width: 450px;
  height: 450px;
  right: -190px;
  bottom: -190px;
  background: rgba(0, 201, 170, 0.32);
  opacity: 0.5;
  animation: drift-b 27s ease-in-out infinite alternate;
}

.bg__orb--rose {
  width: 360px;
  height: 360px;
  top: 42%;
  left: 62%;
  background: rgba(255, 92, 200, 0.18);
  opacity: 0.4;
  animation: drift-a 31s ease-in-out infinite alternate-reverse;
}

.bg__stars {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.75) 50%, transparent 52%),
    radial-gradient(1px 1px at 28% 64%, rgba(255, 255, 255, 0.55) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 81% 12%, rgba(94, 242, 214, 0.7) 50%, transparent 52%),
    radial-gradient(1px 1px at 68% 78%, rgba(255, 255, 255, 0.5) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 93% 52%, rgba(155, 123, 255, 0.65) 50%, transparent 52%),
    radial-gradient(1px 1px at 44% 9%, rgba(255, 255, 255, 0.5) 50%, transparent 52%),
    radial-gradient(1px 1px at 7% 86%, rgba(255, 255, 255, 0.45) 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 56% 45%, rgba(255, 255, 255, 0.32) 50%, transparent 52%);
  background-repeat: no-repeat;
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 120% 78% at 50% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 120% 78% at 50% 0%, #000 0%, transparent 72%);
}

/* =========================================
   Top bar
   ========================================= */

.topbar {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 4px 19px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand__mark {
  color: var(--aqua);
  font-size: 14px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(94, 242, 214, 0.8);
  animation: twinkle 5s ease-in-out infinite;
}

.brand__name span {
  color: var(--muted-2);
  font-weight: 500;
}

.topbar__note {
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =========================================
   Page + card
   ========================================= */

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 31px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(165deg, rgba(32, 25, 55, 0.9) 0%, rgba(16, 13, 29, 0.94) 42%, rgba(8, 7, 15, 0.97) 100%);
  box-shadow:
    0 50px 120px -40px rgba(0, 0, 0, 0.95),
    0 0 80px -50px rgba(111, 68, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 16%;
  right: 16%;
  z-index: 3;
  height: 1px;
  background: var(--grad);
  opacity: 0.9;
  filter: drop-shadow(0 0 10px rgba(155, 123, 255, 0.9));
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(75% 34% at 50% -6%, rgba(155, 123, 255, 0.16), transparent 68%),
    radial-gradient(45% 32% at 100% 100%, rgba(94, 242, 214, 0.045), transparent 70%);
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 2;
}

/* =========================================
   Profile
   ========================================= */

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  position: relative;
  width: 152px;
  height: 152px;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.avatar__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--violet), var(--aqua), var(--rose), var(--violet));
  box-shadow: 0 0 34px rgba(155, 123, 255, 0.4);
  animation: spin 16s linear infinite;
}

.avatar__ring::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #0b0914;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.8);
}

.avatar__img {
  position: relative;
  z-index: 1;
  width: 136px;
  height: 136px;
  border: 2px solid #0c0a16;
  border-radius: 50%;
  background: #151027;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.avatar__status {
  position: absolute;
  z-index: 2;
  right: 6px;
  bottom: 12px;
  width: 20px;
  height: 20px;
  border: 4px solid #0e0b19;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(200, 255, 106, 0.6);
}

.avatar__status::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(200, 255, 106, 0.55);
  border-radius: inherit;
  animation: pulse-ring 2.4s ease-out infinite;
}

.profile__title {
  margin: 19px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 38px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.text-gradient {
  background-image: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sparkle {
  display: inline-block;
  margin-left: 4px;
  color: var(--aqua);
  font-size: 0.62em;
  vertical-align: 0.36em;
  text-shadow: 0 0 16px rgba(94, 242, 214, 0.8);
  animation: twinkle 4s ease-in-out infinite;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 0;
  padding: 7px 13px;
  border: 1px solid rgba(200, 255, 106, 0.18);
  border-radius: 999px;
  background: rgba(200, 255, 106, 0.065);
  color: #dcffa0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.015em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.status__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(200, 255, 106, 0.9);
  animation: blink 2.4s ease-in-out infinite;
}

.profile__bio {
  max-width: 36ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  text-wrap: balance;
}

.profile__bio-ru {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

/* =========================================
   Featured card
   ========================================= */

.feature {
  position: relative;
  display: block;
  margin-top: 25px;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 10.5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: #0b0914;
  text-decoration: none;
  box-shadow:
    0 26px 60px -32px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(155, 123, 255, 0.38);
  box-shadow:
    0 34px 70px -30px rgba(75, 39, 190, 0.6),
    0 0 0 1px rgba(155, 123, 255, 0.1) inset;
}

.feature__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.94) saturate(1.02);
  transition:
    transform 0.7s var(--ease),
    filter 0.5s ease;
}

.feature:hover .feature__img {
  transform: scale(1.035);
  filter: brightness(1) saturate(1.04);
}


.feature__chip {
  position: absolute;
  z-index: 2;
  top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(9, 7, 19, 0.55);
  color: #ded9f5;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.feature__chip--two {
  right: 15px;
  border-color: rgba(94, 242, 214, 0.24);
  color: var(--aqua);
}

.feature__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(6, 5, 12, 0.94) 0%, rgba(6, 5, 12, 0.58) 30%, rgba(6, 5, 12, 0.04) 64%, rgba(6, 5, 12, 0.2) 100%),
    radial-gradient(120% 100% at 50% 18%, transparent 42%, rgba(9, 7, 20, 0.38) 100%);
}

.feature__meta {
  position: absolute;
  left: 20px;
  bottom: 17px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature__title {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(20px, 5.4vw, 25px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.feature__go {
  position: absolute;
  right: 18px;
  bottom: 17px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.feature__go svg {
  width: 18px;
  height: 18px;
}

.feature:hover .feature__go {
  border-color: transparent;
  background: var(--grad);
  color: #080710;
  box-shadow: 0 0 26px rgba(94, 242, 214, 0.32);
}

/* =========================================
   Links
   ========================================= */

.links-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 25px 4px 12px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.links-head__count {
  font-weight: 500;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.links {
  display: flex;
  flex-direction: column;
}

.primary-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  overflow: hidden;
  border: 1px solid rgba(155, 123, 255, 0.38);
  border-radius: var(--radius-md);
  background: linear-gradient(100deg, rgba(155, 123, 255, 0.16), rgba(94, 242, 214, 0.065));
  text-decoration: none;
  box-shadow:
    0 18px 50px -28px rgba(116, 76, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.primary-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.15) 46%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.85s ease;
  pointer-events: none;
}

.primary-link:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 242, 214, 0.48);
  box-shadow:
    0 24px 54px -26px rgba(116, 76, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.primary-link:hover::before {
  transform: translateX(130%);
}

.primary-link > * {
  position: relative;
  z-index: 1;
}

.link-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
}

.link-icon svg {
  width: 22px;
  height: 22px;
}

.link-icon--tg {
  border-color: rgba(42, 171, 238, 0.34);
  background: linear-gradient(150deg, rgba(42, 171, 238, 0.24), rgba(42, 171, 238, 0.07));
  color: #7bd2ff;
  box-shadow: inset 0 0 22px -6px rgba(42, 171, 238, 0.7);
}

.link-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.link-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.link-badge {
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--lime);
  color: #0a0912;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateY(-1px);
}

.link-sub {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  white-space: normal;
}

.link-arrow {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
}

.primary-link:hover .link-arrow {
  border-color: transparent;
  background: var(--grad);
  color: #080710;
  transform: translateX(2px);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.social {
  --brand: var(--violet);
  position: relative;
  isolation: isolate;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.032);
  text-decoration: none;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.social::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 100% at 12% 0%, var(--brand), transparent 62%);
  opacity: 0.1;
  transition: opacity 0.35s ease;
}

.social::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.28;
  transition: opacity 0.35s ease;
}

.social:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 22px 42px -26px rgba(0, 0, 0, 0.95),
    0 0 32px -18px var(--brand);
}

.social:hover::before {
  opacity: 0.2;
}

.social:hover::after {
  opacity: 0.85;
}

.social--ig {
  --brand: #ff7ac9;
}

.social--tt {
  --brand: #7ef7e2;
}

.social__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.social__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--brand) 26%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.social__icon svg {
  width: 20px;
  height: 20px;
}

.social__arrow {
  width: 22px;
  height: 22px;
  color: var(--muted-2);
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.social__arrow svg {
  width: 16px;
  height: 16px;
}

.social:hover .social__arrow {
  color: var(--brand);
  transform: translate(2px, -2px);
}

.social__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
}

.social__name {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* =========================================
   Footer
   ========================================= */

.card-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 25px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.card-footer__sig {
  color: var(--aqua);
  font-size: 11px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(94, 242, 214, 0.7);
}

.card-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

.card-footer__copy {
  color: #8b84a3;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.page-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 21px 0 0;
  color: #8b84a3;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.page-note::before,
.page-note::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(155, 123, 255, 0.5));
}

.page-note::after {
  background: linear-gradient(90deg, rgba(155, 123, 255, 0.5), transparent);
}

/* =========================================
   Focus states
   ========================================= */

a:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 4px;
}

.feature:focus-visible,
.primary-link:focus-visible,
.social:focus-visible {
  outline-offset: 3px;
}

/* =========================================
   Animation
   ========================================= */

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.92) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.12) rotate(18deg);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.75);
    opacity: 0.8;
  }
  80%,
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

@keyframes drift-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(60px, 40px, 0) scale(1.12);
  }
}

@keyframes drift-b {
  from {
    transform: translate3d(0, 0, 0) scale(1.08);
  }
  to {
    transform: translate3d(-55px, -45px, 0) scale(1);
  }
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 480px) {
  body {
    padding: 18px 14px 38px;
  }

  .topbar {
    padding-bottom: 16px;
  }

  .topbar__note {
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .card {
    padding: 26px 17px 18px;
    border-radius: 30px;
  }

  .avatar {
    width: 138px;
    height: 138px;
  }

  .avatar__img {
    width: 122px;
    height: 122px;
  }

  .profile__title {
    margin-top: 17px;
    font-size: 31px;
  }

  .profile__bio {
    font-size: 14px;
  }

  .feature {
    margin-top: 22px;
    border-radius: 22px;
    aspect-ratio: 16 / 11;
  }

  .feature__meta {
    left: 16px;
    bottom: 15px;
  }

  .feature__go {
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
  }

  .links-head {
    margin-top: 22px;
  }

  .primary-link {
    gap: 11px;
    padding: 12px;
  }

  .link-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .link-sub {
    font-size: 10.5px;
  }

  .social {
    min-height: 94px;
    padding: 13px;
  }

  .card-footer {
    margin-top: 22px;
  }
}

@media (max-width: 360px) {
  .topbar__note {
    display: none;
  }

  .avatar {
    width: 126px;
    height: 126px;
  }

  .avatar__img {
    width: 112px;
    height: 112px;
  }

  .profile__title {
    font-size: 28px;
  }

  .link-sub {
    max-width: none;
    font-size: 10px;
  }

  .social-grid {
    gap: 8px;
  }

  .social__name {
    font-size: 13px;
  }

  .page-note {
    gap: 8px;
    font-size: 8px;
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
