:root {
  --bg: #05070d;
  --panel: rgba(12, 16, 29, 0.82);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f4f6fb;
  --muted: #a7adbd;
  --red: #ef351d;
  --blue: #3f4fb3;
  --silver: #c4c7cc;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

.maintenance {
  position: relative;
  min-height: calc(100vh - 58px);
  display: grid;
  place-items: center;
  padding: 48px 22px 30px;
  isolation: isolate;
}

.background,
.grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.background {
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(63, 79, 179, .14), transparent 42%),
    linear-gradient(145deg, #05070d 0%, #090d18 52%, #05070d 100%);
}

.grid {
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .16;
}

.glow-red {
  background: var(--red);
  top: 12%;
  left: -180px;
}

.glow-blue {
  background: var(--blue);
  right: -180px;
  bottom: 10%;
}

.card {
  width: min(820px, 100%);
  padding: clamp(34px, 6vw, 66px);
  text-align: center;
  background: linear-gradient(180deg, rgba(17, 22, 39, .90), rgba(8, 11, 20, .90));
  border: 1px solid var(--panel-border);
  border-radius: 26px;
  box-shadow: 0 28px 90px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin: -8px auto 30px;
}

.logo {
  width: min(500px, 92%);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.34));
}

.status {
  width: fit-content;
  margin: 0 auto 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(239, 53, 29, .26);
  background: rgba(239, 53, 29, .08);
  color: #f5d2cb;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(239, 53, 29, .45);
  animation: pulse 2s infinite;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 800;
}

h1 span {
  background: linear-gradient(90deg, var(--red), #ff684f 42%, var(--silver) 64%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 650px;
  margin: 28px auto 0;
  color: #d4d8e1;
  font-size: clamp(1.02rem, 2.3vw, 1.22rem);
  line-height: 1.75;
}

.secondary {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.7;
}

.divider {
  width: 78px;
  height: 2px;
  margin: 32px auto 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--blue));
}

.signature {
  margin: 0;
  color: var(--silver);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

.signature span {
  color: #7e89c8;
  font-weight: 600;
}

footer {
  min-height: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 20px 20px;
  color: #6f7584;
  text-align: center;
  font-size: .78rem;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 53, 29, .45); }
  70% { box-shadow: 0 0 0 9px rgba(239, 53, 29, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 53, 29, 0); }
}

@media (max-width: 640px) {
  .maintenance { padding: 24px 14px 18px; }
  .card { border-radius: 20px; padding: 32px 20px 34px; }
  .logo-wrap { margin-bottom: 24px; }
  .logo { width: 100%; }
  .lead { line-height: 1.62; }
  .signature { line-height: 1.6; }
}

@media (prefers-reduced-motion: reduce) {
  .status-dot { animation: none; }
}
