:root {
  color-scheme: dark;
  --ink: #f5f5ef;
  --muted: #a8b3aa;
  --accent: #c7ef76;
  --bg: #111a16;
  --panel: #18231e;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 36px 20px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(77, 111, 74, .19), transparent 48%),
    linear-gradient(145deg, #111a16 0%, #17221c 52%, #111a16 100%);
}

.maintenance-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 760px);
  min-height: 590px;
  padding: 43px 56px 28px;
  border: 1px solid rgba(218, 235, 219, .12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(27, 40, 33, .97), rgba(21, 32, 26, .97));
  box-shadow: 0 30px 100px rgba(0, 0, 0, .27);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; }
.brand-mark svg { width: 36px; height: 36px; fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: square; stroke-linejoin: round; }
.brand-name { font-size: 14px; font-weight: 800; letter-spacing: .15em; }
.brand-name span { color: var(--accent); }

.content { width: min(100%, 520px); margin: auto 0; padding: 64px 0 58px; }
.status-label { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .16em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(199, 239, 118, .65); }

h1 { margin: 24px 0 20px; font-size: clamp(52px, 9vw, 82px); line-height: .98; letter-spacing: -.065em; font-weight: 650; }
h1 span { color: var(--accent); }
.message { max-width: 440px; margin: 0; color: #c0c9c1; font-size: 17px; line-height: 1.75; }
.countdown-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 27px; padding: 16px 18px; border: 1px solid rgba(199, 239, 118, .2); border-radius: 5px; background: rgba(199, 239, 118, .045); }
.countdown-heading { display: flex; flex-direction: column; gap: 6px; }
.countdown-title { color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: .13em; }
.countdown-date { color: #c0c9c1; font-size: 12px; }
.countdown { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.time-unit { display: flex; min-width: 34px; flex-direction: column; align-items: center; gap: 3px; }
.time-value { color: var(--ink); font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 650; letter-spacing: -.04em; }
.time-label { color: #89968c; font-size: 7px; letter-spacing: .08em; }
.time-separator { margin-top: -8px; color: var(--accent); font-size: 17px; }
.countdown-expired { flex-basis: 100%; margin: 0; color: #c0c9c1; font-size: 13px; line-height: 1.5; }
.countdown-panel.is-expired { justify-content: flex-start; }
.countdown-panel.is-expired .countdown-heading { display: none; }
.divider { width: 100%; height: 1px; margin: 32px 0 18px; background: rgba(218, 235, 219, .13); }
.small-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.footer { display: flex; align-items: center; gap: 13px; padding-top: 20px; border-top: 1px solid rgba(218, 235, 219, .1); color: #8d9b91; font-size: 10px; letter-spacing: .06em; }
.footer > span:first-child { color: #c5cec6; font-weight: 750; letter-spacing: .14em; }
.footer-line { width: 24px; height: 1px; background: rgba(199, 239, 118, .55); }

.ambient { position: absolute; width: 320px; height: 320px; border: 1px solid rgba(199, 239, 118, .08); border-radius: 50%; pointer-events: none; }
.ambient::before, .ambient::after { position: absolute; inset: 28px; border: 1px solid rgba(199, 239, 118, .045); border-radius: 50%; content: ""; }
.ambient::after { inset: 64px; }
.ambient-one { top: -190px; right: -115px; }
.ambient-two { bottom: -220px; left: -150px; width: 390px; height: 390px; }

@media (max-width: 600px) {
  .page-shell { padding: 16px; }
  .maintenance-card { min-height: min(680px, calc(100vh - 32px)); padding: 28px 25px 22px; }
  .content { padding: 60px 0; }
  .message { font-size: 15px; }
  .countdown-panel { align-items: flex-start; flex-direction: column; gap: 15px; padding: 15px; }
  .countdown { gap: 5px; }
  .time-unit { min-width: 38px; }
  .time-value { font-size: 21px; }
  .footer { gap: 9px; font-size: 9px; }
  .footer-line { width: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
