:root {
  --page-bg: #fce8e8;
  --page-bg-soft: #fff7f7;
  --surface: rgba(255, 247, 247, 0.86);
  --surface-strong: rgba(255, 247, 247, 0.94);
  --surface-border: rgba(196, 144, 80, 0.24);
  --surface-border-soft: rgba(106, 58, 144, 0.12);
  --text: #1a1520;
  --muted: #5c4d60;
  --accent-teal: #1b7d8e;
  --accent-berry: #bf1f6b;
  --accent-berry-hover: #921651;
  --accent-gold: #c49050;
  --accent-purple: #6a3a90;
  --accent-line: rgba(27, 125, 142, 0.24);
  --card-shadow: 0 20px 42px rgba(106, 58, 144, 0.10);
  --hover-shadow: 0 20px 48px rgba(106, 58, 144, 0.16);
  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root:not(.scheme-light) {
    --page-bg: #0f0d13;
    --page-bg-soft: #17121c;
    --surface: rgba(26, 21, 32, 0.82);
    --surface-strong: rgba(26, 21, 32, 0.92);
    --surface-border: rgba(196, 144, 80, 0.22);
    --surface-border-soft: rgba(255, 255, 255, 0.08);
    --text: #f0eaf4;
    --muted: #a899b0;
    --accent-teal: #2a9aad;
    --accent-line: rgba(42, 154, 173, 0.24);
    --card-shadow: 0 28px 56px rgba(0, 0, 0, 0.44);
    --hover-shadow: 0 28px 64px rgba(0, 0, 0, 0.52);
  }
}

:root.scheme-dark {
  --page-bg: #0f0d13;
  --page-bg-soft: #17121c;
  --surface: rgba(26, 21, 32, 0.82);
  --surface-strong: rgba(26, 21, 32, 0.92);
  --surface-border: rgba(196, 144, 80, 0.22);
  --surface-border-soft: rgba(255, 255, 255, 0.08);
  --text: #f0eaf4;
  --muted: #a899b0;
  --accent-teal: #2a9aad;
  --accent-line: rgba(42, 154, 173, 0.24);
  --card-shadow: 0 28px 56px rgba(0, 0, 0, 0.44);
  --hover-shadow: 0 28px 64px rgba(0, 0, 0, 0.52);
}

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

html {
  color-scheme: light dark;
}

body {
  min-height: 100vh;
  padding: 40px 20px 56px;
  background:
    radial-gradient(circle at 18% 14%, rgba(42, 154, 173, 0.18), transparent 28%),
    radial-gradient(circle at 84% 20%, rgba(196, 144, 80, 0.12), transparent 24%),
    radial-gradient(circle at 50% 82%, rgba(191, 31, 107, 0.14), transparent 30%),
    linear-gradient(180deg, var(--page-bg-soft) 0%, var(--page-bg) 100%);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.34;
  pointer-events: none;
}

.ambient-teal {
  width: 280px;
  height: 280px;
  top: 24px;
  left: -72px;
  background: rgba(42, 154, 173, 0.55);
}

.ambient-berry {
  width: 260px;
  height: 260px;
  right: -84px;
  top: 28%;
  background: rgba(191, 31, 107, 0.42);
}

.ambient-purple {
  width: 320px;
  height: 320px;
  left: 18%;
  bottom: -120px;
  background: rgba(106, 58, 144, 0.36);
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--surface);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  border: 1px solid var(--surface-border-soft);
  box-shadow: var(--card-shadow);
  border-radius: 8px;
}

.profile-card {
  padding: 34px 24px 28px;
  margin-bottom: 18px;
  text-align: center;
  border-color: var(--surface-border);
  background:
    linear-gradient(180deg, rgba(196, 144, 80, 0.06) 0%, transparent 28%),
    var(--surface-strong);
}

.profile-frame {
  width: 116px;
  height: 116px;
  margin: 0 auto 18px;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(196, 144, 80, 0.8), rgba(42, 154, 173, 0.55));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.profile-pic {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.26);
}

.profile-label {
  margin-bottom: 8px;
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.name {
  margin-bottom: 10px;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.02;
  letter-spacing: 0.03em;
}

.description {
  max-width: 32ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  text-wrap: pretty;
}

.description br {
  display: block;
  content: "";
  margin-top: 0.15rem;
}

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

.link-button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 16px 18px;
  border-color: var(--surface-border-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.link-button:hover,
.link-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--surface-border);
  box-shadow: var(--hover-shadow);
  outline: none;
}

.link-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent-teal);
  background: rgba(42, 154, 173, 0.08);
}

.link-icon i {
  font-size: 15px;
}

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

.link-text {
  min-width: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

.link-button-text {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.link-latest {
  border-color: rgba(196, 144, 80, 0.28);
  background:
    linear-gradient(90deg, rgba(42, 154, 173, 0.10) 0%, transparent 100%),
    var(--surface);
}

.link-latest-badge {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-berry) 0%, var(--accent-gold) 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-card {
  margin-top: 16px;
  padding: 16px 18px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent-teal);
  background: rgba(42, 154, 173, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.icon-button i {
  font-size: 17px;
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(196, 144, 80, 0.32);
  background: rgba(196, 144, 80, 0.10);
  color: var(--accent-gold);
  outline: none;
}

.footer {
  margin-top: 26px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.footer a {
  color: var(--accent-teal);
  border-bottom: 1px solid rgba(42, 154, 173, 0.28);
}

.copyright {
  margin-top: 8px;
  font-size: 12px;
}

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

  .profile-card {
    padding: 28px 18px 24px;
  }

  .link-button {
    padding: 15px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@supports not (backdrop-filter: blur(24px)) {
  .card {
    background: var(--surface-strong);
  }
}
