/* "Scroll down to see more": typeset like part of the card — gold foil italic with a slow shimmer,
   a fine gold ornament with a diamond (like the card's dividers) and a thin gold thread with a glowing bead gliding down. */
.scroll-cue {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 4px 10px 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}
.scroll-cue.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.scroll-cue.is-gone { opacity: 0; transform: translateY(8px); pointer-events: none; }

/* gold foil text with a light that slowly sweeps across it */
.scroll-cue__text {
  font: italic 400 clamp(12.5px, 1.25svh + 3px, 16px) / 1.2 var(--font-serif);
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: linear-gradient(100deg, #8a5a1c 0%, #a6742e 35%, #f3d58f 50%, #a6742e 65%, #8a5a1c 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: cue-shine 3.2s ease-in-out infinite;
}
html[lang="hi"] .scroll-cue__text { font-style: normal; letter-spacing: 0; }
@keyframes cue-shine { 0% { background-position: 100% 0; } 60%, 100% { background-position: -50% 0; } }

/* fine ornament: hairlines fading out to both sides, a small gold diamond in the middle */
.scroll-cue__ornament {
  position: relative;
  width: clamp(110px, 30vw, 170px);
  height: 7px;
  background: linear-gradient(90deg, transparent, rgba(176, 128, 58, 0.8) 30%, transparent 46% 54%, rgba(176, 128, 58, 0.8) 70%, transparent) center / 100% 1px no-repeat;
}
.scroll-cue__ornament::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* a thin gold thread hanging down with a glowing bead that glides along it, ending in a tiny gold chevron */
.scroll-cue__thread {
  position: relative;
  width: 1px;
  height: clamp(16px, 2.6svh, 26px);
  background: linear-gradient(rgba(176, 128, 58, 0.75), rgba(176, 128, 58, 0.15));
}
.scroll-cue__thread::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f6dc9a;
  box-shadow: 0 0 6px 2px rgba(240, 190, 90, 0.85);
  transform: translateX(-50%);
  animation: cue-bead 1.8s cubic-bezier(.45,0,.55,1) infinite;
}
.scroll-cue__thread::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateX(-50%) rotate(45deg);
}
@keyframes cue-bead {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: calc(100% - 4px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue__text, .scroll-cue__thread::before { animation: none; }
}

/* phones / portrait: compact — the ornament lines flank the text instead of a separate row, shorter thread,
   and the hint sits just above the language pill's row so the two never meet */
@media (max-aspect-ratio: 1/1) {
  .scroll-cue { gap: 3px; padding: 0 6px; }
  .scroll-cue__ornament { display: none; }
  .scroll-cue__text { display: flex; align-items: center; gap: 8px; }
  .scroll-cue__text::before, .scroll-cue__text::after {
    content: "";
    width: clamp(14px, 6vw, 30px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(176, 128, 58, 0.85));
  }
  .scroll-cue__text::after { background: linear-gradient(90deg, rgba(176, 128, 58, 0.85), transparent); }
  .scroll-cue__thread { height: clamp(10px, 1.6svh, 16px); }
}
