:root {
  color-scheme: dark;
  --navy-950: #02061f;
  --navy-900: #050b2c;
  --navy-800: #0b1647;
  --blue: #3346a8;
  --orange: #f5a000;
  --white: #ffffff;
  --muted: #b9c1df;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  background: var(--navy-950);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.maintenance {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(1.25rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 18% 18%, rgba(51, 70, 168, 0.32), transparent 34%),
    radial-gradient(circle at 84% 76%, rgba(245, 160, 0, 0.16), transparent 28%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 48%, #08113b 100%);
}

.maintenance::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 82%);
}

.maintenance::after {
  position: absolute;
  z-index: -1;
  width: min(78vw, 60rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 6rem rgba(255, 255, 255, 0.018),
    0 0 0 12rem rgba(255, 255, 255, 0.012);
  content: "";
}

.maintenance__card {
  width: min(100%, 54rem);
  text-align: center;
}

.brand-logo {
  display: block;
  width: clamp(13rem, 35vw, 24rem);
  height: clamp(5rem, 12vw, 7.2rem);
  margin: 0 auto clamp(1.5rem, 4vh, 2.75rem);
  border-radius: 1rem;
  background: var(--white);
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 1rem 2.5rem rgba(0, 0, 0, 0.28));
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status__pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(245, 160, 0, 0.5);
  animation: pulse 2.2s ease-out infinite;
}

h1 {
  max-width: 13ch;
  margin: 0 auto;
  font-size: clamp(2.8rem, 8vw, 6.9rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-wrap: balance;
}

.message {
  max-width: 39rem;
  margin: clamp(1.4rem, 3.5vh, 2.25rem) auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  text-wrap: balance;
}

.signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: clamp(2rem, 5vh, 3.5rem);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.04em;
}

.signature span:first-child {
  color: var(--muted);
}

.signature strong {
  color: var(--orange);
  font-weight: 700;
}

.signature__line {
  width: clamp(2.5rem, 7vw, 5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.footer-note {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.75rem);
  bottom: clamp(1rem, 3vw, 2rem);
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.data-field span {
  position: absolute;
  z-index: -1;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 0 1.2rem rgba(255, 255, 255, 0.3);
  animation: drift 8s ease-in-out infinite alternate;
}

.data-field span:nth-child(1) { top: 14%; left: 12%; }
.data-field span:nth-child(2) { top: 28%; right: 14%; animation-delay: -2s; }
.data-field span:nth-child(3) { bottom: 18%; left: 18%; animation-delay: -5s; }
.data-field span:nth-child(4) { right: 24%; bottom: 12%; animation-delay: -3s; }
.data-field span:nth-child(5) { top: 62%; left: 8%; animation-delay: -7s; }
.data-field span:nth-child(6) { top: 10%; right: 32%; animation-delay: -4s; }

@keyframes pulse {
  70% { box-shadow: 0 0 0 0.75rem rgba(245, 160, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 160, 0, 0); }
}

@keyframes drift {
  from { transform: translate3d(-0.6rem, -0.8rem, 0); opacity: 0.35; }
  to { transform: translate3d(1rem, 1.4rem, 0); opacity: 0.9; }
}

@media (max-width: 40rem) {
  .maintenance {
    padding: 2rem 1.25rem 4rem;
  }

  .brand-logo {
    width: min(72vw, 18rem);
    margin-bottom: 2rem;
  }

  .signature {
    flex-wrap: wrap;
    row-gap: 0.55rem;
  }

  .signature__line {
    width: 2.5rem;
  }

  .footer-note {
    right: 50%;
    transform: translateX(50%);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
