﻿/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  position: fixed;
  width: 100%;
  font-size: 14px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--bg-accent);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-600);
}

/* ===== Utility Classes ===== */
.hidden {
  display: none !important;
}

/* ===== Theme Loading Screen ===== */
.theme-loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1f2e;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease-out;
}

.theme-loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.theme-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.pulse-logo-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pulse-logo-large h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #4f9eff;
  margin: 0;
}

.pulse-icon-large {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(79, 158, 255, 0.1);
  border-top-color: #4f9eff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  color: #94a3b8;
  font-size: 0.875rem;
  text-align: center;
  margin: 0;
}

/* ===== Minimal Animations ===== */
