/* Haklar motion demo — scoped to .mn-ugc #kullanim-haklari.
   Premium / restrained. No libraries. Not for the live preview. */

.mn-ugc #kullanim-haklari.mn-anim-ready .r-item{
  --rx: 0deg;
  --ry: 0deg;
  transform: translate3d(0, 22px, 0) !important;
  opacity: 0 !important;
  transition:
    opacity .7s cubic-bezier(.22,1,.36,1),
    transform .7s cubic-bezier(.22,1,.36,1),
    border-color .35s ease,
    box-shadow .35s ease;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}
.mn-ugc #kullanim-haklari .r-item:nth-child(1){ transition-delay: 0s; }
.mn-ugc #kullanim-haklari .r-item:nth-child(2){ transition-delay: .09s; }
.mn-ugc #kullanim-haklari .r-item:nth-child(3){ transition-delay: .18s; }
.mn-ugc #kullanim-haklari .r-item:nth-child(4){ transition-delay: .27s; }

.mn-ugc #kullanim-haklari.is-in .r-item,
.mn-ugc #kullanim-haklari .r-item.is-in{
  opacity: 1 !important;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0,0,0) !important;
}

.mn-ugc #kullanim-haklari .r-item.is-lit{
  border-color: rgba(66,255,130,.5);
  box-shadow:
    0 10px 28px rgba(0,0,0,.28),
    0 0 0 1px rgba(66,255,130,.12),
    0 0 24px rgba(131,18,255,.18);
}

/* Scope chips: soft glow pulse on the green "on" pills */
.mn-ugc #kullanim-haklari .r-item.is-in .seg span.on{
  animation: mn-hk-glow 2.8s ease-in-out infinite;
}
@keyframes mn-hk-glow{
  0%, 100%{ box-shadow: 0 0 16px rgba(66,255,130,.4); }
  50%{ box-shadow: 0 0 22px rgba(66,255,130,.7), 0 0 36px rgba(44,176,255,.18); }
}

/* Term chip selection marker.
   Must beat `.seg.mn-hk-track span { position: relative }` so the marker
   stays out of the flex flow (otherwise the 3/6/12 chips shift right). */
.mn-ugc #kullanim-haklari .seg.mn-hk-track{
  position: relative;
  isolation: isolate;
  justify-content: flex-start !important;
}
.mn-ugc #kullanim-haklari .mn-hk-marker,
.mn-ugc #kullanim-haklari .seg.mn-hk-track > .mn-hk-marker{
  position: absolute !important;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: #42FF82;
  box-shadow: 0 0 16px rgba(66,255,130,.55);
  z-index: 0;
  pointer-events: none;
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  transition: transform .55s cubic-bezier(.22,1,.36,1), width .55s cubic-bezier(.22,1,.36,1);
}
.mn-ugc #kullanim-haklari .seg.mn-hk-track span{
  position: relative;
  z-index: 1;
  transition: color .35s ease, background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.mn-ugc #kullanim-haklari .seg.mn-hk-track > .mn-hk-marker{
  position: absolute !important;
  z-index: 0;
}
.mn-ugc #kullanim-haklari .seg.mn-hk-track span.on{
  background: transparent;
  border-color: transparent;
  color: #06130b;
  box-shadow: none;
  animation: none;
}

/* Icon stroke draw */
.mn-ugc #kullanim-haklari .r-item h4 i svg path,
.mn-ugc #kullanim-haklari .r-item h4 i svg circle,
.mn-ugc #kullanim-haklari .r-item h4 i svg polyline{
  stroke-dasharray: 64;
  stroke-dashoffset: 64;
}
.mn-ugc #kullanim-haklari .r-item.is-in h4 i svg path,
.mn-ugc #kullanim-haklari .r-item.is-in h4 i svg circle,
.mn-ugc #kullanim-haklari .r-item.is-in h4 i svg polyline{
  animation: mn-hk-draw .9s ease forwards;
  animation-delay: inherit;
}
.mn-ugc #kullanim-haklari .r-item:nth-child(1) h4 i svg *{ animation-delay: .12s; }
.mn-ugc #kullanim-haklari .r-item:nth-child(2) h4 i svg *{ animation-delay: .2s; }
.mn-ugc #kullanim-haklari .r-item:nth-child(3) h4 i svg *{ animation-delay: .28s; }
.mn-ugc #kullanim-haklari .r-item:nth-child(4) h4 i svg *{ animation-delay: .36s; }
@keyframes mn-hk-draw{
  to{ stroke-dashoffset: 0; }
}

/* 05 parallax — JS sets --hk-py */
.mn-ugc #kullanim-haklari .snum{
  transition: transform .2s linear;
  transform: translate3d(0, var(--hk-py, 0px), 0) !important;
  will-change: transform;
}
/* Mobile uses the same translate as desktop (05 is no longer vertically centered). */

@media (prefers-reduced-motion: reduce){
  .mn-ugc #kullanim-haklari .r-item,
  .mn-ugc #kullanim-haklari .r-item.is-in,
  .mn-ugc #kullanim-haklari .mn-hk-marker,
  .mn-ugc #kullanim-haklari .snum{
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    will-change: auto;
  }
  .mn-ugc #kullanim-haklari .r-item h4 i svg path,
  .mn-ugc #kullanim-haklari .r-item h4 i svg circle,
  .mn-ugc #kullanim-haklari .r-item h4 i svg polyline,
  .mn-ugc #kullanim-haklari .r-item.is-in h4 i svg path,
  .mn-ugc #kullanim-haklari .r-item.is-in h4 i svg circle{
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none !important;
  }
  .mn-ugc #kullanim-haklari .r-item.is-in .seg span.on{
    animation: none !important;
  }
}
