/* ==========================================
   Hyprland Rice Boot Splash
   ========================================== */

#boot-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary, #0d0d1a);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s ease;
}

#boot-screen.fade-out { opacity: 0; }

/* --- Logo --- */

#boot-logo { line-height: 1; }

#boot-icon {
  font-size: 64px;
  color: var(--accent, #7c3aed);
  animation: boot-pulse 2s ease-in-out infinite;
}

@keyframes boot-pulse {
  0%, 100% { filter: drop-shadow(0 0 12px var(--accent-glow, rgba(124,58,237,0.4))) drop-shadow(0 0 40px var(--accent-glow-bleed, rgba(124,58,237,0.25))); opacity: 0.85; }
  50%      { filter: drop-shadow(0 0 30px var(--accent, #7c3aed)) drop-shadow(0 0 60px var(--accent-glow, rgba(124,58,237,0.4))) drop-shadow(0 0 100px var(--accent-glow-bleed, rgba(124,58,237,0.25))); opacity: 1; }
}

/* --- Name text --- */

#boot-text {
  font-family: var(--font-ui, 'Segoe UI', sans-serif);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--text-primary, #e2e8f0);
  text-transform: uppercase;
  animation: boot-text-in 1.2s ease forwards;
  opacity: 0;
}

@keyframes boot-text-in {
  to { opacity: 0.9; }
}

/* --- Progress bar --- */

#boot-bar-track {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

#boot-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent, #7c3aed), var(--accent-secondary, #06b6d4));
  transition: width 0.05s linear;
}

/* --- Loading dots --- */

#boot-dots {
  display: flex;
  gap: 8px;
}

.boot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #7c3aed);
  animation: dot-blink 1.4s ease-in-out infinite;
}

.boot-dot:nth-child(2) { animation-delay: 0.2s; }
.boot-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-blink {
  0%, 80%, 100% { opacity: 0.15; }
  40%           { opacity: 1; }
}

/* --- Utility --- */

.hidden { display: none !important; }

/* --- Responsive --- */

@media (max-width: 480px) {
  #boot-icon  { font-size: 48px; }
  #boot-text  { font-size: 16px; letter-spacing: 3px; }
  #boot-bar-track { width: 160px; }
}
