:root {
  --navy: #0d2631;
  --navy-soft: #173946;
  --paper: #fcfaf6;
  --gold: #b69252;
  --gold-light: #d7bf91;
  --ink-soft: #4f5f63;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "DM Sans", Arial, sans-serif;
}

.waiting-page {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 64px 24px;
  isolation: isolate;
  background:
    linear-gradient(rgba(182, 146, 82, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 146, 82, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 45%, #fff 0%, var(--paper) 55%, #f1eadf 100%);
  background-size: 72px 72px, 72px 72px, auto;
}

.waiting-page::before {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: -1;
  border: 1px solid rgba(182, 146, 82, 0.3);
  pointer-events: none;
}

.waiting-page::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  width: 88px;
  height: 3px;
  transform: translateX(-50%);
  background: var(--gold);
}

.ambient {
  position: absolute;
  z-index: -2;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(182, 146, 82, 0.12);
  border-radius: 50%;
}

.ambient-one {
  top: -230px;
  right: -170px;
}

.ambient-two {
  bottom: -260px;
  left: -150px;
  width: 520px;
  height: 520px;
}

.content {
  width: min(100%, 760px);
  text-align: center;
  animation: entrance 0.9s ease-out both;
}

.brand {
  display: flex;
  justify-content: center;
}

.brand-logo {
  display: block;
  width: 124px;
  height: 124px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(280px, 65%);
  margin: 34px auto 30px;
}

.divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}

.divider span:last-child {
  transform: rotate(180deg);
}

.divider i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.description {
  max-width: 610px;
  margin: 28px auto 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.75;
}

.support {
  margin: 8px auto 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  margin-top: 34px;
  padding: 0 26px;
  border: 1px solid var(--navy);
  background: var(--navy);
  box-shadow: 0 14px 35px rgba(13, 38, 49, 0.16);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.whatsapp-button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.whatsapp-button:hover {
  background: var(--navy-soft);
  box-shadow: 0 18px 42px rgba(13, 38, 49, 0.22);
  transform: translateY(-2px);
}

.whatsapp-button:focus-visible {
  outline: 3px solid rgba(182, 146, 82, 0.45);
  outline-offset: 5px;
}

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

@media (max-width: 600px) {
  .waiting-page {
    padding: 58px 30px;
  }

  .waiting-page::before {
    inset: 12px;
  }

  .waiting-page::after {
    top: 12px;
    width: 62px;
  }

  .brand-logo {
    width: 104px;
    height: 104px;
  }

  .divider {
    margin: 34px auto 27px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 58px);
  }

  .description {
    margin-top: 23px;
    font-size: 15px;
    line-height: 1.65;
  }

  .support {
    font-size: 14px;
  }

  .whatsapp-button {
    width: 100%;
    margin-top: 29px;
    padding-inline: 18px;
  }
}

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

  .whatsapp-button {
    transition: none;
  }
}
