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

:root {
  --bg-deep: #0f172a;
  --bg-haze: #1e293b;
  --glass: rgba(255, 255, 255, 0.03);
  --border-strong: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.08);
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #cbd5e1;
  --shadow-deep: 0 30px 120px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 16px 60px rgba(0, 0, 0, 0.38);
  --blur-amt: 20px;
  --radius-lg: 32px;
  --radius-md: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0.1, 0.1, 1);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: radial-gradient(120% 140% at 20% 20%, rgba(255, 255, 255, 0.05), transparent 35%),
    radial-gradient(90% 120% at 80% 0%, rgba(255, 255, 255, 0.04), transparent 40%),
    linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-haze) 80%);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  padding: 72px 20px;
  line-height: 1.6;
}

h1,
h2,
p {
  margin: 0;
}

a {
  color: inherit;
}

.page {
  width: 100%;
  max-width: 640px;
  display: flex;
  justify-content: center;
}

.card {
  width: 100%;
  padding: 52px 44px 60px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(var(--blur-amt)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur-amt)) saturate(140%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.card::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), transparent 40%, rgba(255, 255, 255, 0.06));
  opacity: 0.5;
  pointer-events: none;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
  opacity: 0.6;
}

.profile {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 42px;
}

.profile__avatar {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 55%);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  display: block;
}

.profile__name {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: clamp(2rem, 4.4vw, 2.8rem);
  letter-spacing: 0.03em;
}

.profile__headline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.profile__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  padding: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.profile__title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.profile__bio {
  max-width: 460px;
  color: rgba(248, 250, 252, 0.82);
  font-weight: 500;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.socials__link {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  color: var(--text-primary);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.socials__link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.socials__icon {
  width: 22px;
  height: 22px;
  display: block;
}

.links-section {
  position: relative;
  padding-top: 12px;
}

.links-section + .links-section {
  margin-top: 36px;
}

.links-section + .links-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.links-section__title {
  margin: 0 0 18px;
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(248, 250, 252, 0.85);
  text-align: center;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-button {
  position: relative;
  width: 100%;
  min-height: 60px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 18px 54px 18px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.link-button::after {
  content: '>';
  position: absolute;
  right: 18px;
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}

.link-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.link-button:hover::after {
  color: var(--text-primary);
  transform: translateX(4px);
}

.link-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 4px;
}

.link-button--about {
  align-items: flex-start;
  text-align: left;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: none;
  white-space: pre-line;
}

.link-button--about::after {
  display: none;
}

.link-button--about:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.link-button--about:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.28);
  outline-offset: 4px;
}

.link-button--static {
  cursor: default;
}

@media (max-width: 540px) {
  body {
    padding: 48px 16px;
  }

  .card {
    padding: 40px 28px 48px;
    border-radius: 26px;
  }

  .links-section__title {
    letter-spacing: 0.18em;
  }
}

@media (max-width: 400px) {
  body {
    padding: 32px 12px;
  }

  .card {
    padding: 30px 18px 38px;
  }

  .profile__avatar {
    width: 132px;
    height: 132px;
  }

  .profile__logo {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .link-button {
    padding: 16px 48px 16px 18px;
    font-size: 0.95rem;
  }

  .link-button--about {
    padding: 16px 18px;
  }
}
