/* ========== SCENE MODAL ========== */
.scene-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.scene-modal.active {
  display: flex;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 25px;
  max-width: 650px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: modalPop 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

@keyframes modalPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  transform: rotate(90deg) scale(1.1);
}

/* ========== REDEEM MODAL ========== */
#redeemModal .modal-content {
  max-width: 900px;
}

/* ========== LESSON PLANNER MODAL ========== */
#lessonPlanModal .modal-content {
  max-width: 700px;
}