/* Links page (links.html): the profile header, icon row, groups of link buttons
   ({{text.links.groups|linkgroups}}), compact button rows and footer. Copied into the site by
   sbs-pkg-sync. Load it before the site's styles.css so the site can restyle any of it:
     <link rel="stylesheet" href="links.css" /> … <link rel="stylesheet" href="styles.css" />
   Colors and fonts come from the theme tokens (--deep, --abyss, --glow, --display…). */
/* Links page */
.links-page {
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(120% 60% at 50% 0%, var(--sea), transparent 70%),
    linear-gradient(180deg, var(--deep), var(--abyss)) fixed;
}
.links-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 16px 40px;
  display: grid;
  gap: 32px;
}
.links-profile {
  text-align: center;
}
.links-avatar {
  margin: 0 auto;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 52% 48%;
  border: 3px solid var(--glow);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.links-profile h1 {
  font-size: 2.6rem;
  text-transform: uppercase;
  margin: 14px 0 6px;
}
.links-profile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}
.links-icons {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.links-icons a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  transition:
    background 0.15s,
    color 0.15s,
    transform 0.15s;
}
.links-icons a:hover {
  background: var(--glow);
  color: var(--abyss);
  transform: translateY(-2px);
}
.links-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.links-group {
  display: grid;
  gap: 10px;
}
.links-group h2 {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--glow);
  margin: 0 0 2px;
  text-align: center;
}
.link-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 15px 20px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.link-btn span {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
}
.link-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--glow);
  transform: translateY(-2px);
}
.link-btn.featured {
  background: var(--orange);
  border-color: var(--orange);
}
.link-btn.featured span {
  color: #fff;
}
.link-btn.featured:hover {
  background: color-mix(in srgb, var(--orange) 92%, black);
}
.link-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.links-foot {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.links-foot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}
.links-foot address {
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}
.links-foot address a {
  color: var(--glow);
}
.links-copy {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
}
