.site-footer {
  position: relative;
  margin-top: 4rem;
  background: radial-gradient(
      ellipse 800px 400px at 20% 50%,
      rgba(94, 234, 212, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 600px 350px at 80% 60%,
      rgba(20, 79, 72, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 500px 300px at 50% 100%,
      rgba(156, 201, 196, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #0a2a26 0%, #0f3832 30%, #144f48 60%, #1a5d54 100%);
  padding: 1.25rem 0;
  overflow: hidden;
}

.footer-fade {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #0a2a26);
  pointer-events: none;
  z-index: 1;
}

.footer-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0.25;
}

.shape {
  position: absolute;
  filter: blur(60px);
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  left: 5%;
  background: radial-gradient(
    circle,
    rgba(94, 234, 212, 0.4) 0%,
    rgba(94, 234, 212, 0.2) 40%,
    transparent 70%
  );
  animation: float1 20s ease-in-out infinite;
}

.shape-2 {
  width: 350px;
  height: 350px;
  bottom: -180px;
  right: 10%;
  background: radial-gradient(
    circle,
    rgba(156, 201, 196, 0.35) 0%,
    rgba(156, 201, 196, 0.15) 40%,
    transparent 70%
  );
  animation: float2 25s ease-in-out infinite;
}

.shape-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 45%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(20, 79, 72, 0.5) 0%,
    rgba(20, 79, 72, 0.3) 40%,
    transparent 70%
  );
  animation: float3 18s ease-in-out infinite;
}

.shape-4 {
  width: 380px;
  height: 380px;
  bottom: -150px;
  left: 25%;
  background: radial-gradient(
    circle,
    rgba(94, 234, 212, 0.3) 0%,
    rgba(94, 234, 212, 0.15) 40%,
    transparent 70%
  );
  animation: float4 22s ease-in-out infinite;
}

@keyframes float1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 20px) scale(1.1);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-40px, -25px) scale(1.15);
  }
}

@keyframes float3 {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@keyframes float4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(25px, -30px) scale(1.12);
  }
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  height: 220px;
  width: auto;
  /* filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.25)); */
  animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
  0%,
  100% {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))
      drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
  }
  50% {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))
      drop-shadow(0 0 16px rgba(255, 255, 255, 0.35));
  }
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.copyright-main {
  color: #e5f1ef;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.3px;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    #9cc9c4 0%,
    #9cc9c4 20%,
    #ffffff 35%,
    #ffffff 40%,
    #9cc9c4 55%,
    #9cc9c4 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGlowWave 5s linear infinite;
  /* filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5)); */
}

@keyframes textGlowWave {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 250% 0;
  }
}

.copyright-disclaimer {
  color: #9cc9c4;
  font-size: 0.8rem;
  margin: 0;
  opacity: 0.75;
  font-weight: 400;
  white-space: nowrap;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-links {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 0.5rem 3rem;
  align-items: center;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #cde4e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.3rem 0.75rem;
  border-radius: 0.4rem;
  position: relative;
  white-space: nowrap;
}

.footer-link i {
  font-size: 1.1rem;
  color: #5eead4;
  transition: all 0.3s ease;
}

.footer-link span {
  transition: all 0.3s ease;
}

.footer-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(94, 234, 212, 0.1),
    rgba(156, 201, 196, 0.05)
  );
  border-radius: 0.4rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  color: #5eead4;
  text-shadow: 0 0 12px rgba(94, 234, 212, 0.4);
  transform: translateX(2px);
}

.footer-link:hover::before {
  opacity: 1;
}

.footer-link:hover i {
  color: #ffffff;
  filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.6));
  transform: scale(1.15);
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    justify-content: center;
  }

  .footer-copyright {
    align-items: center;
  }

  .copyright-main,
  .copyright-disclaimer {
    white-space: normal;
  }

  .footer-right {
    justify-content: center;
  }

  .footer-links {
    gap: 0.4rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 1rem 0;
  }

  .footer-content {
    padding: 0 1rem;
    gap: 1.25rem;
  }

  .footer-logo {
    height: 120px;
  }

  .copyright-main {
    font-size: 1rem;
  }

  .copyright-disclaimer {
    font-size: 0.75rem;
  }

  .footer-links {
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 0.4rem 2rem;
  }

  .footer-link {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
  }

  .footer-link i {
    font-size: 1rem;
  }
}
