/* ================================
   LOADER STYLES - COMUNIKA ASERTIVA
   ================================ */

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FDC800;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-loader);
  flex-direction: column;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow: hidden;
}

.loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

#animationWindow {
  width: 100%;
  height: 60%; /* Reducido para dar espacio al logo */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loader-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: fadeInUp 1s ease 0.5s both;
}

.loader-logo {
  max-width: 150px;
  height: auto;
}

.loader-tagline {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
}

.loader-tagline .highlight {
  font-weight: 800;
  background: linear-gradient(135deg, #1a1f3a 0%, #764BA2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 32px;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  #animationWindow {
    width: 100%;
    height: 100%;
  }
  
  .loader-branding {
    padding: 0 20px;
  }
  
  .loader-logo {
    max-width: 120px;
  }

  .loader-tagline {
    font-size: 20px;
  }
  
  .loader-tagline .highlight {
    font-size: 24px;
  }
}