/* =========================
   NEW YEAR MODAL – FINAL
========================= */

/* Overlay */
.ny-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Active state */
.ny-modal.active{
  display: flex;
}

/* Modal box */
.ny-modal-content{
  position: relative;
  width: 90%;
  max-width: 900px;
  padding: 40px 20px;
  border-radius: 20px;
  background: radial-gradient(circle at bottom, #0b0b2d, #000);
  overflow: hidden;
  z-index: 10001;
}

/* Close button */
.ny-close{
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 30px;
  color: #ffffff;
  cursor: pointer;
  z-index: 10003;
}

/* Content wrapper */
.newyear-wrap{
  position: relative;
  z-index: 10002;
  text-align: center;
}

/* Force visibility (theme override safe) */
.newyear-wrap *,
.ny-modal *{
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  color: #ffffff !important;
}

/* Countdown boxes */
.newyear-box{
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
}

/* Button fix */
.newyear-wrap button{
  margin-top: 20px;
  padding: 12px 26px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

/* Fireworks stay BEHIND content */
.newyear-firework{
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
