:root {
  color-scheme: light;
  font-family: Pretendard, "Apple SD Gothic Neo", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  --page-start: #fff9fc;
  --page-end: #f6f4ff;
  --surface: #fff;
  --surface-solid: #fff;
  --text: #221b2b;
  --muted: #766d7f;
  --line: rgba(54, 39, 67, .1);
  --accent-a: #ff3d77;
  --accent-b: #8b5cf6;
  --accent-c: #ff9b45;
  --shadow: 0 14px 38px rgba(79, 51, 93, .09);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: linear-gradient(155deg, var(--page-start), var(--page-end));
}

body::before,
body::after {
  display: none;
}

.theme-minimal-dark {
  color-scheme: dark;
  --page-start: #151019;
  --page-end: #0c0a10;
  --surface: #1f1923;
  --surface-solid: #211a25;
  --text: #fff9fd;
  --muted: #b7aebb;
  --line: rgba(255, 255, 255, .1);
  --shadow: 0 15px 42px rgba(0, 0, 0, .3);
}

.theme-soft-pastel {
  --page-start: #fff6fa;
  --page-end: #f9efff;
  --surface: #fffafd;
  --surface-solid: #fffafd;
  --text: #38232f;
  --muted: #856d79;
  --accent-a: #f472b6;
  --accent-b: #a78bfa;
  --accent-c: #f9a8d4;
}

.theme-black-premium {
  color-scheme: dark;
  --page-start: #090909;
  --page-end: #12100c;
  --surface: #161513;
  --surface-solid: #181715;
  --text: #fbf7ed;
  --muted: #b4aa98;
  --line: rgba(239, 222, 180, .14);
  --accent-a: #f5d675;
  --accent-b: #a9873d;
  --accent-c: #fff0b3;
  --shadow: 0 16px 44px rgba(0, 0, 0, .36);
}

.hub {
  width: min(calc(100% - 32px), 620px);
  margin: 0 auto;
  padding: 74px 0 34px;
}

.profile-card {
  position: relative;
  padding: 34px 38px 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.avatar-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: -87px auto 18px;
  border-radius: 36px;
}

.avatar-ring::before {
  position: absolute;
  inset: -5px;
  border-radius: 39px;
  background: linear-gradient(145deg, var(--accent-a), var(--accent-b));
  content: "";
  opacity: .1;
}

.avatar-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface-solid);
  box-shadow: 0 0 0 1px rgba(70, 45, 78, .04), 0 7px 18px rgba(70, 45, 78, .1);
}

.avatar {
  display: grid;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  place-items: center;
}

.avatar-fallback {
  color: #fff;
  background: linear-gradient(145deg, var(--accent-a), var(--accent-b));
  font-size: 38px;
  font-weight: 800;
}

.profile-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: color-mix(in srgb, var(--surface-solid) 76%, transparent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.profile-card h1 {
  margin: 11px 0 2px;
  font-size: clamp(28px, 7vw, 36px);
  line-height: 1.18;
  letter-spacing: -.045em;
}

.handle {
  margin: 0;
  color: var(--accent-b);
  font-size: 15px;
  font-weight: 700;
}

.bio {
  max-width: 470px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
  word-break: keep-all;
}

.blocks {
  display: grid;
  gap: 13px;
  margin-top: 20px;
}

.link-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  min-height: 82px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 21px;
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(52, 36, 62, .06);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.link-card:hover {
  z-index: 1;
  border-color: color-mix(in srgb, var(--accent-a) 35%, var(--line));
  box-shadow: 0 10px 25px rgba(74, 44, 82, .11);
  transform: translateY(-2px);
}

.link-card:active { transform: translateY(0); }

.link-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-b) 35%, transparent);
  outline-offset: 3px;
}

.link-badge {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: var(--accent-b);
  background: color-mix(in srgb, var(--accent-b) 10%, var(--surface-solid));
  font-size: 18px;
  font-weight: 850;
  place-items: center;
}

.link-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 0 12px;
}

.link-copy strong {
  overflow: hidden;
  font-size: 16px;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-copy > span {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-arrow {
  color: var(--muted);
  font-size: 27px;
  font-weight: 300;
  transition: transform .2s ease;
}

.link-card:hover .link-arrow { transform: translateX(3px); }

.social-link {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--surface-solid), var(--surface-solid)) padding-box,
    linear-gradient(120deg, var(--accent-c), var(--accent-a), var(--accent-b)) border-box;
}

.social-link .link-badge {
  color: #fff;
  background: linear-gradient(145deg, var(--accent-c), var(--accent-a) 48%, var(--accent-b));
  box-shadow: 0 7px 18px color-mix(in srgb, var(--accent-a) 24%, transparent);
}

.featured {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(115deg, var(--accent-c) -10%, var(--accent-a) 42%, var(--accent-b) 112%);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--accent-a) 25%, transparent);
}

.featured:hover { border-color: transparent; }

.featured .link-badge {
  color: #fff;
  background: rgba(255, 255, 255, .18);
}

.featured .link-copy > span,
.featured .link-arrow { color: rgba(255, 255, 255, .82); }

.contact-link .link-badge { color: var(--accent-a); }

.text-card,
.info-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(52, 36, 62, .05);
}

.text-card h2,
.info-card strong {
  display: block;
  margin: 0;
  font-size: 17px;
  letter-spacing: -.025em;
}

.text-card p,
.info-card > span:last-child {
  display: block;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.info-label {
  display: block;
  margin-bottom: 5px;
  color: var(--accent-a);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.section-title {
  margin: 11px 0 1px;
  padding: 0 8px;
  font-size: 16px;
  letter-spacing: -.02em;
}

hr {
  width: calc(100% - 32px);
  margin: 7px auto;
  border: 0;
  border-top: 1px solid var(--line);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .03em;
}

footer span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-c), var(--accent-a), var(--accent-b));
}

@media (max-width: 560px) {
  .hub {
    width: min(calc(100% - 24px), 620px);
    padding-top: 64px;
  }

  .profile-card {
    padding: 29px 22px 25px;
    border-radius: 27px;
  }

  .avatar-ring {
    width: 106px;
    height: 106px;
    margin-top: -75px;
    border-radius: 32px;
  }

  .avatar-ring::before { border-radius: 35px; }
  .avatar-shell { border-radius: 30px; }
  .avatar { border-radius: 25px; }

  .bio { font-size: 14px; }

  .link-card {
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    min-height: 76px;
    padding: 11px 13px;
    border-radius: 19px;
  }

  .link-copy { padding: 0 10px; }
  .link-copy strong { font-size: 15px; }
  .text-card, .info-card { padding: 18px; border-radius: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .link-card,
  .link-arrow { transition: none; }
}
