/* =============================== */
/* ðŸ“£ POPUP NOTICE - Normal Mode */
/* =============================== */

#popup-notice {
  position: fixed;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 2px solid #4DD8FF;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  color: #002244;
  padding: 1.25rem 2rem;
  z-index: 9999;
  min-width: 300px;
  max-width: 90vw;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  text-align: center;
  transition: bottom 0.4s ease;
  pointer-events: none;
}

#popup-notice.active {
  bottom: 2rem;
  pointer-events: all;
}

.popup-inner p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.popup-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.popup-buttons button {
  background: #4DD8FF;
  color: #002244;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.popup-buttons button:hover {
  background: #003366;
  color: #fff;
}

/* =============================== */
/* 📢 RETRO MODE - Yellow Glow Wire */
/* =============================== */

body.retro-mode #popup-notice {
  background: rgba(0, 0, 0, 0.85);
  border: 2px solid #ffff33;
  color: #ffff99;
  box-shadow:
    0 0 8px #ffff33,
    0 0 20px #ffff33 inset;
  text-shadow: 0 0 6px #ffff99;
}

body.retro-mode .popup-inner p {
  color: #ffff99;
  font-size: 1.1rem;
  font-weight: 600;
  text-shadow: 0 0 6px #ffff66;
}

body.retro-mode .popup-buttons button {
  background: transparent;
  color: #ffff33;
  border: 1.5px solid #ffff33;
  border-radius: 8px;
  font-weight: 600;
  text-shadow: 0 0 4px #ffff66;
  box-shadow: 0 0 6px #ffff33 inset;
  transition: all 0.3s ease-in-out;
}

body.retro-mode .popup-buttons button:hover {
  background: rgba(255, 255, 0, 0.1);
  color: #000;
  border-color: #ffcc00;
  box-shadow: 0 0 12px #ffcc00, 0 0 18px #ffff66 inset;
  text-shadow: 0 0 6px #ffcc00;
}


/* =============================== */
/* ðŸ“± MOBILE RESPONSIVE POPUP */
/* =============================== */

@media (max-width: 480px) {
  #popup-notice {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .popup-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .popup-buttons button {
    width: 100%;
  }
}

/* =============================== */
/* ðŸ’» MID-SCREEN OPTIMIZATION */
/* =============================== */

@media (min-width: 481px) and (max-width: 1024px) {
  #popup-notice {
    max-width: 600px;
  }
}
