/* Shared public footer and compact authenticated copyright.
   All rules are scoped to dedicated ll-* classes. */
.ll-guest-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: 4.25rem 0 1.4rem;
  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-guest-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  content: "";
  pointer-events: none;
}

.ll-guest-footer::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.055), transparent 38%),
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, 0.12), transparent 30%);
  content: "";
  pointer-events: none;
}

.ll-guest-footer__orb {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  pointer-events: none;
}

.ll-guest-footer__orb--one {
  top: -6rem;
  right: 5%;
  width: 18rem;
  height: 18rem;
}

.ll-guest-footer__orb--two {
  bottom: -9rem;
  left: -5rem;
  width: 20rem;
  height: 20rem;
}

.ll-guest-footer__container {
  position: relative;
  z-index: 1;
}

.ll-guest-footer__surface {
  position: relative;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ll-guest-footer__surface::before {
  display: none;
  content: none;
}

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

.ll-guest-footer__brand-name {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: #fff !important;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-decoration: none !important;
}

.ll-guest-footer__brand-name:hover,
.ll-guest-footer__brand-name:focus {
  color: #fff !important;
  text-shadow: 0 0 22px rgba(255, 255, 255, 0.3);
}

.ll-guest-footer__description {
  max-width: 31rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 0.9rem;
  line-height: 1.82;
}

.ll-guest-footer__group h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.ll-guest-footer__group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ll-guest-footer__group li + li {
  margin-top: 0.62rem;
}

.ll-guest-footer__group a {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.88rem;
  line-height: 1.55;
  text-decoration: none !important;
  transition: color 170ms ease, transform 170ms ease, text-shadow 170ms ease;
}

.ll-guest-footer__group > ul a::before {
  width: 0;
  height: 1px;
  margin-right: 0;
  background: rgba(255, 255, 255, 0.82);
  content: "";
  transition: width 170ms ease, margin-right 170ms ease;
}

.ll-guest-footer__group a:hover,
.ll-guest-footer__group a:focus {
  color: #fff !important;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.22);
  transform: translateX(2px);
}

.ll-guest-footer__group > ul a:hover::before,
.ll-guest-footer__group > ul a:focus::before {
  width: 0.75rem;
  margin-right: 0.42rem;
}

.ll-guest-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 1.15rem;
}

.ll-guest-footer__social a {
  display: inline-flex;
  flex: 0 0 2.55rem;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  min-height: 2.55rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.82rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 1rem;
  transform: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 170ms ease, border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.ll-guest-footer__social a:hover,
.ll-guest-footer__social a:focus {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(24, 6, 58, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.ll-guest-footer__divider {
  height: 1px;
  margin: 1.8rem 0 1.05rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.ll-guest-footer__copyright {
  color: rgba(255, 255, 255, 0.69);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

/* Public navigation language selector. */
.ll-public-language {
  display: flex;
  align-items: center;
  margin-left: 0.55rem;
}

.ll-public-language__label {
  display: none;
}

.ll-public-language__control {
  position: relative;
  display: flex;
  align-items: center;
  width: 96px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(91, 39, 181, 0.2);
  border-radius: 999px;
  background: rgba(104, 46, 201, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.ll-public-language__control:hover,
.ll-public-language__control:focus-within {
  border-color: rgba(91, 39, 181, 0.42);
  background: rgba(104, 46, 201, 0.12);
  box-shadow: 0 8px 22px rgba(55, 25, 113, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.ll-public-language__control > i {
  position: absolute;
  left: 12px;
  z-index: 1;
  color: #6a35b8;
  font-size: 0.82rem;
  pointer-events: none;
}

.ll-public-language__control::after {
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 1;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border-right: 2px solid #6a35b8;
  border-bottom: 2px solid #6a35b8;
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

.ll-public-language__select {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 27px 0 31px;
  border: 0;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: #3d235f;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.ll-public-language__select::-ms-expand {
  display: none;
}

.ll-public-language__select option {
  background: #fff;
  color: #24103f;
}

.ll-blog-header .ll-public-language__control {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ll-blog-header .ll-public-language__control:hover,
.ll-blog-header .ll-public-language__control:focus-within {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 22px rgba(17, 4, 43, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.ll-blog-header .ll-public-language__control > i,
.ll-blog-header .ll-public-language__select {
  color: #fff;
}

.ll-blog-header .ll-public-language__control::after {
  border-color: rgba(255, 255, 255, 0.84);
}

/* Authenticated application: copyright only, never fixed. */
.ll-app-copyright {
  flex: 0 0 auto;
  width: 100%;
  padding: 0.95rem 1.25rem 1.2rem;
  color: #8a8293;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.ll-app-copyright__inner {
  width: min(100%, 1480px);
  margin: 0 auto;
}

.ll-user-panel .ll-user-content {
  flex: 1 0 auto;
}

body.ll-user-horizontal {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

body.ll-user-horizontal > .page {
  flex: 1 0 auto;
}

body.ll-user-panel.theme-dark .ll-app-copyright,
body.ll-user-horizontal.theme-dark .ll-app-copyright {
  color: rgba(222, 214, 232, 0.62);
}

@media (max-width: 1199.98px) {
  .ll-guest-footer {
    padding-top: 3.4rem;
  }

  .ll-guest-footer__surface {
    padding: 0;
  }

  .ll-guest-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 2rem;
  }

  .ll-guest-footer__brand {
    grid-column: 1 / -1;
    max-width: 620px;
  }

  .ll-public-auth-actions,
  .ll-blog-auth-actions {
    width: 100%;
  }

  .ll-public-language {
    display: grid;
    grid-template-columns: auto 132px;
    width: 100%;
    margin: 0.45rem 0 0;
    padding-top: 0.55rem;
    align-items: center;
    justify-content: space-between;
    column-gap: 0.75rem;
    border-top: 1px solid rgba(91, 39, 181, 0.11);
  }

  .ll-public-language__label {
    display: block;
    margin: 0;
    color: #71677c;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .ll-public-language__control {
    width: 132px;
    height: 40px;
    border-radius: 0.68rem;
  }

  .ll-blog-header .ll-public-language {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .ll-blog-header .ll-public-language__label {
    color: rgba(255, 255, 255, 0.72);
  }
}

@media (max-width: 767.98px) {
  .ll-guest-footer {
    padding: 2.8rem 0 1rem;
  }

  .ll-guest-footer__surface {
    padding: 0;
    border-radius: 0;
  }

  .ll-guest-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.7rem 1.5rem;
  }

  .ll-guest-footer__brand {
    grid-column: 1 / -1;
  }

  .ll-guest-footer__description {
    font-size: 0.86rem;
  }

  .ll-guest-footer__group li + li {
    margin-top: 0.48rem;
  }

  .ll-guest-footer__social {
    gap: 0.75rem;
    margin-top: 1.05rem;
  }

  .ll-guest-footer__social a {
    flex-basis: 2.85rem;
    width: 2.85rem;
    height: 2.85rem;
    min-height: 2.85rem;
    border-radius: 0.85rem;
    font-size: 1.08rem;
  }

  .ll-guest-footer__divider {
    margin-top: 1.45rem;
  }

  .ll-app-copyright {
    padding: 0.85rem 1rem 1rem;
    font-size: 0.76rem;
  }
}

@media (max-width: 420px) {
  .ll-guest-footer__grid {
    grid-template-columns: 1fr;
  }

  .ll-guest-footer__brand {
    grid-column: auto;
  }

  .ll-public-language {
    grid-template-columns: auto minmax(124px, 136px);
  }

  .ll-public-language__control {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ll-guest-footer a,
  .ll-public-language__control {
    transition: none !important;
  }
}
