/* Container do Baú */
.raspa-bau-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 15px;
}

/* Botão do Baú – vai dentro de .telegram-container, acima do Telegram */
.raspa-bau-btn{
  width: 55px; 
  height: 55px;
  border: 0; 
  border-radius: 50%;
  background: linear-gradient(135deg, #D4A017, #B8860B);
  color: #000; 
  font-weight: 700; 
  cursor: pointer;
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.4);
  transform: translateZ(0);
  animation: raspaBauPulse 1.6s infinite;
  margin-bottom: 8px;
  font-size: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(212, 160, 23, 0.3);
}

.raspa-bau-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(212, 160, 23, 0.6);
  border-color: rgba(212, 160, 23, 0.6);
}

.raspa-bau-btn:disabled{ 
  opacity: 0.6; 
  cursor: not-allowed; 
  animation: none;
  background: linear-gradient(135deg, #666, #555);
}

/* Nome do Baú */
.raspa-bau-name {
  color: #D4A017;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 3px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Timer do Baú */
.raspa-bau-timer {
  color: #ff6b6b;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  background: rgba(255, 107, 107, 0.1);
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 107, 0.3);
  white-space: nowrap;
  margin-bottom: 4px;
  display: none; /* Oculto por padrão */
}

.raspa-bau-timer.active {
  display: block;
}

@keyframes raspaBauPulse{
  0%{ 
    transform: scale(1); 
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.4);
  }
  50%{ 
    transform: scale(1.08); 
    box-shadow: 0 12px 25px rgba(212, 160, 23, 0.6);
  }
  100%{ 
    transform: scale(1); 
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.4);
  }
}

/* Tooltipzinho simples opcional */
.raspa-bau-btn[data-tip]:hover::after{
  content: attr(data-tip);
  position: absolute; 
  right: 70px;
  background: linear-gradient(135deg, #1a1f3a 0%, #0f1419 50%, #1a1f3a 100%);
  color: #D4A017; 
  padding: 8px 12px; 
  border-radius: 8px; 
  font-size: 12px; 
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
  border: 1px solid rgba(212, 160, 23, 0.3);
  font-weight: 600;
  z-index: 1000;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .raspa-bau-btn {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  
  .raspa-bau-name {
    font-size: 10px;
    padding: 2px 6px;
  }
  
  .raspa-bau-timer {
    font-size: 9px;
    padding: 2px 5px;
  }
  
  .raspa-bau-btn[data-tip]:hover::after {
    right: 60px;
    font-size: 11px;
    padding: 6px 10px;
  }
}
