/* ============================================
   NEPHYX FOOTER - Modern Professional Design
   ============================================ */

.nephyx-footer {
  background: #131313;
  color: #ffffff;
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */

.footer-content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   GRID PRINCIPAL DEL FOOTER
   ============================================ */

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

/* ============================================
   COLUMNA DE MARCA
   ============================================ */

.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brand-logo-wrapper {
  margin-bottom: 0.5rem;
}

.brand-img {
  max-width: 160px;
  height: auto;
  filter: brightness(1.1);
  transition: filter 0.3s ease;
}

.brand-img:hover {
  filter: brightness(1.3);
}

.brand-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 280px;
  margin: 0;
}

/* ============================================
   REDES SOCIALES
   ============================================ */

.social-links-grid {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.social-icon:hover::before {
  opacity: 1;
}

/* Colores específicos para cada red social */
.social-icon:has(.fa-tiktok):hover {
  background: rgba(255, 0, 80, 0.15);
  border-color: rgba(255, 0, 80, 0.3);
}

.social-icon:has(.fa-twitch):hover {
  background: rgba(145, 70, 255, 0.15);
  border-color: rgba(145, 70, 255, 0.3);
}

.social-icon:has(.fa-youtube):hover {
  background: rgba(255, 0, 0, 0.15);
  border-color: rgba(255, 0, 0, 0.3);
}

.social-icon:has(.fa-instagram):hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.15), rgba(193, 53, 132, 0.15));
  border-color: rgba(225, 48, 108, 0.3);
}

.social-icon:has(.fa-facebook):hover {
  background: rgba(24, 119, 242, 0.15);
  border-color: rgba(24, 119, 242, 0.3);
}

/* ============================================
   NAVEGACIÓN DEL FOOTER
   ============================================ */

.footer-nav-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-nav-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nav-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  padding-bottom: 0.5rem;
  position: relative;
}

.nav-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), transparent);
}

.nav-section-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.25s ease;
}

.nav-link:hover {
  color: #ffffff;
  padding-left: 12px;
}

.nav-link:hover::before {
  opacity: 1;
}

/* ============================================
   DIVISOR VISUAL
   ============================================ */

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 20%, 
    rgba(255, 255, 255, 0.15) 50%, 
    rgba(255, 255, 255, 0.1) 80%, 
    transparent 100%
  );
  margin: 2rem 0;
}

/* ============================================
   SECCIÓN INFERIOR (LEGAL Y COPYRIGHT)
   ============================================ */

.footer-bottom-section {
  padding: 2rem 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-disclaimer {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
}

.disclaimer-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.footer-meta-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.legal-links-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.legal-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.25s ease;
  position: relative;
}

.legal-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.legal-link:hover {
  color: #ffffff;
}

.legal-link:hover::after {
  transform: scaleX(1);
}

.link-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

.copyright-text {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ============================================
   MODO RESTRINGIDO
   ============================================ */

.nephyx-footer.restricted-mode {
  padding: 3rem 0;
}

.footer-restricted-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.restricted-mode .footer-divider,
.restricted-mode .footer-bottom-section {
  margin-top: 2rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablets */
@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-nav-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .brand-tagline {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nephyx-footer {
    padding: 3rem 0 0;
  }

  .footer-content-wrapper {
    padding: 0 1.5rem;
  }

  .footer-main-grid {
    gap: 2.5rem;
  }

  .footer-nav-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand-column {
    text-align: center;
    align-items: center;
  }

  .brand-tagline {
    text-align: center;
  }

  .social-links-grid {
    justify-content: center;
  }

  .nav-section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-section-list {
    align-items: center;
  }

  .footer-bottom-section {
    padding: 1.5rem 0 2.5rem;
  }

  .legal-disclaimer {
    padding: 1.25rem;
  }

  .disclaimer-text {
    font-size: 0.8125rem;
  }

  .legal-links-nav {
    gap: 0.75rem;
  }

  .legal-link {
    font-size: 0.8125rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .footer-content-wrapper {
    padding: 0 1rem;
  }

  .social-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .legal-links-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .link-separator {
    display: none;
  }
}

/* ============================================
   ANIMACIONES Y EFECTOS ADICIONALES
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nephyx-footer .footer-brand-column,
.nephyx-footer .footer-nav-section {
  animation: fadeInUp 0.6s ease-out;
}

.nephyx-footer .footer-nav-section:nth-child(2) {
  animation-delay: 0.1s;
}

.nephyx-footer .footer-nav-section:nth-child(3) {
  animation-delay: 0.2s;
}

/* Efecto de brillo en hover para el logo */
.brand-logo-wrapper {
  position: relative;
}

.brand-logo-wrapper::after {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  border-radius: 50%;
}

.brand-logo-wrapper:hover::after {
  opacity: 1;
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states para accesibilidad */
.nav-link:focus-visible,
.legal-link:focus-visible,
.social-icon:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
  border-radius: 4px;
}