/* Debug Module Styles */
.debug-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  animation: fadeIn .3s ease;
}

.debug-content {
  background: var(--s1);
  border: 2px solid var(--border2);
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  animation: slideUp .4s cubic-bezier(.4,0,.2,1);
}

.debug-content h2 {
  font-family: var(--ff-h);
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--tx);
}

.debug-content p {
  color: var(--tx2);
}

.emotion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.emotion-btn {
  padding: 16px 12px;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--ease);
  opacity: 0.6;
  text-align: center;
}

.emotion-btn:hover {
  opacity: 0.8;
  border-color: currentColor;
}

.emotion-btn[data-selected] {
  opacity: 1;
  border-color: currentColor;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.btn-primary {
  background: var(--dp);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
  font-family: var(--ff-b);
}

.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 24px rgba(181,124,252,.3);
}

.btn-ghost {
  background: transparent;
  color: var(--tx2);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--ease);
  font-weight: 500;
}

.btn-ghost:hover {
  background: var(--s3);
  color: var(--tx);
}

.btn-close {
  font-size: 24px;
  color: var(--tx2);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--ease);
}

.btn-close:hover {
  color: var(--tx);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Sonidos CSS (para futura integración visual) */
.sound-feedback {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--s3);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  opacity: 0;
  animation: fadeInOut .4s ease;
  pointer-events: none;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: scale(0.9); }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .debug-content {
    padding: 24px 20px;
  }
  
  .emotion-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
