/* Fullscreen background video */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* General styling */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Arial', sans-serif;
  color: #fff;
  overflow: hidden;
}

/* Maintenance container */
.maintenance-container {
  position: relative;
  background: rgba(0,0,0,0.5);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,0,0,0.7);
  text-align: center;
  max-width: 400px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
}

/* Loader animation */
.loader {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  border: 8px solid rgba(255,255,255,0.3);
  border-top: 8px solid #fff;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px #fff;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Maintenance text animation */
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  min-height: 3rem;
}

.fade-letter {
  opacity: 0;
  display: inline-block;
  animation: fadeIn 0.5s forwards, floatShadow 3s ease-in-out infinite alternate;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes floatShadow {
  0% { transform: translateY(0px); text-shadow: 0 0 5px #fff; }
  50% { transform: translateY(-5px); text-shadow: 0 0 15px #ff9a9e; }
  100% { transform: translateY(0px); text-shadow: 0 0 5px #fff; }
}

/* Time text */
#time {
  margin-top: 20px;
  font-size: 1.1rem;
}
