:root {
  --bg-primary: #1d1a20;
  --text-primary: #f7f6f9;
  --text-muted: #9e99a8;
  --accent-pink: #ff5e97;
  --accent-teal: #38c9b9;
  --badge-bg: rgba(255, 255, 255, 0.045);
  --badge-border: rgba(255, 255, 255, 0.1);
}

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

html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.coming-soon-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.5rem;
  position: relative;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
}

/* 16:9 stage matching exact 1280x720 dimensions of first frame & video */
.logo-stage {
  position: relative;
  width: min(90vw, 720px, calc(56vh * 16 / 9));
  aspect-ratio: 1280 / 720;
  border-radius: 20px;
  overflow: hidden;
  background-color: var(--bg-primary);
}

/* Feather the outer frame edges so the video background melts into the page background */
.logo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 48px 36px var(--bg-primary);
}

.logo-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
}

.logo-video {
  z-index: 1;
}

.logo-poster {
  z-index: 2;
  opacity: 1;
  transition: opacity 120ms ease-out;
}

.logo-stage.is-playing .logo-poster {
  opacity: 0;
}

.status-section {
  margin-top: -0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
  z-index: 4;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  backdrop-filter: blur(8px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-teal));
  box-shadow: 0 0 10px var(--accent-pink);
  animation: pulse-glow 2.4s ease-in-out infinite;
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.tagline {
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.015em;
  max-width: 44ch;
  line-height: 1.5;
}

.site-footer {
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(158, 153, 168, 0.55);
  letter-spacing: 0.04em;
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
    box-shadow: 0 0 8px var(--accent-pink);
  }
  50% {
    transform: scale(1.22);
    opacity: 1;
    box-shadow: 0 0 14px var(--accent-teal);
  }
}

@media (max-width: 600px) {
  .coming-soon-page {
    padding: 1.5rem 1rem 1.5rem;
  }

  .logo-stage {
    width: 96vw;
  }

  .status-section {
    margin-top: 0.25rem;
  }
}

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