@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --footer-purple: #4a35a5;
  --footer-deep-purple: #211450;
  --footer-gold: #c98b10;
  --footer-dark: #060715;
  --footer-dark-two: #0d1230;
  --footer-white: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.7);
  --footer-border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

.footer-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 350px;
  overflow: hidden;
  padding: 60px 15px;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(74, 53, 165, 0.28),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(201, 139, 16, 0.14),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--footer-dark),
      var(--footer-dark-two)
    );
  font-family: "Manrope", sans-serif;
}

.footer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    );
  background-size: 45px 45px;
  pointer-events: none;
}

.footer-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
  animation: footerFloat 8s ease-in-out infinite alternate;
}

.footer-glow-one {
  top: -120px;
  right: 5%;
  width: 300px;
  height: 300px;
  background: rgba(74, 53, 165, 0.2);
}

.footer-glow-two {
  bottom: -130px;
  left: 8%;
  width: 280px;
  height: 280px;
  background: rgba(201, 139, 16, 0.11);
  animation-delay: 1.5s;
}

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

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

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

.footer-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.footer-brand > p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--footer-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--footer-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--footer-white);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 139, 16, 0.7);
  background: linear-gradient(
    135deg,
    var(--footer-purple),
    var(--footer-gold)
  );
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.footer-social a:focus-visible {
  outline: 3px solid rgba(201, 139, 16, 0.4);
  outline-offset: 4px;
}

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

@keyframes footerFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(22px, -18px, 0) scale(1.08);
  }
}

@media (max-width: 768px) {
  .footer-section {
    min-height: 380px;
    padding: 60px 20px;
  }

  .footer-brand {
    max-width: 520px;
  }

  .footer-logo {
    width: 165px;
  }

  .footer-brand > p {
    font-size: 14px;
    line-height: 1.75;
  }
}

@media (max-width: 480px) {
  .footer-section {
    min-height: 350px;
    padding: 50px 18px;
  }

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

  .footer-logo {
    width: 150px;
  }

  .footer-brand > p {
    font-size: 13px;
  }

  .footer-social {
    gap: 10px;
    margin-top: 24px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  .footer-glow {
    animation: none;
  }

  .footer-social a {
    transition: none;
  }
}