/* ----------------------------------------------------------
   1. POPUP STYLES (for the main Christmas In Anthem page)
   ---------------------------------------------------------- */

#let-it-glow-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  font-family: 'Comfortaa', sans-serif;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms ease-in-out, visibility 700ms ease-in-out;
}

#let-it-glow-modal.lig-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#let-it-glow-modal .lig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

#let-it-glow-modal .lig-modal {
  position: relative;
  max-width: 420px;
  width: 90%;
  margin: 0 16px;
  padding: 24px 22px 26px;
  border-radius: 18px;
  background: rgba(20, 25, 60, 0.7);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  transform: translateY(-55%);
}

#let-it-glow-modal h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

#let-it-glow-modal p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.45;
}

/* Shared vote button */
.lig-button {
  animation: glowPulse 2.5s ease-in-out infinite;
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid #4c0300;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  color: #ffffff;
  background: rgba(94, 13, 12, 0.95);
  box-shadow:
    inset 1px 1px 0px rgba(255, 255, 255, 0.25),
    inset 0 0 6px #a23227,
    1px 1px 3px rgba(0, 0, 0, 0.75);
}

.lig-button:hover {
  background: rgba(166, 23, 21, 0.95);
}

/* Popup close button */
#let-it-glow-modal .lig-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  z-index: 10 !important;
}

#let-it-glow-modal .lig-close:hover {
  color: #ffcccc;
}

#let-it-glow-modal .lig-close:focus {
  outline: 2px solid #ffffff;
}

/* Decorative lights image for popup */
#let-it-glow-modal .lig-top-lights {
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%) scale(.98);
  transform-origin: top center;
  width: 100%;
  pointer-events: none;
  z-index: -1;
}

@media (max-width: 480px) {
  #let-it-glow-modal .lig-modal {
    padding: 20px 18px 22px;
  }

  #let-it-glow-modal h2 {
    font-size: 20px;
  }

  #let-it-glow-modal p {
    font-size: 14px;
  }
}

/* Glowing animation for the vote button */
@keyframes glowPulse {
  0% {
    box-shadow:
      0 0 6px rgba(255, 200, 200, 0.4),
      0 0 12px rgba(255, 120, 120, 0.25),
      inset 1px 1px 0px rgba(255, 255, 255, 0.25),
      inset 0 0 6px #a23227;
  }
  50% {
    box-shadow:
      0 0 12px rgba(255, 230, 230, 0.7),
      0 0 20px rgba(255, 150, 150, 0.45),
      inset 1px 1px 0px rgba(255, 255, 255, 0.35),
      inset 0 0 10px #c2412f;
  }
  100% {
    box-shadow:
      0 0 6px rgba(255, 200, 200, 0.4),
      0 0 12px rgba(255, 120, 120, 0.25),
      inset 1px 1px 0px rgba(255, 255, 255, 0.25),
      inset 0 0 6px #a23227;
  }
}

/* ----------------------------------------------------------
   2. STATIC PAGE STYLES (for the /vote page)
   ---------------------------------------------------------- */

.let-it-glow-page .let-it-glow-section {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* Static card with GIF border as background */
.let-it-glow-page .lig-card {
  position: relative;
  max-width: 430px;
  width: 90%;
  margin: 0 16px;
  padding: 10px 22px 10px;
  border-radius: 18px;
  background: rgba(20, 25, 60, 0.7);
  color: #ffffff;
  text-align: Center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  transform: translateY(8%);
}

/* Title and text inside static card */
.let-it-glow-page .lig-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.let-it-glow-page .lig-card p {
  margin: 6px 0;
  font-size: 16px;
  line-height: 1.45;
}

/* Button spacing */
.let-it-glow-page .lig-card .lig-button {
  margin-top: 18px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .let-it-glow-page .lig-card {
    padding: 40px 20px 40px;
  }

  .let-it-glow-page .lig-card h2 {
    font-size: 20px;
  }

  .let-it-glow-page .lig-card p {
    font-size: 14px;
  }
}
