/* ============================= */
/* Footer — Neon dark theme      */
/* ============================= */

footer {
  background: #151516;
}

.footer__top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
  margin-bottom: 29px;
}

.footer__top > div:first-child {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.footer__top > div > ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.footer__top > div > ul a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background-color: #120e0b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.45),
    0 0 10px rgba(134, 139, 255, 0.14);
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
.footer__top > div > ul a:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.55),
    0 0 14px rgba(134, 139, 255, 0.22);
}

.footer__top > div > ul img {
  height: 45%;
  object-fit: contain;
}

.footer__top > nav ul {
  margin-left: auto;
  
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 39px;
  row-gap: 12px;
  justify-content: right;
}

.footer__top > nav li a {
  width: max-content;
  color: #75767f;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.footer__top > nav li a:hover {
  color: #fcfdfe;
  text-shadow: 0 0 14px rgba(134, 139, 255, 0.18);
}

.footer__bottom {
  padding: 8px 0;
  text-align: left;
  background: #1d1d1e;
}

.footer__bottom p {
  color: #75767f !important;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer__top {
    flex-direction: column-reverse;
    align-items: start;
    gap: 24px;
  }

  .footer__top > div:first-child > a {
    max-width: 153px;
  }

  .footer__top > div > ul {
    display: none;
  }

  .footer__top > nav ul {
    margin-left: initial;
  
    align-items: start;
    gap: 24px;
    row-gap: 12px;
    justify-content: left;
  }
}

/* ============================================= */
/* Footer social — neon glass + gradient hover   */
/* ============================================= */

.footer-social {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #868bff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    #151516;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.6),
    0 0 14px rgba(134, 139, 255, 0.2);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    filter 0.25s ease;
  text-decoration: none;
}
.footer-social a:hover {
  transform: translateY(-3px);
  background: linear-gradient(100deg, var(--neon-1), var(--neon-2) 30%, var(--neon-3) 60%, var(--neon-4) 90%);
  color: #0b0d10;
  border-color: rgba(134, 139, 255, 0.34);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(134, 139, 255, 0.3),
    0 0 44px rgba(143, 96, 255, 0.24);
}


.footer-social a:hover svg,
.footer-social a:hover img {
  filter: brightness(1.15) contrast(1.1);
}

.footer-social a::after {
  display: none;
}
