* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #070707;
  --panel: rgba(18, 18, 18, .82);
  --text: #f5f5f5;
  --muted: #a2a2a2;
  --line: rgba(255,255,255,.09);
  --accent: #ff2b2b;
  --accent-2: #ff5757;
}

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

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 38, 38, .13), transparent 30rem),
    radial-gradient(circle at 10% 100%, rgba(255, 38, 38, .06), transparent 25rem),
    var(--bg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.noise {
  position: fixed;
  inset: -50%;
  opacity: .025;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.maintenance {
  width: min(92vw, 720px);
  text-align: center;
  animation: enter .7s ease both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 55, 55, .25);
  border-radius: 999px;
  background: rgba(255, 40, 40, .07);
  color: #ff8585;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 43, 43, .9);
  animation: pulse 1.6s infinite;
}

.card {
  position: relative;
  margin-top: 18px;
  padding: 52px 55px 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow:
    0 30px 90px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,55,55,.7), transparent);
}

.icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  border-radius: 20px;
  color: #ff4a4a;
  background: rgba(255, 43, 43, .09);
  border: 1px solid rgba(255, 43, 43, .18);
}

.icon svg {
  width: 38px;
  height: 38px;
}

h1 {
  font-size: clamp(38px, 7vw, 64px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 800;
}

h1 span {
  color: var(--accent);
}

.description {
  max-width: 540px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.progress {
  max-width: 500px;
  margin: 34px auto 0;
  text-align: left;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #777;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.progress-top strong {
  color: #ddd;
}

.bar {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #262626;
}

#bar-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px rgba(255,43,43,.45);
  transition: width .35s ease;
}

.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

button, .actions a {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
}

button {
  color: white;
  background: #e52222;
  border-color: #e52222;
  box-shadow: 0 8px 25px rgba(229,34,34,.18);
}

button span {
  margin-left: 5px;
  font-size: 16px;
}

.actions a {
  display: inline-flex;
  align-items: center;
  color: #bbb;
  background: rgba(255,255,255,.025);
}

button:hover, .actions a:hover {
  transform: translateY(-2px);
}

button:hover {
  background: #ff3030;
}

.actions a:hover {
  color: white;
  border-color: rgba(255,255,255,.18);
}

footer {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  color: #555;
  font-size: 11px;
}

.dot {
  color: #333;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.75); }
}

@media (max-width: 600px) {
  body {
    overflow: auto;
    padding: 30px 0;
  }

  .card {
    padding: 40px 24px 35px;
    border-radius: 22px;
  }

  h1 {
    font-size: 40px;
  }

  .description {
    font-size: 14px;
  }

  .actions {
    flex-direction: column;
  }

  button, .actions a {
    width: 100%;
    justify-content: center;
  }
}
