/* CONTAINER */
#sound-wrapper {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* BOTÃO */
#sound-btn {
  background: linear-gradient(135deg, #ff9800, #ff5722);
  color: #fff;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: pulse 1.8s infinite;
}

/* TOOLTIP */
#sound-tooltip {
  background: #1e1e2f;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  margin-bottom: 8px;
  opacity: 0;
  animation: tooltipFloat 2.5s infinite;
}

/* ANIMAÇÕES */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes tooltipFloat {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* ===== BOTÃO SOM (BASE) ===== */
#sound-wrapper {
  position: fixed;
  z-index: 9999;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  #sound-wrapper {
    top: 16px;
    right: 16px;
    left: auto;
    bottom: auto;
    transform: none;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }

  #sound-btn {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 10px 14px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    animation: pulse 1.6s infinite;
  }

  #sound-tooltip {
    font-size: 12px;
    color: #fff;
    opacity: .9;
    animation: floatText 1.6s ease-in-out infinite;
    text-align: right;
  }
}


/* ===== ANIMAÇÕES ===== */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes floatText {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}
