/* BOTONES DORADOS — clase única .btn-gold para todo el sitio (Resueño, Masterclass, Patreon).
   Forma y textura de la referencia: rectángulo con esquinas apenas redondeadas y la textura
   dorada original (background-size: cover, nunca se estira) con un borde fino más oscuro.
   El brillo sutil al pasar el mouse lo anima js/buttons.js con GSAP. */
.btn-gold {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box;
  min-height: 58px; padding: 0 40px;
  font-family: 'Almarai', sans-serif; font-weight: 700; font-size: 18px; line-height: 1; letter-spacing: 0.02em;
  color: #2e2516; text-decoration: none; text-align: center;
  text-shadow: 0 1px 0 rgba(255, 244, 215, 0.5);
  border: 0; border-radius: 6px; cursor: pointer;
  overflow: hidden; isolation: isolate;
  /* Textura dorada original, sin estirar: cubre el botón manteniendo su proporción */
  background: #d8b766 url('../assets/img/textura-dorada.webp') center / cover no-repeat;
  /* Borde fino un poco más oscuro, como la referencia */
  box-shadow: inset 0 0 0 1px rgba(150, 110, 40, 0.55), 0 6px 16px -8px rgba(60, 40, 10, 0.35);
}

/* Destello (lo mueve GSAP) */
.btn-gold__shine {
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 38%; z-index: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,250,230,0.75) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-160%) skewX(-20deg);
  pointer-events: none;
}
.btn-gold__label { position: relative; z-index: 1; }
.btn-gold:focus-visible { outline: 2px solid #a94d22; outline-offset: 3px; }

@media (max-width: 767px) {
  .btn-gold { font-size: 17px; min-height: 56px; padding: 0 28px; border-radius: 5px; }
}
