:root {
  --bg-top: #12100e;
  --bg-bottom: #070605;
  --ink: #f4efe6;
  --ink-soft: #b7aea0;
  --gold: #c9a15b;
  --gold-deep: #a8843f;
  --gold-soft: rgba(201, 161, 91, 0.22);
  --gold-glow: rgba(201, 161, 91, 0.4);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(201, 161, 91, 0.22);
  --font-display: "Outfit", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 50% 12%, rgba(201, 161, 91, 0.14), transparent 58%),
    radial-gradient(700px 480px at 85% 90%, rgba(201, 161, 91, 0.08), transparent 55%),
    linear-gradient(165deg, var(--bg-top), var(--bg-bottom));
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  text-align: center;
}

/* Ambient atmosphere */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(201, 161, 91, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 161, 91, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, black 18%, transparent 72%);
  animation: grid-drift 28s linear infinite;
  opacity: 0.8;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.45;
  animation: float 12s var(--ease-out) infinite;
}

.orb-1 {
  width: min(42vw, 280px);
  height: min(42vw, 280px);
  top: 8%;
  left: 8%;
  background: var(--gold-soft);
  animation-duration: 14s;
}

.orb-2 {
  width: min(50vw, 360px);
  height: min(50vw, 360px);
  right: 4%;
  bottom: 6%;
  background: rgba(201, 161, 91, 0.14);
  animation-duration: 18s;
  animation-delay: -4s;
}

.orb-3 {
  width: min(30vw, 180px);
  height: min(30vw, 180px);
  left: 45%;
  top: 65%;
  background: rgba(255, 255, 255, 0.06);
  animation-duration: 11s;
  animation-delay: -2s;
}

.spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold-glow);
  opacity: 0;
  animation: sparkle 5.5s ease-in-out infinite;
}

.spark-1 {
  top: 22%;
  left: 18%;
  animation-delay: 0s;
}

.spark-2 {
  top: 30%;
  right: 16%;
  animation-delay: 1.4s;
}

.spark-3 {
  bottom: 24%;
  left: 28%;
  animation-delay: 2.2s;
}

.spark-4 {
  bottom: 18%;
  right: 24%;
  animation-delay: 3.1s;
}

/* Main stage */
.stage {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
}

.brand {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0;
  animation: rise-in 1s var(--ease-out) both;
}

.logo {
  width: min(72vw, 320px);
  max-width: 320px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.5));
  animation: logo-breathe 5.5s ease-in-out infinite;
  animation-delay: 1.1s;
}

.copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: -0.35rem auto 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  animation: rise-in 0.85s var(--ease-out) 0.1s both;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 161, 91, 0.55);
  animation: pulse-dot 2s ease-out infinite;
  flex-shrink: 0;
}

.eyebrow {
  width: 100%;
  margin: 0 0 0.85rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(0.68rem, 2.2vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  animation: rise-in 0.9s var(--ease-out) 0.18s both;
}

.title {
  width: 100%;
  margin: 0.15rem auto 1.15rem;
  padding: 0.12em 0.08em 0.2em;
  overflow: visible;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 5.25rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: rise-in 0.95s var(--ease-out) 0.28s both;
}

.title-text {
  position: relative;
  display: inline-block;
  padding-bottom: 0.08em;
  line-height: 1.2;
  background: linear-gradient(
    115deg,
    #f7f1e6 15%,
    var(--gold) 55%,
    #e8d09a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 24px rgba(201, 161, 91, 0.22));
}

.glass-float {
  position: absolute;
  border-radius: 22px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  opacity: 0.55;
  animation: glass-drift 14s var(--ease-out) infinite;
}

.glass-float-1 {
  width: 120px;
  height: 72px;
  top: 16%;
  left: 8%;
  animation-duration: 16s;
}

.glass-float-2 {
  width: 90px;
  height: 90px;
  top: 58%;
  right: 10%;
  border-radius: 28px;
  animation-duration: 18s;
  animation-delay: -4s;
}

.glass-float-3 {
  width: 140px;
  height: 56px;
  bottom: 14%;
  left: 18%;
  animation-duration: 15s;
  animation-delay: -7s;
}

.lede {
  width: 100%;
  max-width: 30rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 2.4vw, 1.05rem);
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink-soft);
  animation: rise-in 1s var(--ease-out) 0.4s both;
}

.progress {
  width: min(100%, 220px);
  margin: 0 auto 1.45rem;
  animation: rise-in 0.9s var(--ease-out) 0.52s both;
}

.progress-track {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), #e2c989);
  background-size: 200% 100%;
  animation: progress-shine 2.4s ease-in-out infinite;
  box-shadow: 0 0 16px var(--gold-glow);
}

.footnote {
  width: 100%;
  margin: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(183, 174, 160, 0.8);
  font-weight: 500;
  animation: rise-in 0.9s var(--ease-out) 0.62s both;
}

/* Motion */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.015);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(18px, -24px, 0);
  }
}

@keyframes grid-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(56px, 56px, 0);
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 161, 91, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(201, 161, 91, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 161, 91, 0);
  }
}

@keyframes progress-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes glass-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(16px, -22px, 0) rotate(4deg);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
  40%,
  60% {
    opacity: 0.9;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .stage {
    width: min(100%, 520px);
  }

  .logo {
    width: min(68vw, 280px);
    max-width: 280px;
  }
}

@media (max-width: 560px) {
  body {
    padding: 1.25rem 1rem;
  }

  .logo {
    width: min(78vw, 250px);
    max-width: 250px;
  }

  .status {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
    margin: -0.25rem auto 0.75rem;
  }

  .eyebrow {
    letter-spacing: 0.14em;
  }

  .title {
    font-size: clamp(2.6rem, 13vw, 3.4rem);
    margin-bottom: 1rem;
  }

  .glass-float-1,
  .glass-float-3 {
    opacity: 0.35;
  }

  .lede {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
  }

  .progress {
    width: min(100%, 180px);
    margin-bottom: 1.35rem;
  }
}

@media (max-width: 360px) {
  .logo {
    width: min(84vw, 210px);
  }

  .title {
    font-size: 2.35rem;
  }

  .eyebrow {
    letter-spacing: 0.1em;
  }
}
