/* Announcement popup — BIMA-style dual cards */
body.info-popup-open { overflow: hidden; }

.info-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 1.25rem;
  background: rgba(6, 12, 30, 0.82);
  backdrop-filter: blur(6px);
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
}

.info-popup.is-open {
  display: grid;
  animation: infoFadeIn .28s ease;
}

.info-popup__close {
  position: fixed;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 130;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #1a3a8c;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

.info-popup__deck {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 1rem;
  width: min(640px, 100%);
  animation: infoFadeUp .38s ease;
}

.ann-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
  background: #0f234f;
}

.ann-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
}

.ann-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,35,79,.55) 0%, rgba(26,58,140,.88) 45%, rgba(15,35,79,.95) 100%);
}

.ann-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 0;
  text-align: center;
}

.ann-card__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-bottom: .85rem;
  min-height: 38px;
}

.ann-card__logos img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.25));
}

.ann-card__logos img.is-round {
  height: 32px;
  border-radius: 50%;
}

.ann-card__tag {
  margin: 0 0 .35rem;
  font-size: .95rem;
  font-weight: 800;
  color: #ffd54a;
  letter-spacing: .02em;
}

.ann-card__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.ann-card__sub {
  margin: .45rem 0 0;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255,255,255,.88);
}

.ann-card__year {
  margin: .65rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffd54a;
}

.ann-card__calendar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin: 1rem auto 0;
}

.ann-cal {
  display: flex;
  gap: .35rem;
  align-items: end;
}

.ann-cal__flip {
  width: 42px;
  height: 52px;
  border-radius: 6px;
  background: linear-gradient(180deg, #2a4a9c 0%, #1a3a8c 100%);
  border: 1px solid rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.ann-cal__flip.is-active {
  background: linear-gradient(180deg, #ffd54a 0%, #f5b800 100%);
  color: #1a3a8c;
  transform: scale(1.08);
}

.ann-cal__label {
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255,255,255,.92);
}

.ann-card__amounts {
  display: grid;
  gap: .45rem;
  margin: 1rem 0 0;
  text-align: left;
}

.ann-card__amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .45rem .65rem;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .68rem;
}

.ann-card__amount strong {
  color: #ffd54a;
  font-size: .72rem;
  white-space: nowrap;
}

.ann-card__cta {
  margin-top: auto;
  padding: 1rem 0 .85rem;
}

.ann-card__cta p {
  margin: 0 0 .45rem;
  font-size: .68rem;
  color: rgba(255,255,255,.85);
}

.ann-card__btn {
  display: inline-block;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: #ffd54a;
  color: #1a3a8c;
  font-size: .62rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .01em;
  max-width: 100%;
  word-break: break-all;
  transition: transform .15s ease, box-shadow .15s ease;
}

.ann-card__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255,213,74,.35);
  color: #1a3a8c;
  text-decoration: none;
}

.ann-card__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .65rem .85rem;
  background: rgba(8,18,45,.55);
  border-top: 1px solid rgba(255,255,255,.1);
}

.ann-card__foot img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.ann-card__foot span {
  font-size: .55rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  flex: 1;
  text-align: center;
}

.ann-card__social {
  display: flex;
  gap: .35rem;
}

.ann-card__social a {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .55rem;
  text-decoration: none;
}

.info-popup__fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem .95rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a5632, #1a3a8c);
  color: #fff;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 35, 79, 0.28);
  animation: infoPulseFab 2.4s ease-in-out infinite;
}

.info-popup__fab i { font-size: .95rem; }

@keyframes infoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes infoFadeUp {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes infoPulseFab {
  0%, 100% { box-shadow: 0 10px 24px rgba(15, 35, 79, 0.28); }
  50% { box-shadow: 0 10px 28px rgba(255, 213, 74, 0.45); }
}

@media (max-width: 680px) {
  .info-popup__deck {
    grid-template-columns: 1fr;
    width: min(320px, 100%);
    max-height: 90vh;
    overflow-y: auto;
  }

  .ann-card { min-height: 460px; }

  .info-popup__fab span { display: none; }

  .info-popup__fab {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}
