/* ══════════════════════════════════════
   MAINTENANCE MODE — OVERLAY STYLES
══════════════════════════════════════ */

#maintenanceOverlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(ellipse at 30% 20%, #10162b 0%, #090b14 55%, #05060b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: #e8eaf0;
  overflow-y: auto;
  padding: 24px;
  animation: mtFadeIn .5s ease;
}

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

.mt-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .35;
  z-index: 0;
}
.mt-glow-1 { width: 420px; height: 420px; background: #5b8dee; top: -120px; left: -100px; }
.mt-glow-2 { width: 380px; height: 380px; background: #7c5cbf; bottom: -140px; right: -100px; }

.mt-card {
  position: relative;
  z-index: 1;
  max-width: 520px;
  width: 100%;
  background: rgba(22, 25, 33, 0.75);
  border: 1px solid #2a3050;
  border-radius: 16px;
  padding: 44px 36px;
  text-align: center;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.mt-icon-wrap {
  width: 82px;
  height: 82px;
  margin: 0 auto 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(91,141,238,0.18), rgba(124,92,191,0.18));
  border: 1px solid rgba(91,141,238,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mtSpinGear 3.5s linear infinite;
}

@keyframes mtSpinGear {
  0%, 80% { transform: rotate(0deg); }
  90% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

.mt-icon-wrap svg { width: 40px; height: 40px; stroke: #5b8dee; }

.mt-site-name {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6b7499;
  font-weight: 600;
  margin-bottom: 10px;
}

.mt-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #e8eaf0, #a8b3d9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mt-message {
  font-size: 15px;
  line-height: 1.7;
  color: #a9b0c8;
  margin-bottom: 26px;
}

.mt-countdown {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.mt-countdown-box {
  background: #1e2230;
  border: 1px solid #2a3050;
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 64px;
}
.mt-countdown-num {
  font-size: 22px;
  font-weight: 700;
  color: #5b8dee;
  font-variant-numeric: tabular-nums;
}
.mt-countdown-label {
  font-size: 11px;
  color: #6b7499;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.mt-status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7499;
  margin-bottom: 22px;
}
.mt-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245,158,11,0.6);
  animation: mtPulse 1.6s infinite;
}
@keyframes mtPulse {
  0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

.mt-progress-track {
  width: 100%;
  height: 4px;
  background: #1e2230;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 22px;
}
.mt-progress-fill {
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, #5b8dee, #7c5cbf);
  border-radius: 4px;
  animation: mtProgress 2.2s ease-in-out infinite;
}
@keyframes mtProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

.mt-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.mt-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #2a3050;
  background: #1e2230;
  color: #e8eaf0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}
.mt-btn:hover { background: #252a3a; border-color: #5b8dee; }
.mt-btn.mt-primary {
  background: linear-gradient(135deg, #5b8dee, #4070d4);
  border-color: transparent;
}
.mt-btn.mt-primary:hover { filter: brightness(1.1); }

.mt-contact {
  margin-top: 22px;
  font-size: 13px;
  color: #6b7499;
}
.mt-contact a { color: #5b8dee; text-decoration: none; }
.mt-contact a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .mt-card { padding: 32px 22px; }
  .mt-countdown-box { min-width: 54px; padding: 10px 12px; }
}
