/* ==========================================================================
   JAILBREAK CUSTOMZ - PREMIUM LUXURY THEME FOOTER
   Clean, Refined Dark Luxury Aesthetic with Guaranteed Responsive Mobile Layout
   ========================================================================== */

/* 1. Main Footer Container */
footer.theme-footer {
  position: relative;
  background: var(--bg-dark-2, #18191d) !important;
  color: var(--body-font-color-dark, rgba(255, 255, 255, 0.65)) !important;
  padding: 70px 0 0 0 !important;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 10;
  text-align: left !important;
}

/* 2. Top Subtle Shimmer Hairline */
.footer-top-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(233, 2, 30, 0.2) 20%,
    var(--primary-color, #E9021E) 50%,
    rgba(233, 2, 30, 0.2) 80%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: footerSoftShimmer 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes footerSoftShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* 3. Footer Columns */
.footer-col {
  text-align: left !important;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-align: left !important;
}

.footer-logo-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.footer-logo-link img {
  max-height: 42px;
  width: auto;
  display: block;
}

.footer-desc {
  font-size: 13.5px;
  line-height: 1.7em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  text-align: left !important;
}

/* 4. Social Icons */
.footer-social-icons {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  text-align: left !important;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 15px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.footer-social-icons a:hover {
  background: rgba(233, 2, 30, 0.15);
  border-color: rgba(233, 2, 30, 0.4);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(233, 2, 30, 0.25);
}

/* 5. Widget Headers */
footer.theme-footer h5 {
  font-family: var(--heading-font, "Oxanium", sans-serif) !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-transform: none;
  letter-spacing: 0.03em;
  margin-bottom: 18px !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  text-align: left !important;
}

footer.theme-footer h5::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 14px;
  background: var(--primary-color, #E9021E);
  border-radius: 2px;
  flex-shrink: 0;
}

/* 6. Navigation Link Lists */
.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

.footer-links li {
  margin-bottom: 9px !important;
  text-align: left !important;
}

.footer-links li a {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  font-size: 13.5px !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
  text-align: left !important;
  padding: 2px 0;
}

.footer-links li a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}

/* 7. Contact Us Block */
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left !important;
}

.footer-contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.3s ease;
  text-align: left !important;
}

.footer-contact-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(233, 2, 30, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(233, 2, 30, 0.12);
  border: 1px solid rgba(233, 2, 30, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color, #E9021E);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  text-align: left !important;
}

.footer-contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
  font-weight: 600;
}

.footer-contact-val {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.footer-contact-val.dim {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
}

/* 8. Subfooter */
footer.theme-footer .subfooter {
  margin-top: 50px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.subfooter-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.subfooter-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.subfooter-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.subfooter-nav a {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  transition: color 0.25s ease;
}

.subfooter-nav a:hover {
  color: #ffffff !important;
}

.subfooter-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
}

/* 9. Developer Attribution: Developed and Designed by Yabuh Ltd */
.subfooter-developer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.dev-by-text {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.yabuh-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.yabuh-link-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  color: #ffffff !important;
}

.yabuh-link-pill .yabuh-title {
  color: #ffffff;
  font-weight: 700;
}

.yabuh-link-pill .yabuh-arrow {
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.25s ease, color 0.25s ease;
}

.yabuh-link-pill:hover .yabuh-arrow {
  transform: translate(2px, -2px);
  color: #ffffff;
}

/* 10. Responsive Breakpoints */
@media (max-width: 991.98px) {
  footer.theme-footer {
    padding-top: 45px !important;
    text-align: left !important;
  }
  
  .footer-col {
    margin-bottom: 28px !important;
    text-align: left !important;
  }

  .footer-desc {
    font-size: 13.5px !important;
    line-height: 1.65em !important;
    margin-bottom: 18px !important;
    text-align: left !important;
  }

  .footer-social-icons {
    justify-content: flex-start !important;
    margin-bottom: 10px !important;
  }

  footer.theme-footer h5 {
    font-size: 16px !important;
    margin-bottom: 14px !important;
    text-align: left !important;
  }

  .footer-links li {
    margin-bottom: 8px !important;
    text-align: left !important;
  }

  .footer-links li a {
    font-size: 13.5px !important;
    text-align: left !important;
  }

  footer.theme-footer .subfooter {
    margin-top: 30px !important;
    padding: 20px 0 !important;
  }
}

@media (max-width: 767.98px) {
  footer.theme-footer {
    padding-top: 40px !important;
  }

  .footer-col {
    margin-bottom: 24px !important;
  }

  .subfooter-flex {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
    gap: 14px !important;
  }

  .subfooter-copy {
    font-size: 12px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  .subfooter-nav {
    justify-content: center !important;
    gap: 10px !important;
    font-size: 12px !important;
  }

  .subfooter-developer {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 12px !important;
  }

  .yabuh-link-pill {
    padding: 4px 11px !important;
    font-size: 11.5px !important;
  }
}
