/* css/style.css */
:root {
  --bg-900: #06020a;
  --card-900: rgba(10, 8, 16, 0.6);
  --neon-1: #7c3aed; /* purple */
  --neon-2: #06b6d4; /* cyan */
  --muted: #bfc7d6;
}

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(124, 58, 237, 0.08), transparent 10%),
              radial-gradient(900px 400px at 90% 90%, rgba(6, 182, 212, 0.06), transparent 10%),
              var(--bg-900);
  color: #e6eef8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-gradient {
  background: linear-gradient(90deg, var(--neon-2), var(--neon-1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.neon-focus:focus {
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.14), 0 0 28px rgba(6, 182, 212, 0.08);
  outline: none;
}

.table-row:hover { background: rgba(255, 255, 255, 0.02); }

.badge {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.12));
  color: #eaf6fb;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

@keyframes pulse {
  0% { opacity: 1; } 50% { opacity: .35; } 100% { opacity: 1; }
}

.skeleton {
  animation: pulse 1.8s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border-radius: 6px;
}

.sidebar-scroll::-webkit-scrollbar { width: 4px; }
.sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 2px; }
/* css/style.css - Add at the bottom */

/* --- Preloader Styles --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-900);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--neon-2);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Entrance Animations --- */
.animate-on-load {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Micro-interactions --- */
.interactive-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.interactive-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
/* css/style.css - Add at the bottom */

/* --- Welcome Modal Animations --- */
#welcome-modal.hidden {
    display: none;
}

#welcome-modal {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
#welcome-modal.flex {
    opacity: 1;
}

#welcome-modal-content {
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
}
#welcome-modal.flex #welcome-modal-content {
    transform: scale(1);
}