/* ValueVille MALL: motion system (plain CSS, no libraries).
   Loaded after premium.css. Only transform/opacity are animated.
   Entrances .7-.8s ease · hovers .2-.25s · image zooms .6s · loops 2-5s.

   NOTE: the reveal class is .m-rv / .m-in (not .rv / .in) because the site
   already uses .rv for review cards and .in inside the announcement bar. */

/* ---------- 6. global ---------- */
html{scroll-behavior:smooth}

/* ---------- 1. page-load entrance (hero) ---------- */
@keyframes rise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
.hero .hero-in>h1{animation:rise .8s .05s both}
.hero .hero-in>.row{animation:rise .8s .3s both}
/* let the hero badge lift on hover once its entrance has finished */
.hero .hero-in>.v-badge{animation-fill-mode:backwards}

/* ---------- 2. scroll reveal ---------- */
.js .m-rv{opacity:0;transform:translateY(30px);transition:opacity .7s ease,transform .7s ease}
.js .m-rv.m-in{opacity:1;transform:none}

/* ---------- 3. rotating headline word ---------- */
#role{display:inline-block;color:inherit;transition:opacity .35s,transform .35s}
#role.out{opacity:0;transform:translateY(8px)}

/* ---------- 4. ambient loops ---------- */
/* floating chips in the hero */
@keyframes wob{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg) translateY(-3px)}}
.v-chip{animation:wob 5s ease-in-out infinite}
.v-chip.b{animation-delay:-1.7s}
.v-chip.c{animation-delay:-3.3s}

/* green status dot (the hero card's .nepa dot, or any element with .dot-live) */
@keyframes pulse{0%,100%{box-shadow:0 0 0 3px rgba(34,197,94,.25)}50%{box-shadow:0 0 0 8px rgba(34,197,94,0)}}
.nepa i,.dot-live{animation:pulse 2s infinite}

/* map marker radar ping: put class "map-ping" on an SVG <circle> (stroke, no fill) */
@keyframes ping{0%{r:6;opacity:.6}100%{r:26;opacity:0}}
.map-ping{animation:ping 2.4s infinite}

/* ---------- 5. hover micro-interactions ---------- */
/* primary buttons */
.btn{transition:transform .2s,box-shadow .15s,background .15s}
.btn:not(:disabled):hover{transform:translateY(-3px)}
.btn:not(:disabled):active{transform:none}

/* link pills */
.v-badge{transition:box-shadow .2s,transform .2s,border-color .2s}
.v-track a{transition:color .15s,box-shadow .15s,transform .2s,border-color .2s}
.sh .more,nav.subs a,.jump a{transition:background .15s,transform .2s,border-color .2s}
.v-badge:hover,.v-track a:hover,.sh .more:hover,nav.subs a:hover,.jump a:hover{transform:translateY(-3px)}

/* cards */
.cat{transition:box-shadow .2s,background .2s,transform .25s}
.v-card,.v-plan{transition:transform .25s}
.v-step{transition:box-shadow .2s,transform .25s}
.pil,.plan,.adc{transition:transform .25s,border-color .2s}
.cat:hover,.v-card:hover,.v-plan:hover,.v-step:hover,.pil:hover,.plan:hover,.adc:hover{transform:translateY(-4px)}
.pc{transition:box-shadow .25s,transform .25s}
.pc:hover{transform:translateY(-4px) !important}

/* product / advert preview image zoom (card clips it with overflow:hidden) */
.pc img,.adc img{transition:transform .6s}
.pc:hover img,.adc:hover img{transform:scale(1.06)}

/* decorative background SVG inside a card: add class "deco-svg" to it */
.deco-svg{transition:transform .6s}
.v-card:hover .deco-svg,.v-plan:hover .deco-svg,.pc:hover .deco-svg,.cat:hover .deco-svg{transform:scale(1.1) rotate(2deg)}

/* tabs */
.tabs button,.tabs3 button{transition:background .2s,color .2s}

/* small overlay buttons on images: wishlist heart, gallery arrows, advert close */
.heart,.pc .heart,.gnav,.adx{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform .2s,background .2s,color .2s}
.heart:hover,.pc .heart:hover,.adx:hover{transform:translateY(-2px);background:var(--o,#f26a1b);color:#fff}
.gnav{transition:transform .2s,background .2s,color .2s}
.gnav:hover{transform:translateY(calc(-50% - 2px));background:var(--o,#f26a1b);color:#fff}

/* ---------- accessibility ---------- */
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none !important;transition:none !important}
  .js .m-rv{opacity:1;transform:none}
  html{scroll-behavior:auto}
}
@media print{.js .m-rv{opacity:1;transform:none}}
