/* ================================================
   LIQUID GLASS BUTTON — pure CSS + SVG filter
   Adicionar classe .liq em qualquer <a> ou <button>
   ================================================ */

/* ── Base ─────────────────────────────────────── */
.liq {
  position: relative !important;
  background: var(--liq-bg, rgba(255,255,255,.07)) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: none !important;
  transition: transform .25s cubic-bezier(.1,.4,.2,1),
              background .25s ease,
              border-color .25s ease !important;
  overflow: hidden !important;
}
.liq:hover {
  transform: translateY(-2px) scale(1.015) !important;
  background: var(--liq-bg-hover, rgba(255,255,255,.12)) !important;
  border-color: rgba(255,255,255,.22) !important;
}
.liq:active {
  transform: translateY(1px) scale(.985) !important;
  background: rgba(255,255,255,.04) !important;
}

/* ── Glass distortion layer ──────────────────── */
.liq-glass {
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  overflow: hidden !important;
  z-index: 0 !important;
  pointer-events: none !important;
  -webkit-backdrop-filter: url("#liq-filter") blur(3px) saturate(130%);
  backdrop-filter: url("#liq-filter") blur(3px) saturate(130%);
}

/* ── Edge shadow layer (creates glass illusion) ── */
.liq-shadow {
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  z-index: 1 !important;
  box-shadow:
    inset 2px 2px 1px -2px rgba(255,255,255,.55),
    inset -2px -2px 1px -2px rgba(255,255,255,.45),
    inset 0 0 8px 3px rgba(255,255,255,.08),
    0 4px 14px rgba(0,0,0,.18),
    0 0 18px rgba(255,255,255,.06);
  transition: box-shadow .25s ease;
}
.liq:hover .liq-shadow {
  box-shadow:
    inset 2px 2px 1px -2px rgba(255,255,255,.70),
    inset -2px -2px 1px -2px rgba(255,255,255,.60),
    inset 0 0 8px 3px rgba(255,255,255,.13),
    0 6px 20px rgba(0,0,0,.22),
    0 0 26px rgba(255,255,255,.09);
}

/* ── Ensure text/icons sit above the glass layers ── */
.liq > *:not(.liq-glass):not(.liq-shadow) {
  position: relative !important;
  z-index: 2 !important;
}
/* handle spans inside hero CTAs */
.liq .hero-cta-row,
.liq .hero-cta-arrow,
.liq .invest-cta-arrow,
.liq .finalcta-arrow {
  position: relative !important;
  z-index: 2 !important;
}

/* ── Per-LP tint overrides (set in each theme CSS) ─
   Etherea:  --liq-bg: rgba(26,130,204,.15)
   Volnewmer: --liq-bg: rgba(13,207,207,.15)
   Lavieen:   --liq-bg: rgba(212,160,23,.15)
   ─────────────────────────────────────────────── */

/* ── nav-cta specific ─────────────────────────── */
.nav-cta.liq {
  padding: 10px 20px !important;
}

/* ── hero-cta-primary specific ────────────────── */
.hero-cta-primary.liq {
  /* keep original flex/padding, only replace bg */
}

/* ── invest-cta specific ──────────────────────── */
.invest-cta.liq {
  color: #fff !important;
}

/* ── finalcta-btn specific ────────────────────── */
.finalcta-btn.liq {
  color: #fff !important;
}
