/* Page layout */
body {
  margin: 0;
  background: #000;
  color: #00ff88;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  text-align: center;
}

/* Background video */
#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.25);
}

/* Cyber grid overlay */
.cyber-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: moveGrid 8s linear infinite;
}

@keyframes moveGrid {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 0 40px, 40px 0; }
}

/* Content */
.container {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* Logo */
.logo img {
  height: 80px;
  margin-bottom: 20px;
}

/* Title */
h1 {
  font-family: 'Orbitron';
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #00f0ff;
}

/* Text */
p {
  color: #aaa;
  margin-bottom: 30px;
}

/* Terminal */
#maint-terminal {
  background: #000;
  border: 1px solid #00ff88;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  font-family: monospace;
  min-height: 180px;
  margin-bottom: 30px;
}

/* Cursor */
.cursor {
  display: inline-block;
  width: 10px;
  background: #00ff88;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,50%,100% { opacity: 1; }
  25%,75% { opacity: 0; }
}

/* Button */
a {
  background: #00ff88;
  color: #000;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

a:hover {
  background: #00cc6a;
}
/* Progress Bar */
.progress-container {
  margin-top: 20px;
  text-align: left;
}

.progress-label {
  font-family: monospace;
  margin-bottom: 8px;
  color: #00ff88;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #111;
  border: 1px solid #00f0ff;
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #00f0ff;
  box-shadow: 0 0 10px #00ff88;
}
/* Add space between progress bar and Return Home button */
.container a {
  display: inline-block;
  margin-top: 30px; /* Increase this value to add more space */
  background: #00f0ff;
  color: #000;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.container a:hover {
  background: #00cc6a;
}
/* Container adjustments for logo */
.logo {
  display: inline-block;      /* Shrinks container to content width */
  margin: 0 auto 20px;        /* Center horizontally and add bottom space */
}

.container {
  position: relative;
  z-index: 2;
  max-width: fit-content;      /* Shrinks container to fit the logo perfectly */
  width: 100%;                 /* Allow responsive centering */
  text-align: center;
}
