

.footer-section {
  position: relative;
  overflow: hidden;
  padding: 50px 24px 24px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 10% 25%,
      rgba(255, 199, 0, 0.09),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 30%,
      rgba(214, 56, 240, 0.1),
      transparent 27%
    ),
    radial-gradient(
      circle at 50% 100%,
      rgba(73, 239, 114, 0.07),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #020202 0%,
      #080808 52%,
      #020202 100%
    );
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.footer-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );
  background-size: 52px 52px;
}

.footer-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.52),
    transparent,
    rgba(0, 0, 0, 0.6)
  );
}

.footer-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
}

.footer-glow-left {
  width: 280px;
  height: 280px;
  left: -140px;
  bottom: -130px;
  background: rgba(255, 199, 0, 0.1);
}

.footer-glow-right {
  width: 280px;
  height: 280px;
  right: -140px;
  top: -120px;
  background: rgba(214, 56, 240, 0.11);
}

.footer-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* =========================================
   MAIN FOOTER
========================================= */

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-logo {
  width: 190px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-description {
  max-width: 650px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================
   QUICK LINKS
========================================= */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px 28px;
  margin-top: 31px;
}

.footer-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    #ffc700,
    #d638f0,
    #49ef72
  );
  transition: right 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links a:hover::after {
  right: 0;
}

/* =========================================
   SOCIAL ICONS
========================================= */

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.73);
  font-size: 15px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition:
    transform 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-5px);
  border-color: rgba(73, 239, 114, 0.35);
  background: linear-gradient(
    145deg,
    #ffc700,
    #d638f0
  );
  color: #ffffff;
}


.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 54px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-back-top {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(255, 199, 0, 0.16),
    rgba(214, 56, 240, 0.14)
  );
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.footer-back-top:hover {
  transform: translateY(-5px);
  background: linear-gradient(
    145deg,
    #ffc700,
    #d638f0
  );
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {
  .footer-section {
    padding: 64px 22px 24px;
  }

  .footer-bottom {
    padding-right: 60px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {
  .footer-section {
    padding: 58px 18px 24px;
  }

  .footer-logo {
    width: 165px;
  }

  .footer-description {
    font-size: 13px;
  }

  .footer-links {
    gap: 14px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 13px;
    padding-right: 0;
    padding-bottom: 55px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .footer-back-top {
    right: 50%;
    bottom: 21px;
    transform: translateX(50%);
  }

  .footer-back-top:hover {
    transform: translateX(50%) translateY(-5px);
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {
  .footer-section {
    padding: 52px 14px 22px;
  }

  .footer-logo {
    width: 150px;
  }

  .footer-links {
    gap: 13px 18px;
  }

  .footer-links a {
    font-size: 11px;
  }

  .footer-social {
    gap: 9px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 14px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .footer-links a,
  .footer-links a::after,
  .footer-social a,
  .footer-legal a,
  .footer-back-top {
    transition: none;
  }
}