/* ===== Animasi: keyframes dasar ===== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(227, 16, 31, .35); } 100% { box-shadow: 0 0 0 16px rgba(227, 16, 31, 0); } }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes wordUp { from { transform: translateY(115%) rotate(5deg); } to { transform: none; } }
@keyframes bubbleUp { 0% { transform: translateY(0) scale(.6); opacity: 0; } 12% { opacity: var(--o, .3); } 100% { transform: translateY(-115vh) translateX(40px) scale(1.15); opacity: 0; } }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tickerMove { to { transform: translateX(-50%); } }
@keyframes ringOut { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes waWiggle { 0%, 88%, 100% { transform: rotate(0); } 90% { transform: rotate(-14deg); } 93% { transform: rotate(12deg); } 96% { transform: rotate(-8deg); } }
@keyframes shine { 0% { transform: translateX(-130%) skewX(-20deg); } 55%, 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes confettiFly { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 90px)) rotate(var(--r)); } }
@keyframes rippleOut { to { transform: scale(2.6); opacity: 0; } }
@keyframes spinAng { to { --ang: 360deg; } }
@keyframes imgIn { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: none; } }
@keyframes starPop { 0% { transform: scale(1); } 40% { transform: scale(1.5) rotate(-12deg); } 100% { transform: scale(1); } }
@keyframes starWave { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-7px); } }
@keyframes shakeX { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@keyframes fresh { 0% { box-shadow: 0 0 0 0 rgba(227, 16, 31, .5); transform: translateY(-14px) scale(.96); opacity: 0; } 40% { opacity: 1; transform: none; } 100% { box-shadow: 0 0 0 18px rgba(227, 16, 31, 0); } }
@keyframes flashBox { 0%, 100% { box-shadow: var(--shadow-sm); } 40% { box-shadow: 0 0 0 5px rgba(37, 211, 102, .45), var(--shadow); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes wave1 { to { transform: translateX(-300px); } }
@keyframes wave2 { to { transform: translateX(300px); } }
@keyframes mascotWave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg) translateY(-4px); } }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes irisOut { from { clip-path: circle(150% at 50% 50%); } to { clip-path: circle(0% at 50% 50%); } }
@keyframes plBounce { 0%, 100% { transform: translateY(0) scale(1, 1); } 45% { transform: translateY(-26px) scale(.97, 1.04); } 55% { transform: translateY(-26px); } 90% { transform: translateY(0) scale(1.08, .92); } }
@keyframes plBar { 0% { transform: scaleX(0); } 70% { transform: scaleX(.85); } 100% { transform: scaleX(1); } }
@keyframes rotIn { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rotOut { from { transform: none; opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }
@keyframes tipPop { 0% { transform: translateX(14px) scale(.8); opacity: 0; } 100% { transform: none; opacity: 1; } }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.floaty { animation: floaty 4.6s ease-in-out infinite; }
.page-hero .mascot, .promo-banner .mascot { animation: floaty 5.2s ease-in-out infinite; }

/* ===== Transisi halaman ===== */
body { animation: pageIn .55s cubic-bezier(.2, .7, .2, 1) both; }
body.leaving main, body.leaving .site-footer { opacity: 0; transform: translateY(12px) scale(.995); filter: blur(3px); transition: opacity .24s ease, transform .24s ease, filter .24s ease; }

/* ===== Preloader ===== */
.preloader { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #FF4B57, #D90D1B 55%, #8A0813); color: #fff; overflow: hidden; }
.preloader.is-out { animation: irisOut .8s cubic-bezier(.7, 0, .2, 1) forwards; pointer-events: none; }
.no-intro .preloader { display: none; }
.pl-box { display: grid; place-items: center; gap: 16px; }
.pl-badge { width: 112px; height: 112px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); animation: plBounce 1s cubic-bezier(.4, 0, .3, 1) infinite; }
.pl-badge img { width: 58px; height: auto; }
.pl-name { font-family: var(--font-d); font-size: 20px; letter-spacing: .02em; opacity: .95; }
.pl-bar { width: 190px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: #fff; border-radius: 6px; transform-origin: left; animation: plBar 1.15s cubic-bezier(.3, .7, .3, 1) forwards; }
.pl-dot { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .14); animation: floaty 4s ease-in-out infinite; }
.pl-dot.d1 { width: 220px; height: 220px; left: -60px; top: 12%; } .pl-dot.d2 { width: 140px; height: 140px; right: 8%; top: 18%; animation-delay: -1.5s; } .pl-dot.d3 { width: 300px; height: 300px; right: -80px; bottom: -90px; animation-delay: -3s; }

/* ===== Progress scroll, ke atas, kilau kursor ===== */
.scroll-progress { position: fixed; z-index: 120; top: 0; left: 0; right: 0; height: 3.5px; background: linear-gradient(90deg, #FF4B57, #E3101F, #FFB020); transform: scaleX(0); transform-origin: left; pointer-events: none; box-shadow: 0 0 10px rgba(227, 16, 31, .5); }
.to-top { position: fixed; z-index: 90; right: 22px; bottom: 96px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px) scale(.7); pointer-events: none; transition: opacity .3s, transform .35s cubic-bezier(.2, .9, .3, 1.4); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; } .to-top:hover { transform: translateY(-3px); }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); } .to-top .ring circle { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-dashoffset: 126; }
.cursor-glow { position: fixed; z-index: 1; left: 0; top: 0; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 75, 87, .16), transparent 62%); opacity: 0; transition: opacity .4s; }
.cursor-glow.on { opacity: 1; }

/* ===== Reveal saat scroll ===== */
.fx { opacity: 0; transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), filter .8s ease var(--d, 0s); will-change: opacity, transform; }
.fx[data-anim="up"] { transform: translateY(38px); } .fx[data-anim="down"] { transform: translateY(-26px); }
.fx[data-anim="left"] { transform: translateX(-46px); } .fx[data-anim="right"] { transform: translateX(46px); }
.fx[data-anim="zoom"] { transform: scale(.82); } .fx[data-anim="blur"] { filter: blur(12px); transform: scale(1.03); }
.fx[data-anim="flip"] { transform: perspective(700px) rotateX(-28deg) translateY(30px); transform-origin: top; }
.fx.fx-in { opacity: 1; transform: none; filter: none; }

/* ===== Judul per kata ===== */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(115%); animation: wordUp .85s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 70ms + .15s); animation-play-state: paused; }
.intro-done .w > span, .no-intro .w > span { animation-play-state: running; }
.reduce-motion .w > span { transform: none; }

/* ===== Gelembung & dekorasi ===== */
.fx-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fx-bubbles i { position: absolute; bottom: -60px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9), rgba(255, 75, 87, .35) 60%, transparent 72%); border: 1px solid rgba(255, 255, 255, .5); animation: bubbleUp var(--dur) linear var(--del) infinite; }
.footer-card .fx-bubbles i, .promo-banner .fx-bubbles i, .hs-slide .fx-bubbles i { background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .12) 62%, transparent 72%); }
[data-parallax] [data-depth] { translate: calc(var(--px, 0) * var(--depth, 0) * 26px) calc(var(--py, 0) * var(--depth, 0) * 20px); transition: translate .25s ease-out; }
.home-hero .deco { position: absolute; border-radius: 50%; z-index: 1; pointer-events: none; }
.home-hero .deco.d1 { width: 22px; height: 22px; left: 46%; top: 16%; background: #FFB020; animation: floaty 5s ease-in-out infinite; }
.home-hero .deco.d2 { width: 14px; height: 14px; left: 40%; bottom: 20%; border: 3px solid var(--red); animation: floaty 6s ease-in-out -2s infinite; }
.burst { animation: wiggle 3.4s ease-in-out infinite; }
.burst::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); background-size: 250% 100%; animation: shimmer 2.6s linear infinite; }

/* ===== Ticker ===== */
.ticker { margin-top: 22px; overflow: hidden; background: var(--grad); color: #fff; transform: rotate(-.8deg); box-shadow: var(--shadow); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: tickerMove 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; font-family: var(--font-d); font-weight: 700; font-size: 16px; white-space: nowrap; }
.ticker-track .ic { color: #FFD66B; }

/* ===== Tombol ===== */
.btn { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: scale(0); animation: rippleOut .65s ease-out forwards; pointer-events: none; }
.btn-outline .ripple, .btn-ghost .ripple, .btn-white .ripple, .icon-btn .ripple, .chip .ripple, .cat-tab .ripple { background: rgba(227, 16, 31, .22); }
.icon-btn { overflow: hidden; }
.btn-shine::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 38%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-130%) skewX(-20deg); animation: shine 3.6s ease-in-out infinite; pointer-events: none; }
.btn-wa { background: linear-gradient(180deg, #2BDA6C, #12B34F); color: #fff; box-shadow: 0 6px 16px rgba(18, 179, 79, .32); }
.btn-wa:hover { box-shadow: 0 10px 24px rgba(18, 179, 79, .45); transform: translateY(-2px); }
.btn-wa .ic { transition: transform .3s cubic-bezier(.2, .9, .3, 1.5); } .btn-wa:hover .ic { transform: rotate(-14deg) scale(1.2); }
.magnetic { transition: translate .25s cubic-bezier(.2, .9, .3, 1.2), transform .15s, box-shadow .15s; }
#btnBuy.sent { animation: bump .5s ease; }

/* ===== WhatsApp melayang ===== */
.wa-fab { position: fixed; z-index: 95; right: 20px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #35E57A, #12B34F); color: #fff; box-shadow: 0 10px 26px rgba(18, 179, 79, .5); animation: waWiggle 7s ease-in-out infinite; transition: transform .25s cubic-bezier(.2, .9, .3, 1.4); }
.wa-fab:hover { transform: scale(1.12) rotate(-6deg); } .wa-fab .ic { width: 30px; height: 30px; stroke-width: 1.8; }
.wa-fab .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ringOut 2.2s ease-out infinite; pointer-events: none; } .wa-fab .ring.r2 { animation-delay: 1.1s; }
.wa-tip { position: absolute; right: 70px; top: 50%; translate: 0 -50%; white-space: nowrap; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; padding: 9px 14px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; }
.wa-fab.tip .wa-tip, .wa-fab:hover .wa-tip { opacity: 1; animation: tipPop .4s cubic-bezier(.2, .9, .3, 1.4); }

/* ===== Header ===== */
.site-header { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.site-header.is-hidden { transform: translateY(-120%); }
.header-bar { transition: box-shadow .3s, min-height .3s, padding .3s; } .site-header.scrolled .header-bar { box-shadow: 0 10px 34px rgba(160, 20, 35, .16); min-height: 52px; }
.main-nav { position: relative; }
.nav-ind { position: absolute; bottom: 0; left: 0; height: 3px; border-radius: 3px; background: var(--red); width: var(--w, 0); transform: translateX(var(--x, 0)); transition: transform .38s cubic-bezier(.3, 1.3, .4, 1), width .38s cubic-bezier(.3, 1.3, .4, 1), opacity .2s; pointer-events: none; }
.main-nav a.active::after { display: none; }
.burger { width: 18px; height: 14px; position: relative; display: block; } .burger i { position: absolute; left: 0; width: 100%; height: 2.4px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.3, 1.3, .4, 1), opacity .2s, top .35s; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
.is-open .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); } .is-open .burger i:nth-child(2) { opacity: 0; transform: scaleX(0); } .is-open .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (max-width: 900px) { .main-nav.open a { animation: pop .4s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i) * 55ms); } }

/* ===== Kartu: tilt, kilau, border berputar ===== */
.tilt { will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  .tilt.is-tilting { transition: transform .08s linear, box-shadow .2s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px) scale(1.015); box-shadow: var(--shadow-lg); }
  .tilt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .6), transparent 62%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .25s; z-index: 3; }
  .tilt.is-tilting::after { opacity: 1; }
}
.glow-border { position: relative; }
.glow-border::before { content: ''; position: absolute; inset: -1.5px; border-radius: inherit; padding: 2px; z-index: 2; pointer-events: none; background: conic-gradient(from var(--ang), transparent 0 55%, #FF4B57 78%, #FFB020 90%, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; animation: spinAng 2.6s linear infinite; }
.glow-border:hover::before { opacity: 1; }
.pimg img { animation: imgIn .9s cubic-bezier(.2, .7, .2, 1) both; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pcard:hover .pimg img, .cat-card:hover .pimg img { transform: scale(1.1); }
.cat-card:hover .cat-img { transform: translateY(-4px) rotate(-4deg) scale(1.06); } .cat-img { transition: transform .45s cubic-bezier(.3, 1.5, .4, 1); }
.pcard .btn-wa:hover .ic { animation: wiggle .5s ease 2; }
#grid.is-loading, #topProducts.is-loading { opacity: .5; transition: opacity .2s; }
#grid:not(.is-loading) { transition: opacity .3s; }

/* ===== Judul seksi ===== */
.section-head h2 { position: relative; }
.section-head h2::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 3px; width: 56px; border-radius: 3px; background: linear-gradient(90deg, var(--red), #FFB020); transform-origin: left; animation: dotfill .9s cubic-bezier(.2, .7, .2, 1) .2s both; }
.section-head h2 .ic { animation: wiggle 3.2s ease-in-out infinite; transform-origin: 50% 80%; }

/* ===== Bintang, batang rating ===== */
.star-input { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.star-input button { width: 40px; height: 40px; border: 0; background: none; color: #D9DCE8; display: grid; place-items: center; border-radius: 12px; transition: color .15s, transform .2s cubic-bezier(.3, 1.6, .4, 1); }
.star-input button .ic { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.star-input button.on { color: var(--amber); transform: scale(1.12); } .star-input button:hover { transform: scale(1.25) rotate(-8deg); }
.star-input button.pop { animation: starPop .5s ease; }
.star-input.wave button.on { animation: starWave .5s ease both; animation-delay: calc(var(--i, 0) * 60ms); }
.star-label { font-style: normal; font-weight: 700; font-size: 13px; color: var(--muted); margin-left: 8px; min-width: 120px; }
.bar i { transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }

/* ===== Galeri produk ===== */
.g-main { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1; background: linear-gradient(145deg, #FFE3E6, #FFF6F7); cursor: zoom-in; touch-action: pan-y; }
.g-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .55s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.g-img.on { opacity: 1; transform: none; } .g-main.zooming .g-img.on { transform: scale(1.9); transition: transform .25s ease-out; }
.g-main .tag { position: absolute; top: 14px; left: 14px; z-index: 3; }
.g-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--red); display: grid; place-items: center; box-shadow: var(--shadow-sm); transform: scale(.8); opacity: 0; transition: .25s; }
.g-main:hover .g-zoom, .g-main:focus-visible .g-zoom { opacity: 1; transform: none; }
.g-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--red); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transition: .25s; } .g-nav.prev { left: 10px; } .g-nav.next { right: 10px; }
.g-main:hover .g-nav { opacity: 1; } .g-nav:hover { background: var(--red); color: #fff; }
.g-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; } .g-thumbs::-webkit-scrollbar { display: none; }
.g-thumb { flex: none; width: 58px; height: 58px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #fff; opacity: .65; transition: .25s cubic-bezier(.3, 1.4, .4, 1); }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; } .g-thumb:hover { opacity: 1; transform: translateY(-3px); } .g-thumb.on { opacity: 1; border-color: var(--red); transform: scale(1.08); box-shadow: 0 6px 14px rgba(227, 16, 31, .25); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(25, 6, 10, .88); backdrop-filter: blur(8px); display: grid; place-items: center; animation: fade .25s; }
.lightbox.out { opacity: 0; transition: opacity .25s; }
.lightbox img { max-width: min(92vw, 980px); max-height: 86vh; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); object-fit: contain; } .lightbox img.in { animation: lbIn .45s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes lbIn { from { opacity: 0; transform: scale(.85) translateY(20px); } to { opacity: 1; transform: none; } }
.lb-close { position: absolute; top: 18px; right: 18px; } .lb-nav { position: absolute; top: 50%; translate: 0 -50%; } .lb-nav.prev { left: 18px; } .lb-nav.next { right: 18px; }
.lb-count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; color: #fff; font-weight: 700; background: rgba(0, 0, 0, .4); padding: 5px 14px; border-radius: 99px; font-size: 13px; }

/* ===== Konfeti ===== */
.confetti { position: fixed; z-index: 400; pointer-events: none; animation: confettiFly 1s cubic-bezier(.2, .7, .3, 1) forwards; }

/* ===== Footer ===== */
.footer-card { isolation: isolate; } .footer-card > * { position: relative; z-index: 1; } .footer-card > .fx-bubbles { position: absolute; z-index: 0; }
.footer-waves { position: absolute !important; left: 0; top: 0; width: 100%; height: 46px; z-index: 0 !important; overflow: visible; pointer-events: none; }
.footer-waves path { fill: rgba(255, 255, 255, .08); } .footer-waves .w1 { animation: wave1 9s linear infinite; } .footer-waves .w2 { animation: wave2 13s linear infinite; fill: rgba(255, 255, 255, .06); }
.footer-mascot { transform-origin: 50% 100%; animation: mascotWave 4.5s ease-in-out infinite; z-index: 1; }

/* ===== Toast ===== */
.toast { position: relative; overflow: hidden; } .toast::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform-origin: left; animation: dotfill 4.5s linear reverse forwards; } .toast.ok::after { background: var(--green); animation-duration: 2.8s; }
.toast .ic { animation: pop .5s cubic-bezier(.2, .9, .3, 1.5); }

/* ===== Lain-lain ===== */
.flash { animation: flashBox 1.4s ease 2; } .bump { animation: bump .45s ease; } .shake { animation: shakeX .45s ease; } .fresh { animation: fresh 1.1s ease; }
.pkg-opt.pop { animation: starPop .45s ease; }
.rotator { position: relative; display: inline-block; vertical-align: bottom; overflow: hidden; height: 1.45em; color: var(--red); } .rotator span { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(100%); opacity: 0; } .rotator span.on { animation: rotIn .55s cubic-bezier(.2, .9, .3, 1.1) forwards; position: relative; } .rotator span.out { animation: rotOut .5s ease forwards; position: absolute; }
.skeleton { position: relative; overflow: hidden; }

/* ===== Kurangi gerakan ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .fx, .fx[data-anim] { opacity: 1 !important; transform: none !important; filter: none !important; } .w > span { transform: none; } .cursor-glow, .ticker-track { display: none; } .ticker-track { animation: none; }
}

.home-hero, .page-hero, .footer-card, .promo-banner { position: relative; } .hs-bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.home-hero > .copy, .page-hero > .copy { position: relative; z-index: 2; }
.rotator { transition: width .45s cubic-bezier(.3, 1.2, .4, 1); }
html, body { overflow-x: clip; }
