/* TrendUp — Liquid Motion System
   Premium glass depth, restrained reflections and tactile motion.
   Palette remains black / white / TrendUp orange. No layout or business-logic changes.
*/
:root {
  --tu-glass-white: rgba(255,255,255,.72);
  --tu-glass-line: rgba(255,255,255,.78);
  --tu-glass-shadow: 0 16px 42px rgba(15,23,42,.075), inset 0 1px 0 rgba(255,255,255,.9);
  --tu-motion: cubic-bezier(.2,.75,.25,1);
}

/* Layered glass only on high-level chrome and interactive surfaces. */
.topbar {
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  backdrop-filter: blur(22px) saturate(155%);
  border-bottom-color: rgba(226,232,240,.62);
}
.topbar.is-stuck { box-shadow: 0 10px 30px rgba(15,23,42,.065); }
.icon-btn, .filter-btn, .search, .chip, .location-pill, #currencyBtn {
  transition: transform .28s var(--tu-motion), box-shadow .28s var(--tu-motion),
    border-color .28s ease, background .28s ease;
}
.icon-btn:hover, .filter-btn:hover, .chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(15,23,42,.09), inset 0 1px 0 rgba(255,255,255,.9);
}
.icon-btn:active, .filter-btn:active, .btn:active { transform: scale(.975); }
.search:focus-within {
  box-shadow: 0 0 0 4px rgba(255,106,0,.10), 0 12px 28px rgba(15,23,42,.07);
}

/* Hero gets a soft moving light, without changing its artwork or colors. */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, transparent 28%, rgba(255,255,255,.14) 48%, transparent 68%);
  transform: translateX(-125%);
  animation: tuHeroSheen 1.5s .45s var(--tu-motion) 1 both;
}
.hero__content, .hero__art { position: relative; z-index: 1; }
.hero__card { transition: transform .55s var(--tu-motion), box-shadow .55s var(--tu-motion); }
.hero__card--main { box-shadow: 0 24px 55px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.35); }
.hero__art:hover .hero__card--main { transform: translateY(-5px) rotate(-1deg); }

/* Product tiles: subtle lift and image zoom, never flashy. */
.listing-card {
  overflow: hidden;
  border: 1px solid rgba(226,232,240,.8);
  transition: transform .32s var(--tu-motion), box-shadow .32s var(--tu-motion), border-color .32s ease;
}
.listing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,106,0,.2);
  box-shadow: 0 18px 38px rgba(15,23,42,.105), inset 0 1px 0 rgba(255,255,255,.9);
}
.listing-card__media img { transition: transform .65s var(--tu-motion); }
.listing-card:hover .listing-card__media img { transform: scale(1.045); }

/* Glass panels: translucent white with a fine highlight, not a global blur. */
.modal__panel, .shop-hero, .pd-media, .wallet-history, .glass-surface {
  border-color: rgba(255,255,255,.72);
  box-shadow: 0 24px 70px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.86);
}
.modal__panel {
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}
.btn {
  transition: transform .24s var(--tu-motion), box-shadow .24s var(--tu-motion),
    background .2s ease, filter .2s ease;
}
.btn--primary:hover, .hero__cta .btn:first-child:hover {
  box-shadow: 0 15px 32px rgba(255,106,0,.34);
  filter: saturate(1.06);
}
.topnav__link { transition: color .22s ease, background .22s ease, transform .22s var(--tu-motion); }
.topnav__link:hover { transform: translateY(-1px); }

/* Entrance motion is deliberately short and respects reduced-motion settings. */
.view:not([hidden]) { animation: tuViewIn .38s var(--tu-motion) both; }
@keyframes tuViewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes tuHeroSheen { to { transform: translateX(125%); } }

@media (hover: none) {
  .listing-card:hover, .icon-btn:hover, .filter-btn:hover, .chip:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
