.af-footer {
  background-color: rgb(17, 17, 17);
  /* Fondo oscuro coherente con el header */
  border-top: 1px solid var(--border);
  /* Línea sutil superior */
  padding: 45px 15px;
  text-align: center;
  font-family: var(--font-main);
  width: 100%;
  margin-top: 60px;
  /* Espacio para separar del contenido principal */
}

/* Contenedor de los enlaces (INICIO | VOLVER | DMCA) */
.af-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  /* Permite que bajen de línea en móviles muy pequeños */
  gap: 15px;
  margin-bottom: 25px;
}

/* Estilo de los enlaces */
.af-footer-links a {
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  /* Toque moderno y limpio */
  text-decoration: none;
  transition: color 0.3s ease;
}

.af-footer-links a:hover {
  color: var(--primary);
  /* Mismo color de hover que el header */
}

/* Separadores ( | ) */
.af-separator {
  color: var(--border);
  /* Un color sutil para que no resalte más que el texto */
  font-size: 0.9rem;
  user-select: none;
  /* Evita que se seleccione al arrastrar el ratón */
}

/* Contenido del párrafo */
.af-footer-content {
  max-width: 700px;
  margin: 0 auto;
  /* Centra el bloque de texto */
}

.af-footer-content p {
  color: var(--text-muted);
  /* Gris suave igual al del menú */
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Resaltado de las palabras importantes */
.af-footer-content strong {
  color: var(--text-main);
  /* Blanco para que destaquen sobre el texto gris */
  font-weight: 600;
}

/* =========================================
   9. RESPONSIVE DEL FOOTER (Móviles)
   ========================================= */
@media screen and (max-width: 768px) {
  .af-footer {
    padding: 35px 15px;
  }

  .af-footer-links {
    gap: 10px;
  }

  .af-footer-links a {
    font-size: 0.85rem;
  }

  /* Ocultamos los <br> en móvil para que el texto fluya natural y no queden cortes raros */
  .af-footer-content p br {
    display: none;
  }

  .af-footer-content p {
    font-size: 0.85rem;
  }
}