/* Parveen Health & Fitness — Maintenance Page
   Standalone, dependency-free static page. Brand tokens copied from the
   main site's design system (src/sass/default/_variable.scss). Deliberately
   restrained: one accent color used everywhere (brand pink), no secondary
   hues, so it reads as clean/professional rather than decorative. */

:root {
  --background: #0a0a0f;
  --surface: #16161f;
  --border-color: #2b2b35;
  --heading-color: #ffffff;
  --body-color: #a9a9b8;
  --muted: #7d7d8a;
  --accent-color: #ff5997;
  --gradient-primary: linear-gradient(135deg, #ff5997 0%, #ff3f86 100%);
  --heading-font: 'Oswald', sans-serif;
  --body-font: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--background);
  color: var(--body-color);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  overflow-x: hidden;
  position: relative;
}

a {
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Single soft glow, one hue only — no secondary colors, no texture layers. */
.bg_glow {
  position: fixed;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255, 89, 151, 0.16) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

/* ── Card ─────────────────────────────────────────────────────── */
.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 44px 44px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

@media (max-width: 560px) {
  .card {
    padding: 40px 24px 32px;
    border-radius: 20px;
  }
}

/* ── Entrance animation ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: revealUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--d, 0) * 80ms);
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .dot,
  .retry_btn.spinning svg {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Logo — the primary brand mark, sized to lead the page ──────── */
.logo {
  height: 72px;
  width: auto;
  margin-bottom: 30px;
}

@media (max-width: 480px) {
  .logo {
    height: 56px;
  }
}

/* ── Status badge — large and unmissable ─────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  border-radius: 50px;
  background: rgba(255, 89, 151, 0.12);
  border: 1px solid rgba(255, 89, 151, 0.35);
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 26px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 0 8px var(--accent-color);
  animation: pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

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

.title {
  font-family: var(--heading-font);
  font-size: clamp(28px, 5vw + 8px, 42px);
  font-weight: 600;
  color: var(--heading-color);
  margin: 0 0 16px;
  letter-spacing: 0.2px;
}

.gradient_text {
  background: linear-gradient(90deg, #ff3f86, #ffb3d1, #ff3f86);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3.2s linear infinite;
}

@keyframes shine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-color);
  max-width: 400px;
  margin: 0 0 26px;
}

.eta {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 20px;
}

.eta strong {
  color: var(--heading-color);
  font-weight: 600;
}

/* ── Countdown ────────────────────────────────────────────────── */
.countdown {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.countdown_unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  padding: 12px 0 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
}

.countdown_num {
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 600;
  color: var(--heading-color);
  font-variant-numeric: tabular-nums;
}

.countdown_label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

@media (max-width: 420px) {
  .countdown {
    gap: 8px;
  }

  .countdown_unit {
    width: 60px;
    padding: 10px 0 8px;
  }

  .countdown_num {
    font-size: 20px;
  }
}

/* ── Retry button ─────────────────────────────────────────────── */
.retry_btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 50px;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255, 89, 151, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 34px;
}

.retry_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 89, 151, 0.4);
}

.retry_btn:active {
  transform: translateY(0);
}

.retry_btn:disabled {
  cursor: default;
  opacity: 0.85;
}

.retry_btn.spinning svg {
  animation: spin 0.6s linear;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.divider {
  width: 100%;
  max-width: 240px;
  height: 1px;
  background: var(--border-color);
  margin-bottom: 24px;
}

.contact_heading {
  margin: 0 0 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Icon buttons — one neutral style, accent color on hover only ── */
.icon_row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.icon_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--body-color);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icon_btn:hover {
  color: var(--accent-color);
  border-color: rgba(255, 89, 151, 0.4);
  transform: translateY(-2px);
}

.contact_links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.contact_links a {
  color: var(--body-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact_links a:hover {
  color: var(--accent-color);
}

.contact_links .sep {
  color: var(--border-color);
}

.footer_note {
  font-size: 11.5px;
  color: var(--muted);
  margin: 24px 0 0;
}
