/* ============================================================
   SYSMI — GUEST RESTRICTION MODAL CSS
   Aesthetic: Cyberpunk Glassmorphism / Neon Cyan & Magenta
   ============================================================ */

.guest-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(5, 5, 10, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}

.guest-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.guest-modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(135deg, rgba(20, 20, 32, 0.95) 0%, rgba(12, 12, 20, 0.98) 100%);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.15), 0 20px 40px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 32px 28px 26px;
  overflow: hidden;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.guest-modal-backdrop.active .guest-modal-card {
  transform: translateY(0) scale(1);
}

/* Cyber glowing corner decoration */
.guest-modal-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 0, 170, 0.35) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

.guest-modal-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(20px);
}

/* Close Button */
.guest-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #8e8e9f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.guest-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: rotate(90deg);
}

/* Header badge & icon */
.guest-modal-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.guest-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.guest-modal-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: guestPulse 1.8s infinite;
}

@keyframes guestPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.guest-modal-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(255, 0, 170, 0.2) 100%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
}

.guest-modal-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  background: linear-gradient(135deg, #ffffff 30%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}

.guest-modal-desc {
  font-size: 13.5px;
  color: #a0a0b2;
  margin: 0;
  line-height: 1.5;
}

/* Feature perks list */
.guest-perks-list {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.guest-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #d6d6e2;
}

.guest-perk-bullet {
  font-size: 15px;
  flex-shrink: 0;
}

.guest-perk-text strong {
  color: #fff;
  font-weight: 600;
}

/* Modal Actions */
.guest-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.guest-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, #00f0ff 0%, #0088ff 100%);
  color: #050508;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.35);
  text-decoration: none;
  box-sizing: border-box;
}

.guest-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.55);
  background: linear-gradient(135deg, #26f3ff 0%, #1a96ff 100%);
}

.guest-btn-primary:active {
  transform: translateY(0);
}

.guest-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0ea;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.guest-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.35);
  color: #fff;
}

.guest-btn-tertiary {
  background: none;
  border: none;
  color: #727284;
  font-size: 12px;
  font-weight: 500;
  padding: 8px;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s ease;
  margin-top: 4px;
}

.guest-btn-tertiary:hover {
  color: #a5a5b8;
  text-decoration: underline;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
  .guest-modal-card {
    padding: 26px 20px 20px;
    border-radius: 16px;
  }

  .guest-modal-title {
    font-size: 20px;
  }

  .guest-modal-desc {
    font-size: 12.5px;
  }

  .guest-perks-list {
    padding: 12px 14px;
    gap: 8px;
  }

  .guest-perk-item {
    font-size: 11.5px;
  }
}



