/* ================
   Basic reset
   ================ */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
}

/* ================
   Page shell
   ================ */
.maintenance {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: clamp(18px, 2.5vw, 36px);
  overflow: hidden;

  /* Replace with your generated bg image path */
  background-image: url("assets/bg-img.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Darken + soften background for readability */
.maintenance__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 50% 30%,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0.55) 55%,
      rgba(0, 0, 0, 0.70) 100%),
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.55));
  backdrop-filter: blur(2px);
  z-index: 0;
}

/* Keep content above overlay */
.maintenance__header,
.maintenance__content,
.maintenance__footer {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
}

/* ================
   Header / Logo
   ================ */
.maintenance__header {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.maintenance__logo {
  max-width: min(180px, 45vw);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
}

/* ================
   Center content
   ================ */
.maintenance__content {
  text-align: center;
  padding: clamp(10px, 2vw, 22px);
}

.maintenance__title {
  margin: 0 0 12px 0;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.2px;
  text-shadow: 0 10px 24px rgba(0,0,0,0.55);
}

.maintenance__text {
  margin: 0 auto;
  max-width: 70ch;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 10px 24px rgba(0,0,0,0.55);
}

/* ================
   Footer
   ================ */
.maintenance__footer {
  display: flex;
  justify-content: center;
  padding-bottom: 6px;
  opacity: 0.92;
}

.maintenance__footer small {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 10px 24px rgba(0,0,0,0.55);
}

/* Optional: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .maintenance__overlay { backdrop-filter: none; }
}
