.main-footer {
  background-color: var(--bg-dark-blue);
  color: var(--text-primary);
  padding: 2rem 0 0 0;
  border-top: 2px solid var(--neon-cyan);
  box-shadow: 0 -4px 15px var(--neon-glow);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 2rem 3rem 2rem;
  gap: 3rem;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  height: 180px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 5px var(--neon-glow));
}

.brand-text {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  color: var(--text-primary);
  background-color: var(--bg-accent-blue);
  width: 50px;
  height: 50px;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  border: 1px solid var(--neon-cyan);
  text-decoration: none;
  transition: all 0.3s;
  i {
    letter-spacing: 0px !important;
  }
}

.social-icon:hover {
  background-color: var(--neon-cyan);
  color: var(--bg-dark-blue);
  box-shadow: 0 0 10px var(--neon-cyan);
  transform: translateY(-3px);
}

.footer-links {
  display: flex;
  flex: 2;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.column-title {
  color: var(--neon-cyan);
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  transition:
    opacity 0.3s,
    color 0.3s;
}

.footer-column ul li a:hover {
  opacity: 1;
  color: var(--neon-cyan);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

.legal-links a {
  color: var(--text-primary);
  text-decoration: none;
  margin-left: 1.5rem;
}

.legal-links a:hover {
  color: var(--neon-cyan);
}

@media (max-width: 490px) {
  .footer-links {
    margin-top: 30px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
  }

  .footer-logo {
    height: 120px;
    margin-bottom: 1rem;
  }

  .social-links {
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
  }

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

  .column-title {
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }

  .footer-bottom {
    padding: 1.5rem 1rem;
  }

  .bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .legal-links {
    display: flex;
    width: 80%;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap;

    a {
      margin-left: 0;
      margin-right: 0;
    }
  }
}

@media (max-width: 815px) and (min-width: 491px) {
  .footer-container {
    padding: 3rem 2rem;
    gap: 2rem;
  }

  .footer-brand {
    min-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
  }

  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }
}
