/* ============================================================
   KCI SUPER MART — MODERN COLORFUL ANIMATED PREMIUM FOOTER
   Featuring Big Typography, Aurora Animation, Vibrant Accents
   Designed & Powered by Digital Vayapari
   ============================================================ */

@keyframes footerAurora {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes pulseGold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(251, 191, 36, 0);
  }
}

.market-footer {
  margin-top: 60px;
  color: #d1e5db;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 85% 5%, #1d553f 0%, #0d3023 38%, #061911 100%);
  border-top: 4px solid;
  border-image: linear-gradient(90deg, #ff7a18, #f59e0b, #10b981, #06b6d4, #f59e0b) 1;
}

/* Subtle animated ambient mesh */
.market-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 50%);
  pointer-events: none;
  animation: footerAurora 18s ease infinite alternate;
  background-size: 200% 200%;
}

.market-footer .container {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
}

.market-footer a {
  color: inherit;
  text-decoration: none;
  transition: all 0.22s ease;
}

.market-footer svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.market-footer a:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 4px;
}

/* 1. Big-Font Modern Header Intro */
.market-footer-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 56px 0 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.market-footer-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mf-heading {
  color: #ffffff;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 850;
  margin: 14px 0 12px;
}

.mf-gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #34d399 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.mf-subtext {
  font-size: 14px;
  color: #b8d2c4;
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
}

.mf-intro-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.market-footer-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff7a18 0%, #ff5200 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(255, 82, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.market-footer-shop:hover {
  background: linear-gradient(135deg, #ff8c3a 0%, #e04400 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 82, 0, 0.42);
}

.mf-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.28);
}

.mf-wa-btn:hover {
  background: linear-gradient(135deg, #2ae26f 0%, #0d6e62 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.38);
}

/* 2. Modern Animated Benefits Ribbon */
.market-footer-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 20px;
}

.market-footer-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.market-footer-benefit:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #34d399;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(52, 211, 153, 0.12);
}

.mf-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: grid;
  place-items: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.market-footer-benefit:nth-child(2) .mf-benefit-icon {
  background: linear-gradient(135deg, #ff7a18 0%, #ff5200 100%);
  box-shadow: 0 4px 12px rgba(255, 82, 0, 0.3);
}

.market-footer-benefit:nth-child(3) .mf-benefit-icon {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.market-footer-benefit:nth-child(4) .mf-benefit-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.market-footer-benefit strong {
  display: block;
  font-size: 13px;
  color: #f8fafc;
  font-weight: 700;
}

.market-footer-benefit small {
  display: block;
  font-size: 11px;
  color: #a7c2b3;
  margin-top: 3px;
  line-height: 1.45;
}

/* 3. 4-Column Modern Grid */
.market-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr 1.15fr;
  gap: 40px;
  padding: 46px 0;
}

.market-footer-logo {
  display: inline-block;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.market-footer-logo img {
  width: 164px;
  height: 46px;
  object-fit: contain;
}

.market-footer-brand > p {
  font-size: 12.5px;
  line-height: 1.8;
  color: #b5cdc0;
  margin: 18px 0;
  max-width: 320px;
}

.market-footer-local {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #6ee7b7;
  font-size: 11.5px;
  font-weight: 650;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 12px;
  border-radius: 8px;
}

.market-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mf-social-pill {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  transition: all 0.22s ease;
}

.mf-social-pill.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.mf-social-pill.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.4);
}

.mf-social-pill.youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4);
}

.mf-social-pill.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.market-footer h3 {
  font-size: 14px;
  color: #ffffff;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.market-footer h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, #fbbf24, #10b981);
}

.market-footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  min-height: 34px;
  padding: 6px 0;
  line-height: 1.5;
  color: #b0c9bd;
}

.market-footer-links a:hover {
  color: #fbbf24;
  transform: translateX(4px);
}

.market-footer-links a svg {
  width: 14px;
  height: 14px;
  color: #6ee7b7;
  transition: transform 0.2s ease;
}

.market-footer-links a:hover svg {
  transform: translateX(3px);
  color: #fbbf24;
}

.market-footer-links .market-footer-all {
  color: #fbbf24;
  font-weight: 700;
  margin-top: 6px;
}

/* 4. Support Desk Card */
.market-footer-support {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.market-footer-support h3 {
  margin: 8px 0 16px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.market-footer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 850;
  color: #fbbf24 !important;
  margin-bottom: 8px;
}

.market-footer-phone svg {
  width: 20px;
  height: 20px;
  color: #fbbf24;
}

.market-footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #a7c4b5;
  padding: 4px 0 12px;
}

.market-footer-email:hover {
  color: #34d399;
}

.market-footer-detail {
  display: flex;
  gap: 9px;
  font-size: 11.5px;
  color: #b0c9bd;
  line-height: 1.6;
  margin: 8px 0;
}

.market-footer-detail svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: #34d399;
}

.market-footer .market-footer-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  margin-top: 18px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.market-footer-whatsapp:hover {
  background: linear-gradient(135deg, #2be472 0%, #0e7266 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* 5. Payments Row */
.market-footer-payment-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.mf-pay-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b5cec1;
}

.mf-pay-label svg {
  width: 22px;
  height: 22px;
  color: #34d399;
}

.mf-pay-label strong {
  display: block;
  font-size: 12px;
  color: #ffffff;
}

.mf-pay-label small {
  display: block;
  font-size: 11px;
  color: #9cb8aa;
}

.market-footer-payment-methods {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mf-pay-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
}

.mf-pay-pill svg {
  width: 15px;
  height: 15px;
  color: #fbbf24;
}

/* 6. Bottom Bar & Digital Vayapari Copyright Link */
.market-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 24px 0 28px;
  font-size: 11px;
  color: #9eb8ac;
}

.mf-bottom-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mf-credit-sep {
  opacity: 0.5;
}

.mf-developer-link {
  color: #fbbf24 !important;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  transition: all 0.2s ease;
  display: inline-block;
}

.mf-developer-link:hover {
  background: #fbbf24;
  color: #061911 !important;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.4);
  transform: translateY(-1px);
}

.mf-legal-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.mf-legal-nav a {
  color: #9eb8ac;
  font-size: 11px;
}

.mf-legal-nav a:hover {
  color: #fbbf24;
}

.market-footer-signoff {
  color: #6ee7b7;
  font-weight: 650;
}

/* Responsive Rules */
@media (max-width: 1100px) {
  .market-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
  .market-footer-benefits {
    grid-template-columns: 1fr 1fr;
  }
  .market-footer-support {
    max-width: 440px;
  }
}

@media (max-width: 768px) {
  .market-footer-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 38px 0 28px;
  }
  .mf-heading {
    font-size: 28px;
  }
  .mf-intro-actions {
    width: 100%;
  }
  .market-footer-shop, .mf-wa-btn {
    flex: 1 1 auto;
    min-height: 48px;
    font-size: 13px;
  }
  .market-footer-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .market-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0;
  }
  .market-footer-brand, .market-footer-support {
    max-width: none;
  }
  .market-footer-payment-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .market-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .market-footer::before {
    animation: none;
  }
  .market-footer a, .market-footer-benefit, .mf-social-pill {
    transition: none;
  }
}
