<style>
  /* ========================================
   MODAL - Spoiler Warning Overlay
   Full-screen, dismissible, styled buttons
   ======================================== */
.modal-checkbox {
  display: none !important;
}

.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  color: #fff;
  padding-top: 50px;
  text-align: center;
}

.modal-checkbox:checked ~ .modal {
  opacity: 1;
  pointer-events: auto;
  display: none !important;
}

.modal-content {
  max-width: 600px;
  width: 90%;
}

/* Modal buttons */
.modal-close,
.switch-btn {
  display: block;
  margin: 10px auto;
  padding: 10px 20px;
  font-size: 16px;
  text-align: center;
  border: none;
  cursor: pointer;
  border-radius: 20px;
  font-family: 'Times New Roman', Times, serif;
  max-width: 90%;
  width: auto;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.modal-close {
  background: #8C2323;
  color: #fff;
}

.switch-btn {
  background: #D3D3D3;
  color: #333;
}

/* Hover & active effects */
.modal-close:hover,
.switch-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-close:active,
.switch-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
  background-color: #a52a2a;
}

.switch-btn:hover {
  background-color: #f0f0f0;
  color: #000;
}
</style>