/* ========== Gollah Sound Effects UI (dark theme) ========== */

/* Sound toggle in profile dropdown */
.profile-dd-item.sound-toggle-item,
[data-sound-toggle].sound-toggle-item {
  cursor: pointer;
  user-select: none;
}

.gollah-sound-switch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.gollah-sound-switch .sound-pill {
  min-width: 42px;
  padding: 3px 8px;
  border-radius: 20px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

[data-sound-toggle].sound-on .sound-pill,
.sound-on .sound-pill {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

[data-sound-toggle].sound-off .sound-pill,
.sound-off .sound-pill {
  background: rgba(148, 163, 184, 0.12);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

[data-sound-toggle] [data-sound-icon] {
  width: 18px;
  text-align: center;
  color: #64748b;
  transition: color 0.2s;
}

[data-sound-toggle].sound-on [data-sound-icon] {
  color: #22c55e;
}

/* Compact header icon button (optional) */
.gollah-sound-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gollah-sound-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.gollah-sound-btn.sound-on {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.3);
}

.gollah-sound-btn.sound-off {
  color: #64748b;
}

/* Coin collect toast (top-right) */
.gollah-coin-toast {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #0f172a 0%, #12201a 100%);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(34, 197, 94, 0.15);
  color: #f1f5f9;
  font-family: 'Inter', 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  opacity: 0;
  transform: translateX(40px) scale(0.92);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.gollah-coin-toast.show {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.gollah-coin-toast.hide {
  opacity: 0;
  transform: translateX(20px) translateY(-10px) scale(0.95);
}

.gollah-coin-toast i {
  color: #fbbf24;
  font-size: 18px;
  animation: gollahCoinSpin 0.6s ease;
}

.gollah-coin-toast span {
  color: #22c55e;
}

@keyframes gollahCoinSpin {
  0% {
    transform: rotate(-20deg) scale(0.6);
  }
  50% {
    transform: rotate(12deg) scale(1.15);
  }
  100% {
    transform: rotate(0) scale(1);
  }
}

@media (max-width: 576px) {
  .gollah-coin-toast {
    top: 70px;
    right: 12px;
    left: 12px;
    justify-content: center;
  }
}
