/* === Terms Popup === */
#terms-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.2);
  padding: 2rem;
  animation: floatIn 0.5s ease-out;
}


.popup-box {
  text-align: center;
}

.popup-box p {
  font-size: 1rem;
  color: #222;
  margin-bottom: 1rem;
}

.popup-box a {
  color: #0077ff;
  font-weight: 600;
  text-decoration: underline;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.popup-buttons button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

#accept-btn {
  background-color: #4caf50;
  color: white;
}

#accept-btn:hover {
  background-color: #3c9e40;
}

#decline-btn {
  background-color: #ff5252;
  color: white;
}

#decline-btn:hover {
  background-color: #e13d3d;
}

@keyframes floatIn {
  from { transform: translate(-50%, -60%); opacity: 0; }
  to { transform: translate(-50%, -50%); opacity: 1; }
}

/* === Floating Link === */
.floating-terms-link {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: rgba(0, 183, 255, 0.8);
  color: white;
  padding: 10px 15px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 0 15px rgba(0,183,255,0.7);
  animation: glowPulse 2s infinite ease-in-out;
  transition: all 0.3s ease;
}

.floating-terms-link:hover {
  background-color: #00aaff;
  transform: scale(1.05);
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 15px rgba(0,183,255,0.7); }
  50% { box-shadow: 0 0 25px rgba(0,183,255,1); }
  100% { box-shadow: 0 0 15px rgba(0,183,255,0.7); }
}
