/* =========================
   Chalet LN Footer (Elegant)
   Works with your current HTML
========================= */

.cl-footer{
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #72c2ff 0%, #4db2ff 55%, #3aa8ff 100%);
  color: rgba(255,255,255,.92);
}

/* subtle top line + glow */
.cl-footer::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 1px;
  background: rgba(255,255,255,.35);
}

.cl-footer::after{
  content:"";
  position:absolute;
  inset:-40% -20%;
  background:
    radial-gradient(closest-side at 25% 25%, rgba(255,255,255,.20), transparent 60%),
    radial-gradient(closest-side at 75% 30%, rgba(255,255,255,.14), transparent 55%),
    radial-gradient(closest-side at 50% 90%, rgba(255,255,255,.10), transparent 55%);
  pointer-events:none;
}

/* keep content above glow layers */
.cl-footer .container{
  position: relative;
  z-index: 1;
}

/* icon row spacing */
.cl-footer-icons{
  margin-bottom: 18px !important;
  gap: 18px !important;
}

/* icon button */
.cl-footer-icon{
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;

  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255,255,255,.18);

  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  backdrop-filter: blur(8px);
}

/* icon image inside */
.footer-img-icon{
  width: 30px;
  height: 30px;
  display:block;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(15,23,42,.18));
}

/* make Gmail consistent */
.gmail-bg{
  background: rgba(255,255,255,.16) !important;
}
.gmail-icon{
  width: 32px;  /* a touch bigger is ok */
  height: 32px;
}

/* hover: lift + glow */
.cl-footer-icon:hover{
  transform: translateY(-3px) scale(1.03);
  background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.38);
  box-shadow:
    0 24px 55px rgba(15, 23, 42, 0.22),
    0 0 0 8px rgba(255,255,255,.10),
    inset 0 1px 0 rgba(255,255,255,.20);
}

/* press feedback */
.cl-footer-icon:active{
  transform: translateY(-1px) scale(.99);
  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255,255,255,.16);
}

/* keyboard focus */
.cl-footer-icon:focus-visible{
  outline: 3px solid rgba(255,255,255,.55);
  outline-offset: 4px;
}

/* footer text */
.cl-footer-text{
  margin-top: 6px;
}

.cl-footer-text .small{
  letter-spacing: .02em;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}

.cl-footer-text .opacity-75{
  opacity: .86 !important;
}

/* optional: tiny divider line between icons and text */
.cl-footer .cl-footer-text{
  position: relative;
  padding-top: 14px;
}

.cl-footer .cl-footer-text::before{
  content:"";
  position:absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 180px;
  height: 1px;
  background: rgba(255,255,255,.28);
}

/* responsive */
@media (max-width: 480px){
  .cl-footer-icon{
    width: 56px;
    height: 56px;
  }
  .footer-img-icon{
    width: 28px;
    height: 28px;
  }
}

/* Make all footer icons identical layout */
.footer-img-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

/* Slightly smaller Gmail so it looks centered */
.cl-footer-icon img[alt="Email Icon"] {
  width: 24px;
  height: 24px;
}


/* ===== FORCE 6 ICONS TO ALWAYS FIT ONE ROW ===== */
.cl-footer-icons{
  display: flex !important;
  flex-wrap: nowrap !important;   /* never wrap */
  justify-content: center;
  align-items: center;
  gap: 12px !important;
}

/* Allow proportional shrinking */
.cl-footer-icon{
  flex: 1 1 0;        /* equal width */
  max-width: 62px;    /* desktop cap */
}

/* ---------- Mobile scaling ---------- */
@media (max-width: 576px){

  .cl-footer-icons{
    gap: 8px !important;
  }

  .cl-footer-icon{
    width: 44px;
    height: 44px;
    flex: 0 1 44px;   /* fixed shrink size */
  }

  .footer-img-icon{
    width: 20px;
    height: 20px;
  }

  /* Gmail slightly adjusted */
  .cl-footer-icon img[alt="Email Icon"]{
    width: 18px;
    height: 18px;
  }
}