
.footer-section {
  position: relative;
  width: 100%;
  padding: 50px 20px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(54, 168, 255, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(20, 120, 230, 0.14),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #020816 0%,
      #06162d 50%,
      #020816 100%
    );
  overflow: hidden;
}

.footer-container {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 0 auto;
}


/* ==============================
   Centered Content
============================== */

.footer-brand {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}


/* ==============================
   Logo
============================== */

.footer-logo-link {
  display: inline-flex;
  margin-bottom: 22px;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.footer-logo-link:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(
    0 10px 22px rgba(54, 168, 255, 0.28)
  );
}

.footer-logo {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
}


/* ==============================
   Social Icons
============================== */

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
}

.footer-social a {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  place-items: center;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.footer-social a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    #1478e6,
    #36a8ff
  );
  transform: translateY(105%);
  transition: transform 0.35s ease;
}

.footer-social a:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 212, 255, 0.55);
  color: #ffffff;
  box-shadow:
    0 12px 25px rgba(20, 120, 230, 0.28);
}

.footer-social a:hover::before {
  transform: translateY(0);
}

.footer-social svg {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 18px;
}

.youtube-play {
  color: #06162d;
}


/* ==============================
   Animated Background
============================== */

.footer-grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.3;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );
  background-size: 42px 42px;
  animation: footerGridMove 18s linear infinite;
}

.footer-glow {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.footer-glow-one {
  top: -120px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(54, 168, 255, 0.11);
  animation: footerGlowOne 9s ease-in-out infinite alternate;
}

.footer-glow-two {
  right: -100px;
  bottom: -140px;
  width: 330px;
  height: 330px;
  background: rgba(20, 120, 230, 0.11);
  animation: footerGlowTwo 11s ease-in-out infinite alternate;
}

.footer-orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(99, 212, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.footer-orbit-one {
  top: 30px;
  right: 8%;
  width: 140px;
  height: 140px;
  animation: footerOrbitSpin 15s linear infinite;
}

.footer-orbit-two {
  bottom: 25px;
  left: 8%;
  width: 90px;
  height: 90px;
  animation: footerOrbitReverse 12s linear infinite;
}

.footer-orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #63d4ff;
  box-shadow:
    0 0 16px rgba(99, 212, 255, 0.85);
}


/* ==============================
   Animations
============================== */

@keyframes footerGridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 42px 42px;
  }
}

@keyframes footerGlowOne {
  from {
    transform: translate(0, 0) scale(0.95);
  }

  to {
    transform: translate(55px, 35px) scale(1.12);
  }
}

@keyframes footerGlowTwo {
  from {
    transform: translate(0, 0) scale(0.92);
  }

  to {
    transform: translate(-45px, -25px) scale(1.14);
  }
}

@keyframes footerOrbitSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes footerOrbitReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}


/* ==============================
   Responsive
============================== */

@media (max-width: 600px) {
  .footer-section {
    padding: 45px 16px;
  }

  .footer-logo {
    width: 155px;
  }

  .footer-logo-link {
    margin-bottom: 18px;
  }

  .footer-social {
    gap: 9px;
  }

  .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .footer-social svg {
    width: 16px;
    height: 16px;
  }

  .footer-orbit-one {
    right: -40px;
  }

  .footer-orbit-two {
    left: -30px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .footer-section *,
  .footer-section *::before,
  .footer-section *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}