/* ========================== */
/* ZENTORIX MAINTENANCE POPUP */
/* ========================== */
.mm-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,255,180,0.15), rgba(0,20,20,0.95));
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}
.mm-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.mm-modal {
  background: rgba(0, 10, 10, 0.85);
  border: 2px solid rgba(0,255,180,0.4);
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0,255,180,0.3), inset 0 0 10px rgba(0,255,180,0.2);
  padding: 30px;
  width: 400px;
  text-align: center;
  color: #eafff9;
  animation: neonPulse 3s infinite;
  position: relative;
  z-index: 2;
}


.mm-title {
  color: #00ffc6;
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-shadow: 0 0 10px #00ffc6;
}

.mm-text {
  font-size: 1rem;
  opacity: 0.9;
}

.progress-container {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
}
.progress-bar {
  width: 0%;
  height: 10px;
  background: linear-gradient(90deg, #00ffc6, #0077ff);
  box-shadow: 0 0 15px #00ffc6;
  transition: width 1s ease;
}

.mm-info {
  text-align: left;
  background: rgba(0,255,180,0.05);
  border: 1px solid rgba(0,255,180,0.2);
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: inset 0 0 10px rgba(0,255,180,0.1);
}

.mm-btn {
  background: linear-gradient(90deg, #00ffc6, #0077ff);
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  color: #0a0a0a;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 15px #00ffc6;
  transition: all 0.3s ease;
}
.mm-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #0077ff, #00ffc6);
}

/* Admin login modal */
.mm-login {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
}
.mm-login.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.mm-login-box {
  background: rgba(0,20,20,0.95);
  padding: 25px;
  border-radius: 15px;
  border: 2px solid rgba(0,255,180,0.4);
  color: #eafff9;
  text-align: center;
  box-shadow: 0 0 25px rgba(0,255,180,0.3);
  width: 300px;
}
.mm-login-box h3 {
  margin-bottom: 15px;
  color: #00ffc6;
}
.mm-login-box input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,255,180,0.3);
  color: #00ffc6;
  border-radius: 8px;
}
.mm-login-box button {
  background: linear-gradient(90deg, #00ffc6, #0077ff);
  border: none;
  border-radius: 10px;
  padding: 8px 15px;
  margin: 5px;
  color: #0a0a0a;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}
.mm-login-box button:hover {
  transform: scale(1.05);
}

@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 25px rgba(0,255,180,0.25); }
  50% { box-shadow: 0 0 40px rgba(0,255,180,0.5); }
}
/* ========================== */
/* 🌌 ANIMÁLT PIXEL / NEON HÁTTÉR */
/* ========================== */

.mm-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 180, 0.03) 0px,
    rgba(0, 255, 180, 0.03) 1px,
    transparent 1px,
    transparent 2px
  );
  animation: rainScroll 6s linear infinite;
  z-index: 0;
}

.mm-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 255, 180, 0.08),
    transparent 60%
  ),
  radial-gradient(
    circle at 80% 30%,
    rgba(0, 180, 255, 0.08),
    transparent 60%
  ),
  radial-gradient(
    circle at 20% 70%,
    rgba(0, 255, 255, 0.06),
    transparent 60%
  );
  background-blend-mode: screen;
  filter: blur(3px);
  animation: pulseLight 5s ease-in-out infinite alternate;
  z-index: 0;
}

/* eső mozgása */
@keyframes rainScroll {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100px;
  }
}

/* fények pulzálása */
@keyframes pulseLight {
  0% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

/* biztosítja, hogy a popup a háttér felett maradjon */

