/* CHILL-footer-Control v1.0.0
   Footer only. Header/body/content areas are not touched.
*/

body.chill-footer-hide-default .site-footer:not(.chill-site-footer),
body.chill-footer-hide-default footer.site-footer:not(.chill-site-footer) {
  display: none !important;
}

.chill-site-footer {
  position: relative;
  isolation: isolate;
  width: 100%;
  background:
    radial-gradient(circle at 12% 0%, rgba(183, 255, 22, 0.10), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(107, 255, 0, 0.08), transparent 28%),
    linear-gradient(180deg, #090b08 0%, #050604 100%);
  color: rgba(247, 251, 232, 0.78);
  border-top: 3px solid #b7ff16;
  box-shadow:
    inset 0 1px 0 rgba(183, 255, 22, 0.34),
    0 -18px 45px rgba(0, 0, 0, 0.28),
    0 0 26px rgba(183, 255, 22, 0.09);
  padding: 54px 24px 26px;
  overflow: hidden;
}

.chill-site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(183, 255, 22, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 255, 22, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
}

.chill-site-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(520px, 2fr);
  gap: 64px;
}

.chill-site-footer__inner,
.chill-site-footer__inner * {
  box-sizing: border-box;
}

.chill-site-footer a {
  color: rgba(247, 251, 232, 0.82);
  text-decoration: none;
}

.chill-site-footer a:hover {
  color: #b7ff16;
}

.chill-site-footer__brand-title {
  margin: 0 0 22px;
  color: #b7ff16;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(183, 255, 22, 0.22);
}

.chill-site-footer__tagline {
  margin-bottom: 14px;
  color: #b7ff16;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.chill-site-footer__text {
  max-width: 360px;
  margin: 0;
  color: rgba(247, 251, 232, 0.78);
  font-size: 15px;
  line-height: 1.85;
}

.chill-site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.chill-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(183, 255, 22, 0.42);
  border-radius: 999px;
  color: #b7ff16 !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: rgba(183, 255, 22, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.chill-footer-social-link:hover {
  color: #050604 !important;
  background: #b7ff16;
  box-shadow: 0 0 18px rgba(183, 255, 22, 0.34);
}

.chill-site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 48px;
}

.chill-footer-column h2 {
  position: relative;
  margin: 0 0 26px;
  color: #b7ff16;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.chill-footer-column h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 12px;
  border-radius: 999px;
  background: #b7ff16;
  box-shadow: 0 0 10px rgba(183, 255, 22, 0.72);
}

.chill-footer-menu {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chill-footer-menu li {
  margin: 0;
  padding: 0;
}

.chill-footer-menu a {
  display: inline-flex;
  align-items: center;
  color: rgba(247, 251, 232, 0.84);
  font-size: 16px;
  line-height: 1.55;
  transition: color .18s ease, transform .18s ease, text-shadow .18s ease;
}

.chill-footer-menu a::before {
  content: "";
  width: 0;
  height: 2px;
  margin-right: 0;
  border-radius: 999px;
  background: #b7ff16;
  box-shadow: 0 0 10px rgba(183, 255, 22, 0.7);
  transition: width .18s ease, margin-right .18s ease;
}

.chill-footer-menu a:hover {
  color: #b7ff16;
  transform: translateX(2px);
  text-shadow: 0 0 12px rgba(183, 255, 22, .20);
}

.chill-footer-menu a:hover::before {
  width: 12px;
  margin-right: 8px;
}

.chill-site-footer__bottom {
  grid-column: 1 / -1;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(247, 251, 232, 0.16);
  text-align: center;
}

.chill-site-footer__bottom p {
  margin: 0;
  color: rgba(247, 251, 232, 0.68);
  font-size: 14px;
  letter-spacing: 0.02em;
}

@media (max-width: 960px) {
  .chill-site-footer {
    padding: 44px 20px 24px;
  }

  .chill-site-footer__inner {
    display: block;
  }

  .chill-site-footer__brand {
    margin-bottom: 38px;
  }

  .chill-site-footer__text {
    max-width: none;
  }

  .chill-site-footer__nav {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .chill-footer-column {
    padding-top: 24px;
    border-top: 1px solid rgba(247, 251, 232, 0.12);
  }

  .chill-footer-column h2 {
    margin-bottom: 18px;
  }

  .chill-footer-menu {
    gap: 10px;
  }

  .chill-site-footer__bottom {
    margin-top: 32px;
  }
}

@media (max-width: 520px) {
  .chill-site-footer__brand-title {
    font-size: 34px;
  }

  .chill-site-footer__tagline {
    font-size: 16px;
  }

  .chill-footer-menu a {
    font-size: 15px;
  }
}
