/* ===== Massapiens Gold Button Styles (Tilda) ===== */
:root{
  --mp-gold1:#f7e08a;
  --mp-gold2:#d6a521;
  --mp-gold3:#b98512;
  --mp-shadow: rgba(0,0,0,.25);
}

.mp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4em;
  padding:16px 34px;
  border-radius:999px;
  font-family: inherit;
  font-weight:700;
  letter-spacing:.02em;
  text-transform: uppercase;
  line-height:1;
  text-decoration:none !important;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  will-change: transform;
}

/* ===== Variant A: White enamel + gold rim + gold 3D text ===== */
.mp-btn--gold-outline{
  background:
    radial-gradient(120% 180% at 50% 0%, #ffffff 0%, #fbfbfb 45%, #f3f3f3 100%);
  border: 4px solid transparent;
  background-clip: padding-box;
  position:relative;
  box-shadow:
    0 14px 35px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.mp-btn--gold-outline:before{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:999px;
  background: linear-gradient(180deg, var(--mp-gold1) 0%, var(--mp-gold2) 38%, var(--mp-gold3) 100%);
  z-index:-1;
  box-shadow:
    0 10px 22px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.55);
}

/* gold text */
.mp-btn--gold-outline .mp-btn__text{
  background: linear-gradient(180deg, var(--mp-gold1) 0%, var(--mp-gold2) 45%, var(--mp-gold3) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
  text-shadow:
    0 1px 0 rgba(255,255,255,.25),
    0 2px 0 rgba(0,0,0,.18);
}

/* ===== Variant B: Full gold button ===== */
.mp-btn--gold-solid{
  background: linear-gradient(180deg, var(--mp-gold1) 0%, var(--mp-gold2) 40%, var(--mp-gold3) 100%);
  box-shadow:
    0 16px 38px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -2px 0 rgba(0,0,0,.18);
  border: 0;
}

/* Option B1: "cutout" text (works best on non-white backgrounds; on white page it can disappear visually) */
.mp-btn--gold-solid.mp-btn--cutout .mp-btn__text{
  color:#ffffff;
  mix-blend-mode: screen;
  text-shadow:none;
  opacity:.98;
}

/* Option B2 (recommended for white site): white text */
.mp-btn--gold-solid .mp-btn__text{
  color:#ffffff;
  text-shadow: 0 2px 0 rgba(0,0,0,.18);
}

/* Hover / Active */
.mp-btn:hover{ transform: translateY(-1px); filter: saturate(1.03); }
.mp-btn:active{ transform: translateY(0px) scale(.995); filter: saturate(1.0); }

/* Focus (accessibility) */
.mp-btn:focus-visible{
  outline: 3px solid rgba(214,165,33,.55);
  outline-offset: 3px;
}

/* Mobile sizing */
@media (max-width: 480px){
  .mp-btn{ padding:14px 26px; font-size:14px; }
}
