/* AURORA ORBS */
.aurora-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  will-change: transform;
}

.aurora-orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 10%;
  left: 15%;
  animation: auroraFloat1 12s ease-in-out infinite;
}

.aurora-orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  top: 30%;
  right: 10%;
  animation: auroraFloat2 15s ease-in-out infinite;
}

.aurora-orb:nth-child(3) {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
  bottom: 10%;
  left: 40%;
  animation: auroraFloat3 18s ease-in-out infinite;
}

@keyframes auroraFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.1); }
  50% { transform: translate(-30px, 50px) scale(0.9); }
  75% { transform: translate(40px, 20px) scale(1.05); }
}

@keyframes auroraFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-50px, 30px) scale(1.05); }
  50% { transform: translate(40px, -60px) scale(1.1); }
  75% { transform: translate(-20px, -20px) scale(0.95); }
}

@keyframes auroraFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, 40px) scale(1.1); }
  50% { transform: translate(-50px, -30px) scale(0.95); }
  75% { transform: translate(20px, -50px) scale(1.05); }
}

@media (max-width: 768px) {
  .aurora-orb { filter: blur(50px); opacity: 0.5; }
  .aurora-orb:nth-child(1) { width: 350px; height: 350px; left: 5%; top: 15%; }
  .aurora-orb:nth-child(2) { width: 300px; height: 300px; right: 0; top: 25%; }
  .aurora-orb:nth-child(3) { width: 320px; height: 320px; left: 20%; bottom: 5%; }
}

/* PARTICLES */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: float linear infinite;
}

@keyframes float {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}


/* ===== TV LOADER ===== */
#tv-loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  transform-origin: 50% 50%;
  pointer-events: all;
  animation: tv-boot 1.2s ease-in-out forwards;
}

#tv-loader .tv-line {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(to right, transparent, #79c0ff 20%, #fff 50%, #79c0ff 80%, transparent);
  box-shadow: 0 0 30px 8px rgba(120, 192, 255, 0.7), 0 0 80px 30px rgba(88, 166, 255, 0.3);
  opacity: 0;
  animation: tv-line-glow 1.2s ease-in-out forwards;
}

@keyframes tv-boot {
  0%   { transform: scaleY(1); opacity: 1; }
  55%  { transform: scaleY(1); opacity: 1; }
  80%  { transform: scaleY(0.004); opacity: 1; }
  92%  { transform: scaleY(0.004); opacity: 0.6; }
  100% { transform: scaleY(0.004); opacity: 0; visibility: hidden; }
}

@keyframes tv-line-glow {
  0%   { opacity: 0; }
  55%  { opacity: 0; }
  68%  { opacity: 1; }
  88%  { opacity: 0.9; }
  100% { opacity: 0; }
}
