* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  overflow: hidden;
}

/* Premium Boot Screen */
#boot-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #0a0a0a 0%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#boot-screen.hide {
  opacity: 0;
  pointer-events: none;
}

/* Animated Background */
#boot-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, 
    rgba(249, 115, 22, 0.15) 0%,
    rgba(249, 115, 22, 0.05) 30%,
    transparent 70%);
  animation: bootBgShift 8s ease-in-out infinite;
}

@keyframes bootBgShift {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.boot-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Logo Animation - Cinematic Zoom */
.boot-logo-wrapper {
  animation: bootLogoContainer 0.8s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.boot-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(249, 115, 22, 0.6));
  animation: bootLogoGlow 2s ease-in-out infinite;
}

@keyframes bootLogoContainer {
  0% {
    transform: scale(0.3) rotate(-10deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes bootLogoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(249, 115, 22, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 50px rgba(249, 115, 22, 0.8));
  }
}

/* Netflix Style Brand Text */
.boot-brand {
  margin-top: 32px;
  overflow: hidden;
}

.brand-letter {
  display: inline-block;
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 0%, #f97316 50%, #FF8C00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  animation: bootLetterReveal 0.4s forwards;
}

@keyframes bootLetterReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

/* Tagline */
.boot-tagline {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: bootFadeUp 0.5s ease-out 1.2s forwards;
}

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

/* Premium Loader */
.boot-loader {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.boot-loader-line {
  width: 40px;
  height: 2px;
  background: rgba(249, 115, 22, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.boot-loader-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #f97316, transparent);
  animation: bootLoaderProgress 1.5s ease-in-out infinite;
}

@keyframes bootLoaderProgress {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Loading Percentage */
.boot-percentage {
  margin-top: 16px;
  color: rgba(249, 115, 22, 0.8);
  font-size: 12px;
  font-weight: 500;
  font-family: monospace;
  letter-spacing: 1px;
}

/* Particle Effects */
.boot-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #f97316;
  border-radius: 50%;
  opacity: 0;
  animation: bootParticle 4s ease-in-out infinite;
}

@keyframes bootParticle {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0);
  }
  20% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) translateX(var(--dx));
  }
}

/* Root element */
#root {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

#root.ready {
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .boot-logo { width: 100px; height: 100px; }
  .brand-letter { font-size: 32px; }
  .boot-loader-line { width: 30px; }
}

