.maintenance-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-out;
  overflow: hidden;
  pointer-events: all;
}

body:has(.maintenance-overlay) {
  overflow: hidden;
  height: 100vh;
}

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

.maintenance-content {
  text-align: center;
  color: white;
  max-width: 600px;
  padding: 3rem 2rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.6s ease-out 0.2s both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.maintenance-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  animation: rotate 3s ease-in-out infinite;
}

@keyframes rotate {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}

.maintenance-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.maintenance-message {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.95);
}

.maintenance-footer {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.maintenance-footer p {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
}

.maintenance-footer .text-muted {
  color: rgba(255,255,255,0.7);
}

.maintenance-footer a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
}

.maintenance-footer a:hover {
  color: #ffed4e;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .maintenance-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .maintenance-icon {
    font-size: 4rem;
  }

  .maintenance-title {
    font-size: 1.75rem;
  }

  .maintenance-message {
    font-size: 1rem;
  }
}
