/* Footer modals only (safe, isolated) */
.footer-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background: rgba(0,0,0,0.55);
  z-index:9999;

  /* unique effect */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity:0;
  transition: opacity 260ms ease;
}

.footer-modal.is-open{
  display:flex;
}

.footer-modal.is-visible{
  opacity:1;
}

.footer-modal-card{
  width:min(620px, 94vw);
  background: rgba(26,26,26,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
  padding: 16px 16px 14px;
  color:#fff;
  position:relative;

  transform: translateY(14px) scale(0.985);
  opacity:0;
  transition: transform 320ms cubic-bezier(.2,.9,.2,1), opacity 260ms ease;
  will-change: transform, opacity;
}

.footer-modal.is-visible .footer-modal-card{
  transform: translateY(0) scale(1);
  opacity:1;
}

.footer-modal-title{
  margin: 2px 36px 10px 0;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: 14px;
}

.footer-modal-lead{
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  margin: 0 0 12px;
}

.footer-modal-body{
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-height: 56vh;
  overflow: auto;
  padding-right: 6px;
}

.footer-modal-h{
  margin: 12px 0 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .6px;
  color:#fff;
}

.footer-modal-list{
  margin: 0 0 10px 18px;
  padding: 0;
}

.footer-modal-list li{
  margin: 6px 0;
}

.footer-modal-btn{
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  letter-spacing: .6px;
  cursor: pointer;
  background: #202020;
  color: #fff;
  transition: transform 140ms ease, filter 140ms ease;
}

.footer-modal-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.footer-modal-x{
  position:absolute;
  top:10px;
  right:12px;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background:#202020;
  color:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  display:grid;
  place-items:center;
  transition: transform 160ms ease, filter 160ms ease;
}

.footer-modal-x:hover{
  transform: rotate(6deg) scale(1.04);
  filter: brightness(1.06);
}

/* News blocks */
.footer-modal-news{
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(32,32,32,0.55);
  border-radius: 14px;
  padding: 10px 12px;
}

.news-title{
  font-weight: 900;
  letter-spacing: .6px;
  font-size: 12px;
  margin-bottom: 4px;
  color:#fff;
}

.news-text{
  font-size: 12px;
  color: rgba(255,255,255,0.78);
}

.news-link{
  display:inline-block;
  margin-top: 8px;
  font-weight: 900;
  letter-spacing: .6px;
  font-size: 12px;
  color: var(--donate);
  text-decoration:none;
}

/* Stats */
.footer-modal-stats{
  display:flex;
  gap:12px;
  margin-top:12px;
}

.footer-modal-stats .stat{
  flex:1;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(32,32,32,0.55);
  border-radius: 14px;
  padding: 10px 12px;
}

.footer-modal-stats .num{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .8px;
  color:#fff;
}

.footer-modal-stats .lbl{
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  margin-top: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .footer-modal,
  .footer-modal-card,
  .footer-modal-x,
  .footer-modal-btn{
    transition:none !important;
  }
}
/* ✅ ADD ONLY: Bigger modal + bigger text */
.footer-modal-card{
  width: min(720px, 96vw);   /* was 620px */
  padding: 22px 22px 18px;
}

.footer-modal-title{
  font-size: 18px;           /* was 14px */
  letter-spacing: .8px;
}

.footer-modal-lead{
  font-size: 15px;           /* was 12px */
  line-height: 1.7;
}

.footer-modal-body{
  font-size: 15px;           /* was 12px */
  line-height: 1.7;
}

.footer-modal-h{
  font-size: 15px;
  margin-top: 16px;
}

.footer-modal-list li{
  font-size: 15px;
}

.footer-modal-btn{
  font-size: 15px;
  padding: 12px 14px;
}

.footer-modal-x{
  width: 40px;
  height: 40px;
  font-size: 22px;
}

/* Stats bigger */
.footer-modal-stats .num{
  font-size: 24px;
}

.footer-modal-stats .lbl{
  font-size: 14px;
}

/* News bigger */
.news-title{
  font-size: 15px;
}

.news-text{
  font-size: 14px;
}

.news-link{
  font-size: 14px;
}