/* SECRET HEAVEN PRODUCTIONS — Candy Links | Concept: Jin Jeyo */
:root {
  --shp-candy-palette: #58f4dd, #6aaaff, #b578ff, #ff88d1, #ffd4a4, #93f7db;
}
a.shp-candy-link {
  color: #a9adb8;
  text-decoration-color: rgba(155,165,181,.48);
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
  border-radius: .25em;
  transition: filter 220ms ease, text-decoration-color 220ms ease;
}
a.shp-candy-link .shp-candy-text {
  position: relative;
  display: inline;
  color: #aeb1bb; /* Grey foundation stays below the gradient */
}
a.shp-candy-link .shp-candy-text::after {
  content: attr(data-shp-candy-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  white-space: pre;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(105deg, var(--shp-candy-palette));
  background-size: 380% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shp-candy-flow 7s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 4px rgba(111,218,220,.22));
}
a.shp-candy-link:hover .shp-candy-text::after,
a.shp-candy-link:focus-visible .shp-candy-text::after {
  animation-duration: 1.8s;
  filter: drop-shadow(0 0 7px rgba(145,209,255,.65));
}
a.shp-candy-link:hover { text-decoration-color: rgba(210,156,249,.85); }
a.shp-candy-link:focus-visible { outline: 2px solid #72e4d2; outline-offset: 4px; }
/* Link tiles and icon-only links: subtle accent without altering layout/backgrounds. */
a.shp-candy-link.shp-candy-icon-only {
  filter: drop-shadow(0 0 4px rgba(86,255,225,.33)) drop-shadow(0 0 6px rgba(230,124,255,.23));
}
a.shp-candy-link.shp-candy-icon-only:hover,
a.shp-candy-link.shp-candy-icon-only:focus-visible {
  filter: drop-shadow(0 0 6px rgba(86,255,225,.75)) drop-shadow(0 0 10px rgba(230,124,255,.55));
}
@keyframes shp-candy-flow {
  0% { background-position: 5% 50%; }
  100% { background-position: 95% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  a.shp-candy-link, a.shp-candy-link .shp-candy-text::after {
    animation: none !important; transition: none !important;
  }
}
