/* Shared public footer used by the approved homepage, Blog, and guest FAQ. */
.ll-public-footer.monoka-home-footer.footer {
  position: relative;
  overflow: hidden;
  padding: 4.8rem 0 3.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 111, 161, 0.26), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(134, 104, 255, 0.34), transparent 33%),
    linear-gradient(135deg, #32106f 0%, #5620bd 50%, #7d38e9 100%);
  color: #fff;
}

.ll-public-footer.monoka-home-footer.footer::before {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 90%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 90%);
  content: "";
  pointer-events: none;
}

.ll-public-footer .container {
  position: relative;
  z-index: 1;
}

.ll-public-footer .monoka-footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) repeat(4, minmax(130px, 1fr));
  gap: 2.4rem 2.25rem;
  align-items: start;
}

.ll-public-footer .footer-col {
  min-width: 0;
  margin: 0;
}

.ll-public-footer .monoka-footer-brand {
  max-width: 410px;
}

.ll-public-footer .monoka-footer-brand-name {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #fff !important;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-decoration: none;
}

.ll-public-footer .monoka-footer-brand-name:hover,
.ll-public-footer .monoka-footer-brand-name:focus {
  color: #fff !important;
  text-decoration: none;
}

.ll-public-footer .monoka-footer-description {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.82;
}

.ll-public-footer .monoka-footer-group h4 {
  position: relative;
  margin: 0 0 0.95rem;
  padding-bottom: 0.65rem;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.ll-public-footer .monoka-footer-group h4::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b28aff, #ff7ca5);
  content: "";
}

.ll-public-footer .monoka-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ll-public-footer .monoka-footer-links li + li {
  margin-top: 0.05rem;
}

.ll-public-footer .monoka-footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.12rem 0 0.12rem 0.9rem;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.86rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.ll-public-footer .monoka-footer-links a::before {
  position: absolute;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bda1ff;
  box-shadow: 0 0 0 4px rgba(189, 161, 255, 0.08);
  content: "";
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ll-public-footer .monoka-footer-links a:hover,
.ll-public-footer .monoka-footer-links a:focus {
  color: #fff !important;
  text-decoration: none;
  transform: translateX(3px);
}

.ll-public-footer .monoka-footer-links a:hover::before,
.ll-public-footer .monoka-footer-links a:focus::before {
  background: #ff8caf;
  box-shadow: 0 0 0 4px rgba(255, 140, 175, 0.12);
}

.ll-public-footer .monoka-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.ll-public-footer .monoka-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ll-public-footer .monoka-footer-social a:hover,
.ll-public-footer .monoka-footer-social a:focus {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.13);
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
  outline: none;
}

.ll-public-copyright.monoka-home-copyright.footer {
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, #32106f 0%, #5620bd 50%, #7d38e9 100%);
}

.ll-public-copyright .monoka-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 1rem 0;
}

.ll-public-copyright .monoka-footer-copyright {
  width: 100%;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: anywhere;
}

.ll-public-back-to-top.monoka-back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1040;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: #5f2bc5;
  color: #fff;
  box-shadow: 0 14px 34px rgba(39, 14, 91, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.92);
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ll-public-back-to-top.monoka-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ll-public-back-to-top.monoka-back-to-top:hover,
.ll-public-back-to-top.monoka-back-to-top:focus-visible {
  color: #fff;
  box-shadow: 0 18px 40px rgba(39, 14, 91, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  transform: translateY(-2px) scale(1.03);
  outline: 3px solid rgba(255, 255, 255, 0.78);
  outline-offset: 3px;
}

@media (max-width: 1199.98px) {
  .ll-public-footer .monoka-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.2rem 2rem;
  }

  .ll-public-footer .monoka-footer-brand {
    grid-column: 1 / -1;
    max-width: 620px;
  }
}

@media (max-width: 767.98px) {
  .ll-public-footer.monoka-home-footer.footer {
    padding-top: 4rem;
    padding-bottom: 2.8rem;
  }

  .ll-public-footer .monoka-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.1rem 1.5rem;
  }

  .ll-public-footer .monoka-footer-brand {
    grid-column: 1 / -1;
  }

  .ll-public-footer .monoka-footer-social {
    gap: 0.75rem;
    margin-top: 1.25rem;
  }

  .ll-public-footer .monoka-footer-social a {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.85rem;
    font-size: 1.05rem;
  }

  .ll-public-back-to-top.monoka-back-to-top {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 575.98px) {
  .ll-public-footer.monoka-home-footer.footer {
    padding: 3.5rem 0 2.4rem;
  }

  .ll-public-footer .monoka-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .ll-public-footer .monoka-footer-brand {
    grid-column: auto;
  }

  .ll-public-copyright .monoka-footer-bottom {
    min-height: 0;
    padding: 1.35rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ll-public-footer .monoka-footer-links a,
  .ll-public-footer .monoka-footer-social a,
  .ll-public-back-to-top.monoka-back-to-top {
    transition: none;
  }

  .ll-public-footer .monoka-footer-links a:hover,
  .ll-public-footer .monoka-footer-links a:focus,
  .ll-public-footer .monoka-footer-social a:hover,
  .ll-public-footer .monoka-footer-social a:focus,
  .ll-public-back-to-top.monoka-back-to-top:hover,
  .ll-public-back-to-top.monoka-back-to-top:focus-visible {
    transform: none;
  }
}
