.footer-section {
  position: relative;
  overflow: hidden;
  padding: 50px 24px;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(27, 130, 255, 0.18),
      transparent 35%
    ),
    radial-gradient(
      circle at 88% 80%,
      rgba(87, 52, 180, 0.2),
      transparent 36%
    ),
    linear-gradient(
      135deg,
      #020919 0%,
      #07172f 52%,
      #12092d 100%
    );
  font-family: Arial, Helvetica, sans-serif;
}

.footer-section,
.footer-section * {
  box-sizing: border-box;
}

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

.footer-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(83, 164, 255, 0.55),
    rgba(113, 71, 201, 0.55),
    transparent
  );
}

.footer-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.footer-glow-one {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -100px;
  background: rgba(0, 119, 255, 0.24);
}

.footer-glow-two {
  width: 360px;
  height: 360px;
  right: -140px;
  bottom: -200px;
  background: rgba(99, 35, 127, 0.28);
}

.footer-container {
  position: relative;
  z-index: 2;
  width: min(1000px, 100%);
  margin: 0 auto;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  width: 100%;
  text-align: center;
}

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

.footer-logo {
  display: block;
  width: min(200px, 70vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.28));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
  transform: translateY(-3px);
  filter:
    drop-shadow(0 10px 26px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 16px rgba(55, 151, 255, 0.18));
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social a {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(104, 167, 255, 0.28);
  border-radius: 13px;
  background: rgba(7, 22, 49, 0.78);
  color: #89c2ff;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.footer-social a::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    135deg,
    rgba(21, 155, 222, 0.95),
    rgba(99, 35, 127, 0.95)
  );
  transition: opacity 0.25s ease;
}

.footer-social a svg {
  position: relative;
  z-index: 2;
  width: 21px;
  height: 21px;
}

.footer-social a:hover {
  transform: translateY(-4px);
  color: #ffffff;
  border-color: rgba(105, 182, 255, 0.65);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(49, 149, 255, 0.18);
}

.footer-social a:hover::before {
  opacity: 1;
}

.footer-social a:focus-visible {
  outline: 2px solid #58aaff;
  outline-offset: 4px;
}

.footer-social a[aria-label="YouTube"] svg path:last-child {
  fill: #08152d;
}

.footer-social a[aria-label="YouTube"]:hover svg path:last-child {
  fill: #63237f;
}

@media (max-width: 768px) {
  .footer-section {
    padding: 42px 20px;
  }

  .footer-brand {
    gap: 22px;
  }

  .footer-logo {
    width: min(205px, 68vw);
  }

  .footer-social a {
    width: 43px;
    height: 43px;
    border-radius: 12px;
  }

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

@media (max-width: 480px) {
  .footer-section {
    padding: 36px 16px;
  }

  .footer-section::after {
    width: calc(100% - 32px);
  }

  .footer-brand {
    gap: 20px;
  }

  .footer-logo {
    width: min(185px, 72vw);
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 41px;
    height: 41px;
  }

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