/*
 * "Liquid glass" ipucu: bulanık, ışığı kıran, kenarları parlayan şeffaf cam hap.
 * Seçkiler bölümüne girildiğinde dokunmatik cihazlarda kısa süre görünür (js/ui/scroll-hint.js).
 */
.scroll-hint {
  --hint-opacity: 0.72; /* camın genel saydamlığı: düşük = daha şeffaf */
  position: absolute;
  left: 50%;
  bottom: 4.75rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: 0.65rem 1.3rem 0.65rem 0.8rem;
  border-radius: 999px;
  color: rgb(255 255 255 / 0.96);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgb(0 0 0 / 0.35);
  isolation: isolate;
  overflow: hidden;
  pointer-events: none;

  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.20), rgb(255 255 255 / 0.04) 55%, rgb(255 255 255 / 0.11));
  -webkit-backdrop-filter: blur(16px) saturate(1.9) brightness(1.08);
  backdrop-filter: blur(16px) saturate(1.9) brightness(1.08);
  border: 1px solid rgb(255 255 255 / 0.32);
  box-shadow:
    inset 0 1.5px 0 rgb(255 255 255 / 0.65),     /* üst kenar parlaması */
    inset 0 -1.5px 0 rgb(255 255 255 / 0.12),
    inset 0 0 22px rgb(255 255 255 / 0.14),       /* cam içi aydınlık */
    0 12px 32px rgb(0 0 0 / 0.32);                /* zeminden ayrılan gölge */

  opacity: 0;
  transform: translate(-50%, 14px) scale(0.96);
  /* 0,5 sn solarak gelir, 0,5 sn solarak kaybolur (toplam görünme süresi scroll-hint.js'te) */
  transition: opacity 0.5s ease, transform 0.5s var(--ease);
}
.scroll-hint.is-visible {
  opacity: var(--hint-opacity);
  transform: translate(-50%, 0) scale(1);
}

/* Cam yüzeyi üzerinde gezinen ışık yansıması */
.scroll-hint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgb(255 255 255 / 0.38) 48%, transparent 62%);
  background-size: 250% 100%;
  background-position: 130% 0;
}
.scroll-hint.is-visible::before { animation: glass-sheen 3.5s var(--ease) both; }

/* Yukarı kaydırma hareketi: cam damlası yukarı süzülür ve iz bırakır */
.scroll-hint__swipe {
  position: relative;
  flex: none;
  width: 2.1rem;
  height: 2.9rem;
}
.scroll-hint__swipe::before,
.scroll-hint__swipe::after {
  content: "";
  position: absolute;
  left: 50%;
  opacity: 0;
}
.scroll-hint__swipe::before { /* damla */
  bottom: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  margin-left: -0.575rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.35) 45%, rgb(255 255 255 / 0.12) 75%);
  border: 1px solid rgb(255 255 255 / 0.6);
  box-shadow: inset 0 -2px 4px rgb(255 255 255 / 0.25), 0 3px 10px rgb(0 0 0 / 0.25);
}
.scroll-hint__swipe::after { /* iz */
  bottom: 1.2rem;
  width: 2px;
  height: 1.3rem;
  margin-left: -1px;
  border-radius: 2px;
  background: linear-gradient(to top, rgb(255 255 255 / 0.6), transparent);
}
.scroll-hint.is-visible .scroll-hint__swipe::before { animation: swipe-up 1s var(--ease) infinite; }
.scroll-hint.is-visible .scroll-hint__swipe::after { animation: swipe-trail 1s var(--ease) infinite; }

@keyframes glass-sheen {
  from { background-position: 130% 0; }
  to   { background-position: -40% 0; }
}
@keyframes swipe-up {
  0%   { transform: translateY(0.4rem) scale(0.85); opacity: 0; }
  25%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(-1.4rem) scale(1); opacity: 0; }
}
@keyframes swipe-trail {
  0%, 15% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
  50%     { transform: scaleY(1); opacity: 0.9; transform-origin: bottom; }
  100%    { transform: scaleY(0.4); opacity: 0; transform-origin: top; }
}
