<style>
.marquee {
  width: 90%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  animation: scroll 50s linear infinite;
}

@keyframes scroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

  .modalWrapper {
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;              /* Flexbox for centering */
    justify-content: center;    /* Horizontal center */
    align-items: center;        /* Vertical center */
    padding: 20px;
    box-sizing: border-box;
    z-index: 3;
  }

  .newsAlertBox {
    position: relative;
    width: 300px;
    max-width: 90vw;
    background: linear-gradient(160deg, #ffffff 0%, #eaf2ff 100%);
    border-radius: 18px;
    padding: 30px 24px 24px;
    text-align: center;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(15, 111, 255, 0.35);
    animation: newsAlertPop 0.45s ease-out, newsAlertGlow 2.4s ease-in-out 0.45s infinite;
  }
.newsAlertBox .newsAlertClose {
  position: absolute;
  top: 12px;          /* distance from top */
  right: 16px;        /* distance from right */
  cursor: pointer;
  font-weight: bold;
  font-size: 28px;    /* larger size for prominence */
  line-height: 28px;
  color: #ff3b3b;     /* bright red for visibility */
  text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* subtle shadow for contrast */
  transition: transform 0.2s ease, color 0.2s ease;
}

.newsAlertBox .newsAlertClose:hover {
  color: #d60000;     /* darker red on hover */
  transform: scale(1.2); /* slight zoom effect */
}
   .newsAlertBox {
  position: relative;
  width: 300px;
  max-width: 90vw;
  flex-shrink: 0;
  border-radius: 18px;
  padding: 30px 24px 24px;
  text-align: center;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(15, 111, 255, 0.35);
  animation: newsAlertPop 0.45s ease-out, newsAlertGlow 2.4s ease-in-out 0.45s infinite;

  /* Background image settings */
  background-image: url("DSC_7429.jpg"); /* replace with your image path */
  background-size: cover;       /* scales image to cover entire box */
  background-position: center;  /* keeps image centered */
  background-repeat: no-repeat; /* prevents tiling */

}

    /* Countdown styled like a glowing badge */
    #countdown {
      display: inline-block;
      background: linear-gradient(90deg, #ff5b5b, #ff8a3d);
      color: #fff;
      font-size: 15px;
      font-weight: 800;
      letter-spacing: 0.6px;
      padding: 8px 18px;
      border-radius: 20px;
      box-shadow: 0 0 12px rgba(255, 90, 90, 0.6);
      animation: countdownGlow 2s ease-in-out infinite;
      margin: 12px 0 18px;
    }

    @keyframes countdownGlow {
      0%, 100% {
        box-shadow: 0 0 12px rgba(255, 90, 90, 0.6);
      }
      50% {
        box-shadow: 0 0 20px rgba(255, 138, 61, 0.8);
      }
    }
</style>