/* === FOOTER BASE === */
.site-footer {
  background: #111;
  color: #eee;
  padding: 3rem 1rem;
  font-size: 0.95rem;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* === SHARED SECTION STYLES === */
.footer-section {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 20px;
  border-radius: 5px;
}

.footer-section i {
  font-size: 2.5rem;
  color: #00354d;
  min-width: 48px;
}

/* === TEXT BLOCKS === */
.footer-section h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
  text-align: left;
}

/* === COPYRIGHT AREA === */
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

.footer-bottom a {
  font-weight: bolder;
}

a:visited {
  color: #494949;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .site-footer {
    margin-top: 100px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section i {
    margin-bottom: 0.5rem;
  }

  .footer-section h4 {
    text-align: center;
  }
}

/* === AURORA EFFECT === */
.aurora-border-top {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  pointer-events: none;
  z-index: 10;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.15),
    rgba(255, 0, 255, 0.12),
    rgba(0, 255, 0, 0.13),
    transparent
  );
  background-size: 400% 100%;
  animation: auroraFlow 15s linear infinite, auroraGlowPulse 6s ease-in-out infinite;
  filter: blur(30px);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 80px;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.08), transparent 70%),
    radial-gradient(circle at 50% 40%, rgba(255, 0, 255, 0.07), transparent 75%),
    radial-gradient(circle at 80% 50%, rgba(0, 255, 0, 0.06), transparent 75%),
    linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.03), rgba(255, 0, 255, 0.03), rgba(0, 255, 0, 0.03), transparent);
  box-shadow:
    0 0 120px 90px rgba(0, 255, 255, 0.025),
    0 0 160px 130px rgba(255, 0, 255, 0.02),
    0 0 200px 160px rgba(0, 255, 0, 0.02);
  filter: blur(14px);
  animation: auroraFlow 15s linear infinite, auroraShadowPulse 15s ease-in-out infinite;
  background-blend-mode: screen;
}

@keyframes auroraFlow {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 400% 0;
  }
}

@keyframes auroraShadowPulse {
  0%, 100% {
    box-shadow:
      0 0 100px 60px rgba(0, 255, 255, 0.05),
      0 0 140px 90px rgba(255, 0, 255, 0.04),
      0 0 180px 120px rgba(0, 255, 0, 0.04);
  }
  50% {
    box-shadow:
      0 0 120px 80px rgba(0, 255, 255, 0.07),
      0 0 160px 110px rgba(255, 0, 255, 0.06),
      0 0 200px 140px rgba(0, 255, 0, 0.06);
  }
}

@keyframes auroraGlowPulse {
  0%, 100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.75;
  }
}
