/* Shared KHB public footer — refined liquid-glass treatment */
footer{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:76px 0 28px;
  color:rgba(255,255,255,.66);
  background:
    radial-gradient(70% 100% at 5% 15%,rgba(67,62,155,.34),transparent 62%),
    radial-gradient(55% 90% at 96% 95%,rgba(240,160,32,.12),transparent 64%),
    linear-gradient(145deg,#111033 0%,#0b0a27 58%,#111035 100%);
  border-top:1px solid rgba(247,213,138,.15);
  font-size:.84rem;
}
footer::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background-image:var(--star);
  background-size:108px;
  opacity:.18;
  -webkit-mask-image:linear-gradient(90deg,#000,transparent 72%);
  mask-image:linear-gradient(90deg,#000,transparent 72%);
}
footer::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:520px;
  height:520px;
  right:-280px;
  bottom:-360px;
  border:1px solid rgba(247,213,138,.12);
  border-radius:50%;
  box-shadow:0 0 0 58px rgba(247,213,138,.018),0 0 0 116px rgba(247,213,138,.012);
  pointer-events:none;
}
footer .wrap{position:relative;z-index:1}
footer .foot-grid{
  display:grid;
  grid-template-columns:minmax(300px,1.55fr) repeat(3,minmax(130px,.72fr));
  gap:16px;
  margin-bottom:28px;
}
footer .foot-grid>div{
  position:relative;
  min-width:0;
  padding:24px 22px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:21px;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 18px 36px rgba(2,2,20,.1);
  backdrop-filter:blur(15px) saturate(130%);
  -webkit-backdrop-filter:blur(15px) saturate(130%);
  transition:transform .35s cubic-bezier(.2,.8,.2,1),border-color .35s ease,background .35s ease;
}
footer .foot-grid>div:hover{
  transform:translateY(-4px);
  border-color:rgba(247,213,138,.16);
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
}
footer .foot-grid>div:first-child{
  padding:26px;
  background:linear-gradient(145deg,rgba(72,67,154,.18),rgba(255,255,255,.025));
  border-color:rgba(247,213,138,.12);
}
footer .footer-logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin:0 0 16px;
  padding:7px 14px 7px 8px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.055));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 12px 28px rgba(2,2,20,.18);
}
footer .footer-logo::after{
  content:"KHB Official";
  color:#fff;
  font-family:"Quicksand","Plus Jakarta Sans",sans-serif;
  font-size:.92rem;
  font-weight:700;
  letter-spacing:-.025em;
  white-space:nowrap;
}
footer .footer-logo img{
  width:42px;
  height:42px;
  padding:5px;
  object-fit:contain;
  display:block;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  box-shadow:0 5px 14px rgba(2,2,20,.2);
}
footer .f-desc{
  max-width:31em;
  margin:0;
  color:rgba(255,255,255,.55);
  font-size:.79rem;
  line-height:1.78;
}
footer h5{
  position:relative;
  margin:2px 0 17px;
  padding-bottom:11px;
  color:var(--gold-200);
  font-size:.63rem;
  font-weight:800;
  letter-spacing:.17em;
  text-transform:uppercase;
}
footer h5::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:24px;
  height:1px;
  background:linear-gradient(90deg,var(--gold-400),transparent);
}
footer ul{list-style:none;margin:0;padding:0}
footer ul li{margin:0}
footer ul a{
  position:relative;
  display:flex;
  align-items:center;
  min-height:32px;
  padding:5px 0 5px 12px;
  color:rgba(255,255,255,.56);
  font-size:.76rem;
  line-height:1.4;
  transition:color .24s ease,transform .24s ease;
}
footer ul a::before{
  content:"";
  position:absolute;
  left:0;
  width:4px;
  height:4px;
  border-radius:50%;
  background:rgba(247,213,138,.3);
  transition:width .24s ease,border-radius .24s ease,background .24s ease;
}
footer ul a:hover{
  color:#fff;
  transform:translateX(3px);
}
footer ul a:hover::before{
  width:7px;
  border-radius:999px;
  background:var(--gold-400);
  box-shadow:0 0 9px rgba(245,185,71,.55);
}
footer .foot-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  padding:16px 18px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:16px;
  background:rgba(255,255,255,.025);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  color:rgba(255,255,255,.35);
  font-size:.68rem;
}
footer .foot-bottom .pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border:1px solid rgba(247,213,138,.13);
  border-radius:999px;
  background:rgba(245,185,71,.055);
  color:rgba(247,213,138,.76);
}
footer .foot-bottom .pill svg{filter:drop-shadow(0 0 5px rgba(245,185,71,.28))}

@media(max-width:900px){
  footer{padding-top:58px}
  footer .foot-grid{grid-template-columns:1.25fr 1fr 1fr;gap:14px}
  footer .foot-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:620px){
  footer{padding:46px 0 20px}
  footer .foot-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}
  footer .foot-grid>div{padding:19px 17px;border-radius:18px}
  footer .foot-grid>div:first-child{padding:21px 19px}
  footer .footer-logo{margin-bottom:13px}
  footer .f-desc{font-size:.75rem}
  footer .foot-bottom{align-items:flex-start;flex-direction:column;padding:14px;border-radius:14px}
}
@media(max-width:390px){
  footer .foot-grid{grid-template-columns:1fr}
  footer .foot-grid>div:first-child{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){
  footer .foot-grid>div,footer ul a{transition:none!important}
}
