.footer {
  position: relative;
  overflow: hidden;
  color: #e1e1e1;
  background:
    radial-gradient(circle at 15% 0%, rgba(250, 204, 20, 0.13), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(255, 102, 0, 0.10), transparent 28%),
    linear-gradient(90deg, #2b0066, #1a0033);
  border-top: 1px solid rgba(250, 204, 20, 0.22);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 46%);
}

.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #facc14, #ff6600, transparent);
  opacity: 0.9;
}

.footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 34px 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 56px;
  align-items: start;
}

.footer-brand__name {
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.footer-brand__claim {
  max-width: 440px;
  margin-top: 8px;
  color: rgba(225, 225, 225, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}

.footer-legal {
  min-width: 190px;
}

.footer-legal__title {
  color: #ffffff;
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid #ffffff;
}

.footer-legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}

.footer-legal__link {
  position: relative;
  color: rgba(225, 225, 225, 0.82);
  font-size: 0.95rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: #facc14;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.footer-legal__link:hover,
.footer-legal__link.is-active {
  color: #facc14;
}

.footer-legal__link:hover::after,
.footer-legal__link.is-active::after {
  transform: scaleX(1);
}

.footer__bottom {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(225, 225, 225, 0.62);
  font-size: 0.9rem;
}

.footer a:focus-visible {
  outline: 2px solid #facc14;
  outline-offset: 5px;
  border-radius: 6px;
}

@media (max-width: 760px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 32px 20px 22px;
    text-align: center;
  }

  .footer-brand__claim {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-legal {
    min-width: 0;
  }

  .footer-legal__nav {
    justify-content: center;
  }

  .footer__bottom {
    padding-top: 20px;
  }
}
