:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  min-height: 100%;
  background: #43259c;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 170, 193, 0.72), transparent 30rem),
    radial-gradient(circle at 90% 88%, rgba(79, 154, 255, 0.62), transparent 34rem),
    linear-gradient(150deg, #f34f7f 0%, #8a3fc8 48%, #426fec 100%);
}

.page-shell {
  min-height: 100svh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem;
}

.link-card {
  width: 100%;
  max-width: 35rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(47, 19, 105, 0.36), rgba(46, 56, 151, 0.18));
  box-shadow:
    0 1.75rem 4rem rgba(32, 14, 86, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.avatar-frame {
  width: 6.75rem;
  aspect-ratio: 1;
  margin: 0 auto 1.35rem;
  padding: 0.28rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 194, 222, 0.5));
  box-shadow: 0 0.9rem 2.1rem rgba(42, 11, 93, 0.28);
}

.avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 38%;
}

.intro h1 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-shadow: 0 0.2rem 1.25rem rgba(42, 17, 94, 0.25);
}

.title-tail {
  white-space: nowrap;
}

.status-dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-inline: 0.16em;
  vertical-align: 0.1em;
  border: 1px solid rgba(198, 255, 220, 0.82);
  border-radius: 50%;
  background: #38e780;
  box-shadow: 0 0 0 0.14rem rgba(56, 231, 128, 0.28);
  animation: status-pulse 2.6s ease-in-out infinite;
}

@keyframes status-pulse {
  0%,
  100% {
    transform: scale(0.94);
    box-shadow: 0 0 0 0.14rem rgba(56, 231, 128, 0.28);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 0.34rem rgba(56, 231, 128, 0);
  }
}

.intro p {
  max-width: 29rem;
  margin: 0.9rem auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.55;
}

.links {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.link-button {
  min-height: 4.1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem 0.95rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 1.35rem;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 0.85rem 1.8rem rgba(36, 10, 90, 0.19);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.link-button--primary {
  color: #502097;
  background: #fff;
}

.link-button--secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(63, 25, 134, 0.63);
}

.arrow {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
}

.link-button--primary .arrow {
  color: #fff;
  background: #6d28d9;
}

.link-button--secondary .arrow {
  background: rgba(255, 255, 255, 0.14);
}

.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2.15rem rgba(36, 10, 90, 0.28);
}

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

.link-button:focus-visible {
  outline: 0.22rem solid #ffeb70;
  outline-offset: 0.22rem;
}

@media (max-width: 23rem) {
  .page-shell {
    padding-inline: 0.75rem;
  }

  .link-card {
    padding: 1.25rem 0.9rem;
    border-radius: 1.55rem;
  }

  .link-button {
    gap: 0.5rem;
    padding: 0.85rem 0.8rem 0.85rem 1rem;
    font-size: 0.94rem;
  }

  .arrow {
    width: 2rem;
    height: 2rem;
  }

  .status-dot {
    width: 0.58rem;
    height: 0.58rem;
  }
}

@media (min-width: 48rem) {
  .page-shell {
    padding-block: 2.5rem;
  }

  .link-card {
    padding: 2.5rem;
    border-radius: 2.4rem;
  }

  .avatar-frame {
    width: 8.25rem;
  }

  .intro h1 {
    font-size: 2.75rem;
  }

  .intro p,
  .link-button {
    font-size: 1.1rem;
  }
}

@media (min-width: 30rem) and (max-width: 47.99rem) {
  .page-shell {
    padding-block: 2rem;
  }

  .link-card {
    padding: 2rem;
  }

  .avatar-frame {
    width: 7.5rem;
  }

  .intro h1 {
    font-size: 2.35rem;
  }

  .intro p,
  .link-button {
    font-size: 1.06rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .status-dot {
    animation: none;
  }
}

@media (prefers-contrast: more) {
  .link-card,
  .link-button--secondary {
    border-color: #fff;
  }

  .intro p {
    color: #fff;
  }
}
