/* =========================
   FOOTER - PROFESSIONAL POLISH
========================= */

.site-footer {
  margin-top: 80px;
  padding: 48px 24px 32px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

.site-footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.site-disclaimer {
  font-size: 0.85rem !important;
  opacity: 0.7;
  line-height: 1.7 !important;
}

.legal-links {
  margin: 24px 0;
  font-size: 0.875rem;
}

.legal-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

.legal-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-light);
  transition: width 0.3s ease;
}

.legal-links a:hover {
  color: var(--accent-light);
}

.legal-links a:hover::after {
  width: 100%;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: all 0.2s;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-light);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-light);
  transform: translateY(-2px);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Back to top button enhancement */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 22, 36, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #60a5fa;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover {
  transform: translateY(-4px);
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(59, 130, 246, 0.3);
}

#backToTop:active {
  transform: translateY(-2px) scale(0.95);
}

/* Responsive footer */
@media (max-width: 768px) {
  .site-footer {
    margin-top: 60px;
    padding: 32px 20px 24px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  
  #backToTop {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}
