/* ==========================================================================
   Quizzman Lab Migration to Insight — Read-Only Mode & Moved Overlay
   ========================================================================== */

/* Lock non-interactive elements on homepage */
html.lab-moved-mode body {
  position: relative;
}

html.lab-moved-mode a:not(.lab-moved-interactive),
html.lab-moved-mode button:not(.lab-moved-interactive),
html.lab-moved-mode .launch,
html.lab-moved-mode .qa-btn,
html.lab-moved-mode .cat-card,
html.lab-moved-mode .tool-card,
html.lab-moved-mode .cal-book,
html.lab-moved-mode .cal-zodiac,
html.lab-moved-mode .lab-catalog__grid a,
html.lab-moved-mode .hero__actions a,
html.lab-moved-mode .lab-footer a,
html.lab-moved-mode header a,
html.lab-moved-mode [class*="card"] {
  pointer-events: none !important;
  cursor: default !important;
  user-select: none !important;
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

html.lab-moved-mode .launch:hover,
html.lab-moved-mode .launch:hover::before,
html.lab-moved-mode .qa-btn:hover,
html.lab-moved-mode .cal-zodiac:hover {
  transform: none !important;
  opacity: 0.45 !important;
  filter: none !important;
  background: inherit !important;
  border-color: inherit !important;
}

/* Modal Overlay Backdrop */
.lab-moved-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(9, 7, 13, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: labFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes labFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes labCardSlide {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Modal Card */
.lab-moved-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, #1e1929 0%, #120e1b 100%);
  border: 1px solid rgba(232, 201, 122, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 35px rgba(232, 201, 122, 0.08);
  border-radius: 20px;
  padding: 34px 30px;
  color: #f7f7fc;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  animation: labCardSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto !important;
}

.lab-moved-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  background: rgba(232, 201, 122, 0.12);
  border: 1px solid rgba(232, 201, 122, 0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #E8C97A;
  margin-bottom: 14px;
}

.lab-moved-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E8C97A;
  box-shadow: 0 0 8px #E8C97A;
}

.lab-moved-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.lab-moved-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(245, 247, 255, 0.84);
  margin: 0 0 20px 0;
}

.lab-moved-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(232, 201, 122, 0.08);
  border: 1px solid rgba(232, 201, 122, 0.2);
  border-radius: 12px;
  font-size: 14px;
  color: #E8C97A;
  font-weight: 500;
  margin-bottom: 20px;
}

.lab-moved-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E8C97A;
  box-shadow: 0 0 10px #E8C97A;
  animation: labPulse 1.2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes labPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.lab-moved-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #E8C97A 0%, #C49B3A 100%);
  color: #15111D;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(232, 201, 122, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  text-decoration: none;
  pointer-events: auto !important;
}

.lab-moved-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 201, 122, 0.35);
  filter: brightness(1.05);
}

.lab-moved-btn:active {
  transform: translateY(0);
}

.lab-moved-notice {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(245, 247, 255, 0.48);
  margin-top: 16px;
  text-align: center;
}
