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

:root {
  --bg: #F4F1EC;
  --ink: #181614;
  --ink-mid: #4A4540;
  --ink-muted: #8A847C;
  --accent: #C8922A;
  --card-white: #FFFFFF;
  --card-dark: #201c15;
  --card-border-white: rgba(24,22,20,0.1);
}

html, body {
  min-height: 100%;
  background: var(--bg);
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
}

body {
  display: flex;
  justify-content: center;
  padding: 40px 20px 0;
}

.container {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.avatar-wrap {
  position: relative;
  margin-bottom: 12px;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: var(--card-white);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.7;
}

.name {
  font-family: Arial, 'Arial Nova', Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.15;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.handle {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bio {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.65;
  text-align: center;
  max-width: 300px;
  font-weight: 300;
}

.bio em {
  font-style: normal;
  color: var(--ink);
  font-weight: 500;
}

.socials {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  animation: fadeUp 0.6s ease 0.1s both;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--card-border-white);
  background: var(--card-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--ink-mid);
  transition: all 0.2s;
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 17px;
  height: 17px;
}

.section-label {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  margin-top: 8px;
}

.section-label span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--card-border-white);
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.link-card {
  width: 100%;
  border-radius: 3px;
  padding: 18px 22px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.6s ease both;
}

.link-card.white {
  background: var(--card-white);
  border: 1px solid var(--card-border-white);
}

.link-card.dark {
  background: var(--card-dark);
  border: 1px solid transparent;
}

.link-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.22s ease;
  transform-origin: center;
}

.link-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(24,22,20,0.1);
}

.link-card.white:hover { border-color: rgba(200,146,42,0.3); }
.link-card.dark:hover  { box-shadow: 0 4px 20px rgba(24,22,20,0.22); }
.link-card:hover::after { transform: scaleY(1); }

.link-info { flex: 1; }

.link-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 2px;
}

.link-card.white .link-title { color: var(--ink); }
.link-card.dark  .link-title { color: #FAF7F2; }

.link-desc {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.4;
}

.link-card.white .link-desc { color: var(--ink-muted); }
.link-card.dark  .link-desc { color: rgba(250,247,242,0.5); }

.link-arrow {
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.22s;
}

.link-card.white .link-arrow { color: var(--ink-muted); }
.link-card.dark  .link-arrow { color: rgba(250,247,242,0.4); }
.link-card:hover .link-arrow { color: var(--accent); transform: translateX(2px); }

.footer-banner {
  width: calc(100% + 40px);
  margin-top: 48px;
  display: block;
  line-height: 0;
}

.footer-banner img {
  width: 100%;
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.link-card:nth-child(1) { animation-delay: 0.15s; }
.link-card:nth-child(2) { animation-delay: 0.22s; }
.link-card:nth-child(3) { animation-delay: 0.29s; }
.link-card:nth-child(4) { animation-delay: 0.36s; }
.link-card:nth-child(5) { animation-delay: 0.43s; }
