/* CAPT Memory Palace - Complete Styles */

/* Base resets handled in index.html */

/* Canvas container */
#canvas-container canvas {
  display: block;
}

/* Pitch mode - clean presentation view */
body.pitch-mode #main-ui,
body.pitch-mode #stats-bar {
  display: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .onboarding-content {
    padding: 24px;
  }
  
  .tagline {
    font-size: 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  #narrative-text {
    font-size: 18px;
    padding: 12px 16px;
  }
  
  #stats-panel {
    font-size: 10px;
    padding: 12px;
  }
  
  #query-panel {
    flex-direction: column;
  }
  
  .keyboard-hints {
    display: none;
  }
}

/* Loading state */
.loading {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #8b5cf6;
  font-size: 18px;
  z-index: 200;
}

.loading::after {
  content: '';
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

/* Smooth transitions for panels */
#narrative-overlay,
#stats-panel,
#control-panel,
#query-panel {
  transition: opacity 0.3s ease;
}

/* Custom scrollbar for modals */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a12;
}

::-webkit-scrollbar-thumb {
  background: #8b5cf6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a855f7;
}
