/* LINK landing CTAs — resplendent Buy + dejected neon Download */
.link-orb-panel {
  justify-content: space-between !important;
  padding-top: clamp(1.25rem, 4vw, 2rem) !important;
  padding-bottom: clamp(0.85rem, 2.5vw, 1.35rem) !important;
  min-height: clamp(20rem, 44dvh, 30rem) !important;
}

.link-orb-panel__buy {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: clamp(0.5rem, 2vw, 1rem);
}

.link-orb-panel__foot {
  flex: 0 0 auto;
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0.15rem;
}

.link-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(100%, 22rem);
  margin: 0 auto;
}

.link-cta-gem {
  display: block;
  width: 100%;
  text-decoration: none;
  text-align: center;
}

.link-cta-gem .founding-tanzanite-label {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 240, 255, 0.35);
}

.link-cta-msg {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: #7a8a9a;
  text-align: center;
  min-height: 1.1rem;
  max-width: 18rem;
}

.link-tier-hidden {
  display: none !important;
}

/* —— Busted cyberpunk neon sign (guilty pleasure) —— */
.link-neon-sign {
  display: block;
  width: min(100%, 20rem);
  text-decoration: none;
  text-align: center;
  position: relative;
  padding: 0.65rem 0.85rem 0.75rem;
  margin: 0 auto;
  background:
    linear-gradient(145deg, rgba(40, 22, 12, 0.92), rgba(18, 12, 8, 0.95)),
    repeating-linear-gradient(
      92deg,
      transparent,
      transparent 3px,
      rgba(80, 45, 20, 0.15) 3px,
      rgba(80, 45, 20, 0.15) 4px
    );
  border: 2px solid #5c3d28;
  border-radius: 4px;
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.65),
    0 4px 14px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 120, 40, 0.12);
  transform: rotate(-0.35deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-neon-sign::before,
.link-neon-sign::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3d2818;
  box-shadow: inset 0 0 2px #000;
}

.link-neon-sign::before {
  top: 5px;
  left: 6px;
}

.link-neon-sign::after {
  top: 5px;
  right: 6px;
}

.link-neon-sign:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow:
    inset 0 0 20px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(255, 60, 120, 0.15);
}

.link-neon-sign__wire {
  display: block;
  font-family: var(--link-font-mono, "Share Tech Mono", monospace);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(180, 100, 60, 0.55);
  margin-bottom: 0.35rem;
}

.link-neon-sign__text {
  display: block;
  font-family: "Audiowide", var(--link-font-display, "Orbitron", sans-serif);
  font-size: clamp(0.78rem, 3.2vw, 0.92rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b9d;
  text-shadow:
    0 0 4px rgba(255, 80, 140, 0.9),
    0 0 12px rgba(255, 40, 100, 0.55),
    0 0 28px rgba(180, 20, 80, 0.35);
  animation: link-neon-bust 4.2s steps(1, end) infinite;
}

.link-neon-sign__sub {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--link-font-mono, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(0, 200, 180, 0.45);
  text-shadow: 0 0 6px rgba(0, 220, 200, 0.25);
  animation: link-neon-sub-flicker 6s ease-in-out infinite;
}

@keyframes link-neon-bust {
  0%,
  100% {
    opacity: 1;
    color: #ff6b9d;
  }
  3% {
    opacity: 0.12;
    color: #4a2030;
  }
  4% {
    opacity: 0.95;
  }
  7% {
    opacity: 0.08;
  }
  8% {
    opacity: 1;
  }
  41% {
    opacity: 0.88;
  }
  42% {
    opacity: 0.15;
  }
  43% {
    opacity: 1;
  }
  72% {
    opacity: 1;
  }
  73% {
    opacity: 0.25;
    text-shadow: none;
  }
  74% {
    opacity: 1;
  }
}

@keyframes link-neon-sub-flicker {
  0%,
  55%,
  100% {
    opacity: 0.5;
  }
  56% {
    opacity: 0.15;
  }
  57% {
    opacity: 0.55;
  }
}

/* Calm motion — sigils, badge, scene (readability over flicker) */
body.link-page.link-calm-ui .link-sigil,
body.link-page.link-calm-ui .link-badge--cyber,
body.link-page.link-calm-ui .link-emblem,
body.link-page.link-calm-ui .link-ingress-sun__core,
body.link-page.link-calm-ui .link-orb-scan,
body.link-page.link-calm-ui .link-orb-swirl,
body.link-page.link-calm-ui .link-sigil-spin,
body.link-page.link-calm-ui .link-sigil-pulse {
  animation: none !important;
}

body.link-page.link-calm-ui .link-chromatic,
body.link-page.link-calm-ui .link-scanline {
  display: none !important;
}

body.link-page.link-calm-ui .link-vrains-scene,
body.link-page.link-calm-ui .link-orb-art,
body.link-page.link-calm-ui .link-orb-focal,
body.link-page.link-calm-ui .link-orb-chroma,
body.link-page.link-calm-ui .link-orb-scan,
body.link-page.link-calm-ui .link-orb-swirl,
body.link-page.link-calm-ui .link-orb-ring {
  animation-duration: 90s !important;
}

/* Neon flicker is intentional on Download — exempt from reduced motion only on sign text */
@media (prefers-reduced-motion: reduce) {
  body.link-page .link-sigil,
  body.link-page .link-badge--cyber,
  body.link-page .founding-princess-fractal-ring {
    animation: none !important;
  }
  .link-neon-sign__text {
    animation: none !important;
    opacity: 0.85;
  }
}
