:root {
  --brand-pink: #d5186a;
  --brand-pink-dark: #b90d56;
  --brand-pink-soft: #fff0f6;
  --brand-ink: #2f3e46;
  --brand-muted: #66727a;
  --white: #ffffff;
  --border: rgba(47, 62, 70, 0.12);
  --shadow: 0 28px 80px rgba(47, 62, 70, 0.14);
  --radius-xl: 30px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--brand-ink);
  background:
    radial-gradient(circle at top left, rgba(213, 24, 106, 0.10), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #fff8fb 56%, #ffffff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

.maintenance-page {
  position: relative;
  flex: 1;
  width: 100%;
  padding: 42px 20px 24px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.maintenance-card {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  padding: clamp(30px, 6vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(14px);
}

.brand-area {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.brand-logo {
  display: block;
  height: 6rem;
}

.status-badge {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 9px 14px;
  border: 1px solid rgba(213, 24, 106, 0.22);
  border-radius: 999px;
  color: var(--brand-pink-dark);
  background: var(--brand-pink-soft);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-pink);
  box-shadow: 0 0 0 6px rgba(213, 24, 106, 0.12);
  animation: pulse 1.8s infinite;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-pink);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(2.15rem, 6vw, 3.65rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--brand-muted);
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  line-height: 1.75;
}

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

.progress-track {
  width: 100%;
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1e8ec;
}

.progress-bar {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-pink), #f45d9d);
  animation: loading 2.1s ease-in-out infinite;
}

.progress-copy {
  margin-top: 10px;
  color: var(--brand-muted);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-width: 170px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button:focus-visible {
  outline: 3px solid rgba(213, 24, 106, 0.28);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: var(--brand-pink);
  box-shadow: 0 12px 26px rgba(213, 24, 106, 0.24);
}

.button-primary:hover {
  background: var(--brand-pink-dark);
}

.button-secondary {
  color: var(--brand-ink);
  background: var(--white);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: rgba(213, 24, 106, 0.35);
  background: var(--brand-pink-soft);
}

.small-note {
  max-width: 560px;
  margin: 24px auto 0;
  color: #7a858b;
  font-size: 0.88rem;
  line-height: 1.6;
}

.background-orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.orb-one {
  top: 8%;
  left: -90px;
  width: 230px;
  height: 230px;
  background: rgba(213, 24, 106, 0.11);
}

.orb-two {
  right: -80px;
  bottom: 5%;
  width: 280px;
  height: 280px;
  border: 54px solid rgba(213, 24, 106, 0.07);
}

.site-footer {
  padding: 0 20px 24px;
  color: #7c878d;
  text-align: center;
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

@keyframes loading {
  0% {
    transform: translateX(-105%);
  }

  50% {
    transform: translateX(95%);
  }

  100% {
    transform: translateX(245%);
  }
}

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

  50% {
    transform: scale(0.78);
    opacity: 0.72;
  }
}

@media (max-width: 640px) {
  .maintenance-page {
    padding: 18px 14px 16px;
  }

  .maintenance-card {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .brand-logo {
    width: min(330px, 96%);
  }

  .status-badge {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  h1 {
    font-size: clamp(2rem, 13vw, 3.25rem);
  }

  .intro {
    margin-top: 18px;
    line-height: 1.65;
  }

  .progress-copy {
    flex-direction: column;
    gap: 3px;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .orb-one {
    width: 170px;
    height: 170px;
  }

  .orb-two {
    width: 190px;
    height: 190px;
    border-width: 38px;
  }
}

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