:root {
  color-scheme: dark;
  --text: #f8f9ff;
  --muted: #b6bbd5;
  --subtle: #898faa;
  --surface: rgba(15, 18, 51, 0.68);
  --surface-hover: rgba(23, 27, 67, 0.86);
  --border: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(166, 177, 255, 0.4);
  --accent: #8d8cff;
  --accent-light: #b9b8ff;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background-color: #090b24;
  background-image:
    radial-gradient(circle at 14% 12%, rgba(67, 202, 255, 0.28) 0, transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(143, 92, 255, 0.34) 0, transparent 32rem),
    radial-gradient(circle at 48% 100%, rgba(255, 82, 174, 0.18) 0, transparent 34rem),
    linear-gradient(145deg, #07091d 0%, #111342 45%, #171044 72%, #080a20 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  content: "";
  filter: blur(12px);
  pointer-events: none;
}

body::before {
  top: 16%;
  left: 7%;
  width: 16rem;
  height: 16rem;
  background: rgba(72, 162, 255, 0.08);
}

body::after {
  right: 8%;
  bottom: 8%;
  width: 20rem;
  height: 20rem;
  background: rgba(176, 91, 255, 0.1);
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 72px 22px 40px;
}

.profile {
  width: min(100%, 660px);
  animation: enter 650ms cubic-bezier(.2, .8, .2, 1) both;
}

.identity {
  margin-bottom: 36px;
  text-align: center;
}

.brand-mark {
  display: grid;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 25px;
  background: linear-gradient(145deg, #60d7ff 0%, #7977ff 46%, #b95cff 100%);
  box-shadow: 0 22px 60px rgba(84, 91, 255, 0.32), inset 0 1px rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -3px;
}

.brand-mark span {
  transform: translateX(-1px);
}

.eyebrow {
  margin-bottom: 10px;
  color: #a9adff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 3.1rem);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.verified {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #69d9ff, #8d78ff);
  box-shadow: 0 5px 16px rgba(109, 133, 255, 0.35);
  color: #0b0c26;
  font-size: 13px;
  font-weight: 900;
}

.identity p {
  max-width: 570px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.links {
  display: grid;
  gap: 13px;
}

.link-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 32px;
  align-items: center;
  min-height: 82px;
  padding: 14px 18px 14px 15px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)), var(--surface);
  box-shadow: 0 18px 50px rgba(3, 4, 20, 0.2), inset 0 1px rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.link-card:hover {
  border-color: var(--border-hover);
  background-color: var(--surface-hover);
  box-shadow: 0 22px 55px rgba(3, 4, 20, 0.32), 0 0 30px rgba(112, 108, 255, 0.08);
  transform: translateY(-3px);
}

.link-card:focus-visible {
  outline: 3px solid rgba(136, 154, 255, 0.65);
  outline-offset: 3px;
}

.link-card.featured {
  border-color: rgba(153, 151, 255, 0.38);
  background: linear-gradient(105deg, rgba(108, 102, 255, 0.2), rgba(23, 25, 64, 0.72) 65%);
}

.product-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22), 0 9px 20px rgba(0, 0, 0, 0.16);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-icon.violet {
  background: linear-gradient(145deg, #9b7cff, #6657e8);
}

.product-icon.blue {
  background: linear-gradient(145deg, #55b7ff, #3474df);
}

.product-icon.cyan {
  background: linear-gradient(145deg, #34d5d2, #1594b9);
}

.product-icon.rose {
  background: linear-gradient(145deg, #ff7db8, #d84d86);
}

.product-icon.green {
  background: linear-gradient(145deg, #57d89c, #22946c);
}

.product-icon.amber {
  background: linear-gradient(145deg, #ffc764, #dd803c);
}

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

.title-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.link-copy strong {
  overflow: hidden;
  font-size: 1rem;
  letter-spacing: -0.015em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag {
  flex: none;
  padding: 3px 7px;
  border: 1px solid rgba(185, 184, 255, 0.3);
  border-radius: 999px;
  background: rgba(145, 141, 255, 0.14);
  color: #cbcaff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: var(--subtle);
  font-size: 16px;
  transition: color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.link-card:hover .arrow {
  background: rgba(152, 155, 255, 0.14);
  color: var(--accent-light);
  transform: translate(2px, -2px);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 32px;
  color: var(--subtle);
  font-size: 0.76rem;
  text-align: center;
}

.status-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62dea0;
  box-shadow: 0 0 12px rgba(98, 222, 160, 0.8);
}

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

@media (max-width: 520px) {
  .page-shell {
    padding: 46px 14px 30px;
  }

  .identity {
    margin-bottom: 28px;
  }

  .brand-mark {
    width: 78px;
    height: 78px;
    margin-bottom: 20px;
    border-radius: 22px;
    font-size: 22px;
  }

  .identity p {
    font-size: 0.93rem;
  }

  .link-card {
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    min-height: 76px;
    padding: 12px 13px;
    border-radius: 17px;
  }

  .product-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 0.72rem;
  }

  .link-copy {
    padding: 0 11px;
  }

  .link-copy small {
    font-size: 0.73rem;
  }

  .arrow {
    width: 27px;
    height: 27px;
  }
}

@media (max-width: 370px) {
  .link-copy small {
    white-space: normal;
  }

  .tag {
    display: none;
  }
}

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