/* =====================================================
   HR TOPUP - Liquid Glass bottom bar (mobile only)
   ===================================================== */
@media (max-width: 767px) {
  html body { margin-bottom: 0 !important; padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important; }

  html body .sticky-footer-container {
    position: fixed !important;
    left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
    width: 100% !important; max-width: none !important;
    height: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px)) !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(255,255,255,.28) !important;
    border-radius: 24px 24px 0 0 !important;
    background: linear-gradient(180deg, rgba(60,28,110,.62), rgba(18,6,40,.78)) !important;
    -webkit-backdrop-filter: blur(22px) saturate(190%);
    backdrop-filter: blur(22px) saturate(190%);
    box-shadow:
      0 -6px 26px rgba(0,0,0,.45),
      0 -2px 18px rgba(168,85,247,.40),
      inset 0 1px 0 rgba(255,255,255,.45),
      inset 0 0 22px rgba(168,85,247,.14) !important;
    overflow: visible !important;
    z-index: 9990 !important;
    transform: translate3d(0,0,0) !important;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none; -webkit-user-select: none;
  }
  html body .sticky-footer-container::before,
  html body .sticky-footer-container::after,
  html body .sticky-footer-item::before,
  html body .sticky-footer-item::after { display: none !important; content: none !important; }

  /* ---------- items ---------- */
  html body .sticky-footer-item {
    position: relative !important;
    z-index: 2;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important; height: auto !important;
    margin: 0 !important; padding: 0 !important;
    background: none !important; border: 0 !important; border-radius: 0 !important;
    box-shadow: none !important; transform: none !important;
    display: flex; align-items: center; justify-content: center;
  }
  html body .sticky-footer-item a {
    display: flex !important; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    padding: 0 !important; margin: 0 !important;
    background: none !important; border: 0 !important; box-shadow: none !important;
    color: rgba(255,255,255,.88) !important;
    font-size: 11px !important; font-weight: 600 !important; line-height: 1.1;
    text-decoration: none !important; opacity: 1 !important;
    transition: color .3s ease;
  }
  html body .sticky-footer-item a > div { gap: 4px; background: none !important; box-shadow: none !important; transform: none !important; }
  html body .sticky-footer-item a span { background: none !important; box-shadow: none !important; transform: none !important; white-space: nowrap; }
  html body .sticky-footer-item a svg {
    width: 25px !important; height: 25px !important; margin: 0 !important;
    stroke: currentColor !important; color: inherit;
    transition: transform .4s cubic-bezier(.34,1.5,.5,1);
  }
  html body .sticky-footer-item.nx-active a,
  html body .sticky-footer-item.active a { color: #fff !important; font-weight: 800 !important; }
  html body .sticky-footer-item a:active,
  html body .sticky-footer-item a:focus { color: #fff !important; }
  html body .sticky-footer-item.nx-active a svg { transform: scale(1.12); stroke-width: 2.4; }
  html body .sticky-footer-item.nx-active a::after { display: none !important; }

  /* ---------- sliding glass lens ---------- */
  .nx-lens {
    position: absolute; z-index: 1;
    top: 7px; bottom: calc(7px + env(safe-area-inset-bottom, 0px)); left: 0; width: 0;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    background:
      radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.42), rgba(255,255,255,.08) 60%),
      rgba(255,255,255,.14);
    -webkit-backdrop-filter: blur(5px) brightness(1.35) saturate(1.9);
    backdrop-filter: blur(5px) brightness(1.35) saturate(1.9);
    border: 1px solid rgba(255,255,255,.60);
    box-shadow:
      inset 0 2px 2px rgba(255,255,255,.75),
      inset 0 -8px 14px rgba(168,85,247,.45),
      inset 3px 0 6px rgba(255,90,170,.28),
      inset -3px 0 6px rgba(80,200,255,.28),
      0 8px 22px rgba(124,58,237,.60);
    transition:
      transform .5s cubic-bezier(.34,1.45,.5,1),
      scale .3s cubic-bezier(.34,1.45,.5,1),
      width .5s cubic-bezier(.34,1.45,.5,1),
      opacity .25s ease;
    will-change: transform, width;
  }
  .nx-lens.nx-show { opacity: 1; }
  .nx-lens.nx-nomove { transition: none !important; }
  .nx-lens.nx-press {
    scale: 1.10 1.16;
    border-color: rgba(255,255,255,.85);
    box-shadow:
      inset 0 2px 3px rgba(255,255,255,.9),
      inset 0 -10px 18px rgba(168,85,247,.55),
      inset 4px 0 8px rgba(255,90,170,.40),
      inset -4px 0 8px rgba(80,200,255,.40),
      0 12px 30px rgba(124,58,237,.80);
  }

  /* "সাহায্য লাগবে?" বাটন বারের উপরে */
  #supportWrapper, .fab-container { bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important; }
}
