@import url("https://fonts.googleapis.com/css2?family=Poiret+One&display=swap");

.uf-footer {
  width: 100%;
  margin: 1.2rem 0 1.4rem;
  padding: 0 max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
  padding-bottom: max(0, env(safe-area-inset-bottom));
}

.uf-footer,
.uf-footer h3,
.uf-footer a,
.uf-footer p {
  font-family: "Poiret One", "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.uf-shell {
  border: 1px solid rgba(18, 103, 211, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 92%, rgba(18, 109, 222, 0.24), transparent 36%),
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent 60px,
      rgba(255, 255, 255, 0.017) 61px,
      transparent 62px
    ),
    linear-gradient(165deg, rgba(17, 20, 26, 0.96), rgba(4, 6, 9, 0.98));
  box-shadow: 0 30px 54px rgba(0, 0, 0, 0.46);
  padding: clamp(1.2rem, 3vw, 2.5rem);
  position: relative;
}

.uf-shell::before,
.uf-shell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.uf-shell::before {
  top: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(22, 125, 255, 0.45),
    rgba(26, 142, 255, 0.9),
    rgba(22, 125, 255, 0.45)
  );
}

.uf-shell::after {
  bottom: -1px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(137, 79, 255, 0.2),
    rgba(175, 102, 255, 0.6),
    rgba(137, 79, 255, 0.2)
  );
}

.uf-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: clamp(1rem, 2vw, 2.2rem);
}

.uf-col {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.uf-col h3 {
  margin: 0;
  color: #0e96ff;
  font-size: 1.25rem;
  font-weight: 700;
}

.uf-col a,
.uf-col p {
  margin: 0;
  color: #d5deeb;
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1.5;
  transition: color 180ms ease;
}

.uf-col a:hover {
  color: #20a2ff;
}

.uf-logo-link {
  width: 260px;
  max-width: 100%;
  margin-bottom: 0.5rem;
}

.uf-logo-link img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.uf-headline {
  color: #f0f5ff;
  font-weight: 700;
}

.uf-copy {
  color: #9eaec6;
  max-width: 36ch;
}

.uf-social-wrap {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.6rem;
}

.uf-social-wrap p {
  color: #d9e7fa;
  font-weight: 600;
}

.uf-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.uf-social a {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #0f86ff;
  border: 1px solid rgba(180, 80, 255, 0.24);
  background: linear-gradient(145deg, rgba(14, 18, 24, 0.94), rgba(11, 14, 19, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(17, 128, 255, 0.14),
    0 8px 20px rgba(7, 15, 34, 0.46);
}

.uf-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.uf-bottom p,
.uf-bottom a {
  margin: 0;
  color: #9ca9bf;
  text-decoration: none;
  font-size: 0.96rem;
}

.uf-bottom div {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

@media (max-width: 1180px) {
  .uf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .uf-footer {
    width: 100%;
    margin: 0.6rem 0 0.85rem;
    padding: 0 0.35rem;
  }

  .uf-shell {
    border-radius: 16px;
    padding: 0.9rem;
  }

  .uf-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .uf-col h3 {
    font-size: 1rem;
  }

  .uf-col a,
  .uf-col p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .uf-logo-link {
    width: 160px;
  }

  .uf-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
  }

  .uf-bottom div {
    gap: 0.9rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .uf-footer {
    padding: 0 0.25rem;
    margin-bottom: 0.65rem;
  }

  .uf-shell {
    border-radius: 14px;
    padding: 0.78rem;
  }

  .uf-grid {
    gap: 0.72rem;
  }

  .uf-logo-link {
    width: 140px;
    margin-bottom: 0.25rem;
  }

  .uf-headline {
    font-size: 0.94rem;
  }

  .uf-copy {
    font-size: 0.86rem;
  }

  .uf-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 0.88rem;
  }

  .uf-bottom p,
  .uf-bottom a {
    font-size: 0.82rem;
  }
}
