/* =========================================================
   BTN BOTTLE LEAVES PLUGIN — CORE STYLES v3.6.2
   - Folhas ocupam TODO o botão (sem margens internas)
   - Border-radius: 12px
   - Padding externo não afeta as folhas
========================================================= */

.btn-bottle-leaves {
  position: relative;
  display: inline-block;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  padding: 0;
  transition: transform 0.22s cubic-bezier(0.2, 0.95, 0.4, 1.05);
  outline: none;
  overflow: hidden;
  border-radius: 12px;
}

/* camada vítrea - ocupa TODO o botão */
.btn-bottle-leaves__glass {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(ellipse at 25% 20%, 
    rgba(255, 250, 210, 0.2), 
    rgba(255, 210, 80, 0.05) 55%,
    rgba(0, 0, 0, 0.1));
  backdrop-filter: blur(14px);
  box-shadow: 
    inset 0 1px 2px rgba(255, 245, 180, 0.7),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15),
    0 20px 38px -14px rgba(0, 0, 0, 0.8);
  transition: all 0.25s ease;
  pointer-events: none;
  overflow: hidden;
  border: 1px solid rgba(255, 200, 70, 0.3);
}

/* reflexo deslizante INTERNO */
.btn-bottle-leaves__glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, 
    transparent 20%,
    rgba(255, 245, 150, 0.4) 45%,
    transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.65s cubic-bezier(0.3, 1, 0.4, 1);
  pointer-events: none;
}

.btn-bottle-leaves:hover .btn-bottle-leaves__glass::before {
  transform: translateX(100%);
}

/* brilho pulsante interno no hover */
.btn-bottle-leaves:hover .btn-bottle-leaves__glass::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, 
    rgba(255, 220, 100, 0.15) 0%, 
    transparent 80%);
  animation: internalGlow 1.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes internalGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

/* 🔥 LEITO DAS FOLHAS - AGORA OCUPA TODO O BOTÃO 🔥 */
.btn-bottle-leaves__bed {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, 
    rgba(200, 150, 45, 0.08) 0%, 
    rgba(100, 70, 20, 0) 80%);
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

/* folhas individuais - ajustadas para o novo espaço */
.btn-bottle-leaves__leaf {
  position: absolute;
  background: linear-gradient(140deg, #FFE174, #C68E2E);
  border-radius: 70% 0 80% 20% / 55% 45% 65% 35%;
  opacity: 0.92;
  will-change: transform;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

/* =========================================================
   TEXTO - centralizado sobre as folhas
   ========================================================= */
.btn-bottle-leaves__text {
  position: relative;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(135deg, 
    #F5E6B8 0%,
    #E8C84A 35%,
    #D4AF37 65%,
    #F5E6B8 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 5s ease infinite;
  text-shadow: 
    0 0 1px rgba(0, 0, 0, 0.3),
    0 1px 1px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  padding: 0 15px;
  box-sizing: border-box;
}

@keyframes textShine {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* hover com leve realce */
.btn-bottle-leaves:hover .btn-bottle-leaves__text {
  text-shadow: 
    0 0 2px rgba(255, 215, 0, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-bottle-leaves:hover .btn-bottle-leaves__glass {
  border-color: rgba(255, 215, 0, 0.5);
}

.btn-bottle-leaves:active {
  transform: scale(0.965);
}

.btn-bottle-leaves:active .btn-bottle-leaves__glass {
  backdrop-filter: blur(10px);
  box-shadow: 
    inset 0 3px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 220, 90, 0.4),
    0 10px 20px rgba(0, 0, 0, 0.5);
}

/* responsivo */
@media (max-width: 580px) {
  .btn-bottle-leaves {
    width: 340px !important;
    height: 80px !important;
  }
  .btn-bottle-leaves__text {
    font-size: 0.75rem;
    letter-spacing: 3px;
    white-space: normal;
    padding: 0 10px;
  }
}
