:root {
  --links-bg-deep: #1a1511;
  --links-bg-soft: #2a2118;
  --links-line: rgba(246, 217, 163, 0.18);
  --links-copy: rgba(255, 248, 239, 0.92);
  --links-copy-soft: rgba(255, 248, 239, 0.7);
}

html,
body {
  min-height: 100%;
}

.links-body {
  margin: 0;
  min-height: 100vh;
  color: var(--links-copy);
  background:
    radial-gradient(circle at top left, rgba(197, 160, 89, 0.14), transparent 32%),
    radial-gradient(circle at bottom right, rgba(197, 160, 89, 0.1), transparent 26%),
    linear-gradient(180deg, var(--links-bg-soft) 0%, var(--links-bg-deep) 100%);
}

.links-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.links-ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.5;
}

.links-ambient-left {
  width: 260px;
  height: 260px;
  top: 6%;
  left: -90px;
  background: rgba(197, 160, 89, 0.14);
}

.links-ambient-right {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: 6%;
  background: rgba(244, 217, 163, 0.1);
}

.links-page {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.links-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.links-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(246, 217, 163, 0.28);
  border-radius: 999px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 217, 163, 0.9);
  background: rgba(255, 255, 255, 0.03);
}

.links-hero__logo {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
  filter: sepia(1) saturate(0.9) hue-rotate(356deg) brightness(1.08);
}

.links-hero__handle {
  margin: 0;
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 217, 163, 0.76);
}

.links-hero__title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.links-hero__subtitle {
  margin: 0;
  max-width: 44ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--links-copy-soft);
}

.links-list {
  display: grid;
  gap: 1rem;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.2rem;
  border-radius: 24px;
  border: 1px solid var(--links-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(246, 217, 163, 0.36);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.link-card:focus-visible {
  outline: 3px solid rgba(246, 217, 163, 0.6);
  outline-offset: 3px;
}

.link-card__content {
  display: grid;
  gap: 0.34rem;
  min-width: 0;
}

.link-card__eyebrow {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 217, 163, 0.72);
}

.link-card__title {
  display: block;
  font-family: var(--font-headline);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 248, 239, 0.96);
}

.link-card__description {
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgba(255, 248, 239, 0.62);
}

.link-card__arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 217, 163, 0.2);
  color: rgba(246, 217, 163, 0.92);
  background: rgba(255, 255, 255, 0.03);
  font-size: 1rem;
}

.links-footer {
  margin-top: 2rem;
  text-align: center;
}

.links-footer__text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 248, 239, 0.46);
}

@media (max-width: 767px) {
  .links-page {
    padding: 1.5rem 1rem 2.25rem;
  }

  .links-hero {
    gap: 0.8rem;
    margin-bottom: 1.75rem;
  }

  .links-hero__logo {
    width: min(100%, 320px);
  }

  .links-hero__subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .link-card {
    padding: 1.1rem 1rem;
    border-radius: 20px;
    align-items: flex-start;
  }

  .link-card__title {
    font-size: 1.3rem;
  }

  .link-card__description {
    font-size: 0.9rem;
  }

  .link-card__arrow {
    width: 2.45rem;
    height: 2.45rem;
  }
}
