/* =========================
   OVERLAY
   ========================= */
#billik-xmas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;

  opacity: 0;
  transition: opacity 0.3s ease;
}

#billik-xmas-overlay.is-visible {
  opacity: 1;
}

/* =========================
   POPUP FRAME
   ========================= */
#billik-xmas-popup {
  background: #ffffff;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 40px);
  overflow: hidden;

  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  position: relative;

  display: flex;
  flex-direction: column;

  transform: scale(0.97);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#billik-xmas-overlay.is-visible #billik-xmas-popup {
  transform: scale(1);
  opacity: 1;
}

/* =========================
   CONTENT
   ========================= */
.billik-xmas-content {
  overflow-y: auto;
  padding: 28px 44px 40px;
}

/* =========================
   CLOSE BUTTON
   ========================= */
#billik-xmas-close {
  position: absolute;
  top: 16px;
  right: 16px;

  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #eeeeee;
  font-size: 24px;
  cursor: pointer;
  color: #222;
  z-index: 10;
}

/* =========================
   TYPOGRAPHY
   ========================= */

/* FIRST TITLE – LESS TOP SPACE */
#billik-xmas-popup h2 {
  font-size: 2.5rem;          /* 🔥 WAY BIGGER */
  margin-top: 6px;            /* 🔥 reduced top padding */
  margin-bottom: 24px;
  color: #111;
  text-align: center;
}

/* BODY TEXT – BIG & READABLE */
#billik-xmas-popup p {
  font-size: 1.75rem;         /* 🔥 MUCH BIGGER */
  line-height: 1.7;
  margin: 14px 0;
  color: #444;
  text-align: center;
}

/* EMPHASIS */
#billik-xmas-popup strong {
  color: #009688;
  font-weight: 700;
}

.billik-time-black {
  color: #000 !important;
  font-weight: 800;
}

/* =========================
   IMAGE
   ========================= */
.billik-xmas-image-frame {
  margin-top: 32px;
  border-radius: 18px;
  overflow: hidden;
}

.billik-xmas-image-frame img {
  width: 70%;
  max-height: 340px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* =========================
   MOBILE ADJUSTMENTS
   ========================= */
@media (max-width: 768px) {

  #billik-xmas-popup {
    max-width: 320px;
  }

  .billik-xmas-content {
    padding: 20px 20px 24px;
  }

  #billik-xmas-popup h2 {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  #billik-xmas-popup p {
    font-size: 0.9rem;
    margin: 10px 0;
  }

  .billik-xmas-image-frame img {
    width: 100%;
    max-height: 180px;
  }
}
