:root {
  color-scheme: dark;
  --wx-bg: #0a0a0a;
  --wx-primary: #c0253f;
  --wx-text-primary: #f0f0f0;
  --wx-text-secondary: #888888;
  --wx-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  min-width: 280px;
  min-height: 100%;
  background: var(--wx-bg);
}

body {
  margin: 0;
  color: var(--wx-text-primary);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

::selection {
  color: var(--wx-text-primary);
  background: var(--wx-primary);
}

.ambience {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, #ffffff04, transparent 60%),
    radial-gradient(ellipse at 50% 110%, #c0253f16, transparent 55%);
}

.ambience::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 43% 38%, #c0253f1c, transparent 35%),
    radial-gradient(ellipse at 65% 65%, #a01d3310, transparent 38%);
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

.ambience::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(#ffffff0b 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0b 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 68%);
}

.frame {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: clamp(16px, 3vw, 44px);
  border: 1px solid #ffffff07;
  background:
    linear-gradient(var(--wx-primary), var(--wx-primary)) left top / 24px 1px,
    linear-gradient(var(--wx-primary), var(--wx-primary)) left top / 1px 24px,
    linear-gradient(var(--wx-primary), var(--wx-primary)) right bottom / 24px 1px,
    linear-gradient(var(--wx-primary), var(--wx-primary)) right bottom / 1px 24px;
  background-repeat: no-repeat;
  animation: reveal 1.8s var(--wx-ease) both;
}

.coming-soon {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 64px 24px;
}

.announcement {
  width: 100%;
  text-align: center;
}

.logo-stage {
  position: relative;
  width: clamp(160px, 19vw, 250px);
  margin: 0 auto 28px;
  animation: reveal 1.6s var(--wx-ease) both;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, #c0253f20, transparent 70%);
  transform: scale(1.8);
  animation: halo-breathe 7s ease-in-out infinite;
}

.logo-stage::after {
  content: "";
  position: absolute;
  bottom: 6%;
  left: 25%;
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c0253f80, transparent);
  box-shadow: 0 0 18px #c0253f30;
}

.brand-logo {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 28px #c0253f20);
  animation: logo-float 7s ease-in-out 1.6s infinite;
}

h1 {
  margin: 0;
  font-family: "Outfit", "Arial Black", Arial, sans-serif;
  font-size: clamp(36px, 8.2vw, 132px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 32px #ffffff08;
  animation: reveal 1.5s var(--wx-ease) 0.15s both;
}

h1 span {
  display: inline-block;
  /* Give the gradient room for glyphs extending beyond their text box. */
  padding: 0.08em 0.1em;
  margin: -0.08em -0.1em;
  letter-spacing: -0.055em;
  color: var(--wx-primary);
  text-shadow: 0 0 60px #c0253f26;
  background: linear-gradient(160deg, #ed687c, var(--wx-primary) 55%, #a01d33);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  margin: 28px 0 0;
  padding-left: 0.5em;
  color: #a09a9b;
  font-size: clamp(10px, 1.05vw, 14px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.5em;
  animation: reveal 1.5s var(--wx-ease) 0.35s both;
}

p::after {
  content: "";
  display: block;
  width: min(180px, 45%);
  height: 1px;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, #c0253f70, transparent);
  transform-origin: center;
  animation: line-reveal 1.8s var(--wx-ease) 0.65s both;
}

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

@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-9px) rotate(1deg); }
}

@keyframes halo-breathe {
  0%, 100% { opacity: 0.5; transform: scale(1.65); }
  50% { opacity: 1; transform: scale(1.9); }
}

@keyframes ambient-drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1); }
  to { transform: translate3d(3%, 3%, 0) scale(1.08); }
}

@keyframes line-reveal {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 480px) {
  h1 span {
    display: block;
    margin-top: 8px;
    font-size: 1.5em;
  }

  .logo-stage { margin-bottom: 20px; }
  p { margin-top: 24px; }
}

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