/* ═══════════════════════════════════ */
/* FOOTER COMPONENT                    */
/* ═══════════════════════════════════ */

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(82, 183, 255, 0.1);
  background: rgba(10, 12, 16, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 48px 40px 40px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-logo-block p {
  font-size: .8rem;
  color: var(--muted2);
  line-height: 1.75;
}

.footer-col-title {
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(82, 183, 255, 0.5);
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: .83rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .25s cubic-bezier(0.4, 0, 0.2, 1), transform .25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.footer-links a::after {
  content: '';
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  background-image: url('../../assets/arrow-icon.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0;
  transition: opacity .25s cubic-bezier(0.4, 0, 0.2, 1), transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links a:hover::after {
  opacity: 1;
  transform: translateX(0.5px) translateY(-0.5px);
}

.footer-links a.no-arrow::after {
  display: none;
}

.footer-bottom {
  max-width: var(--max);
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .73rem;
  color: var(--muted2);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: .73rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: color .25s cubic-bezier(0.4, 0, 0.2, 1), transform .25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-legal a::after {
  content: '';
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  background-image: url('../../assets/arrow-icon.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0;
  transition: opacity .25s cubic-bezier(0.4, 0, 0.2, 1), transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-legal a:hover::after {
  opacity: 1;
  transform: translateX(0.5px) translateY(-0.5px);
}

.credit-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: color .25s cubic-bezier(0.4, 0, 0.2, 1);
}

.credit-link svg {
  opacity: 0;
  transition: opacity .25s cubic-bezier(0.4, 0, 0.2, 1), transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.credit-link:hover svg {
  opacity: 1;
  transform: translateX(0.5px) translateY(-0.5px);
}

@media (max-width: 480px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-legal {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
}
