.links-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -6rem, rgb(255 196 0 / 18%), transparent 25rem),
    #0b0b0c;
}

.links-main {
  padding: clamp(32px, 5vw, 58px) 16px clamp(72px, 8vw, 104px);
}

.links-shell {
  width: min(700px, 100%);
  margin-inline: auto;
}

.profile-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.links-brand {
  display: inline-flex;
  padding: 4px;
}

.links-brand img {
  width: 172px;
  height: auto;
}

.profile-photo {
  width: 156px;
  aspect-ratio: 1;
  margin-top: 28px;
  padding: 5px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow:
    0 0 0 8px rgb(255 196 0 / 8%),
    0 22px 54px rgb(0 0 0 / 38%);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.profile-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 26px;
}

.profile-copy .eyebrow {
  justify-content: center;
  margin-bottom: 14px;
  font-size: 0.62rem;
}

.profile-copy h1 {
  margin: 0;
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(2.7rem, 7vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.profile-copy > p:not(.eyebrow) {
  max-width: 510px;
  margin: 17px 0 0;
  color: #aaa7a0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.profile-button {
  width: min(360px, 100%);
  margin-top: 24px;
}

.links-content {
  margin-top: clamp(46px, 7vw, 68px);
}

.links-heading {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.links-heading .eyebrow { justify-content: center; }

.links-heading h2 {
  margin: 0;
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(2.35rem, 7vw, 3.6rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.links-heading > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.link-group { padding-top: 40px; }

.group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.group-heading h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.group-heading > span {
  color: #777570;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.link-list {
  display: grid;
  gap: 11px;
}

.link-card {
  min-height: 102px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(circle at 88% 14%, rgb(255 196 0 / 6%), transparent 28%), #151517;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgb(255 196 0 / 62%);
  background-color: #1a1a1d;
}

.featured-link {
  border-color: rgb(255 196 0 / 50%);
  background: radial-gradient(circle at 84% 12%, rgb(255 196 0 / 17%), transparent 34%), #181713;
}

.product-link > img {
  width: 68px;
  height: 68px;
  border-radius: 17px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgb(0 0 0 / 25%);
}

.link-card-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.link-card-copy small {
  margin-bottom: 2px;
  color: var(--yellow);
  font-size: 0.56rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.link-card-copy strong {
  font-size: 1.13rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.link-card-copy > span {
  margin-top: 3px;
  overflow: hidden;
  color: #93918c;
  font-size: 0.79rem;
  line-height: 1.42;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--yellow);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.link-card:hover .link-arrow {
  transform: rotate(8deg);
  background: var(--yellow);
  color: var(--black);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.store-card {
  min-height: 108px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 18px;
  overflow: hidden;
  border-radius: 20px;
  color: #101011;
  transition: transform 180ms ease, filter 180ms ease;
}

.store-card:hover,
.store-card:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.amazon-card { background: #ffb525; }
.mercado-card { background: #ffe600; }

.store-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}

.store-mark-wide {
  border: 0;
  border-radius: 0;
  font-family: "Segoe UI", sans-serif;
  font-size: 1.1rem;
}

.store-card > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.store-card small {
  font-size: 0.68rem;
  font-weight: 650;
}

.store-card strong {
  font-size: 1.03rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.social-group { padding-bottom: 8px; }

.social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.social-links a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #cbc8c1;
  font-size: 0.84rem;
  font-weight: 750;
  transition: border-color 180ms ease, color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
}

.links-footer {
  padding: 0 16px;
  border-top: 1px solid var(--line);
  background: #070708;
}

.links-footer > div {
  width: min(700px, 100%);
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-inline: auto;
  color: #74726d;
  font-size: 0.73rem;
}

.links-footer p { margin: 0; }

.links-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.links-footer a { transition: color 180ms ease; }
.links-footer a:hover { color: var(--yellow); }

@media (max-width: 520px) {
  .links-main { padding-top: 26px; }

  .links-brand img { width: 150px; }

  .profile-photo {
    width: 136px;
    margin-top: 22px;
    padding: 4px;
  }

  .profile-copy { margin-top: 22px; }
  .profile-copy .eyebrow { margin-bottom: 12px; }
  .profile-copy h1 { font-size: 2.65rem; }

  .profile-copy > p:not(.eyebrow) {
    max-width: 350px;
    margin-top: 14px;
    font-size: 0.89rem;
  }

  .profile-button {
    min-height: 50px;
    margin-top: 20px;
  }

  .links-content { margin-top: 44px; }
  .links-heading { padding-bottom: 28px; }
  .links-heading .eyebrow { margin-bottom: 14px; }
  .links-heading h2 { font-size: 2.25rem; }
  .links-heading > p:not(.eyebrow) { margin-top: 13px; }
  .link-group { padding-top: 34px; }

  .link-card {
    min-height: 96px;
    grid-template-columns: 62px minmax(0, 1fr) 32px;
    gap: 13px;
    padding: 15px;
    border-radius: 18px;
  }

  .product-link > img {
    width: 62px;
    height: 62px;
    border-radius: 15px;
  }

  .link-card-copy > span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
  }

  .link-arrow {
    width: 32px;
    height: 32px;
  }

  .store-grid { grid-template-columns: 1fr; }

  .links-footer > div {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 24px;
  }

  .links-footer nav { justify-content: flex-start; }
}

@media (max-width: 350px) {
  .preview-bar span { display: none; }
  .link-card { grid-template-columns: 56px minmax(0, 1fr) 30px; padding: 13px; }
  .product-link > img { width: 56px; height: 56px; }
  .social-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .link-card:hover,
  .link-card:focus-visible,
  .store-card:hover,
  .store-card:focus-visible { transform: none; }
}
