:root {
  color-scheme: dark;
  --miami-cyan: #56f4ff;
  --miami-pink: #ff54bd;
  --miami-purple: #6e36c9;
  --energy-green: #72ff2d;
  --starfire-title: #989cac;
  --starfire-edge: #3f327f;
  --starfire-bar: #56ac38;
  --starfire-pale: #cfebb5;
  --night: #08031b;
  --night-soft: #170a38;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--night);
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  padding: clamp(14px, 2.5vw, 34px);
  color: #fff9ff;
  font-family: "Trebuchet MS", Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 62, 190, 0.25), transparent 27rem),
    radial-gradient(circle at 88% 22%, rgba(53, 226, 255, 0.2), transparent 31rem),
    linear-gradient(155deg, #070219 0%, #16072e 50%, #061c36 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.1;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.72) 4px);
  mix-blend-mode: multiply;
}

.miami-grid {
  position: fixed;
  left: -20%;
  right: -20%;
  bottom: -24%;
  z-index: 0;
  height: 58vh;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(72, 236, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 76, 187, 0.38) 1px, transparent 1px);
  background-size: 58px 42px;
  transform: perspective(420px) rotateX(61deg);
  transform-origin: center bottom;
  animation: grid-pulse 7s ease-in-out infinite alternate;
}

.construction-page {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.miami-banner {
  min-height: 52px;
  margin-bottom: 12px;
  padding: 0.72rem clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 2px solid #060014;
  outline: 1px solid rgba(106, 247, 255, 0.68);
  color: white;
  background: linear-gradient(90deg, #51228e 0%, #7f35b5 28%, #146b8f 72%, #0b8192 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.1),
    4px 4px 0 rgba(255, 68, 186, 0.34),
    0 0 22px rgba(68, 227, 255, 0.22);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
}

.brand-spark {
  color: var(--miami-cyan);
  font-size: 1.5rem;
  line-height: 0;
  text-shadow: 0 0 8px var(--miami-cyan), 0 0 14px var(--miami-pink);
}

.build-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.86);
}

.status-light {
  width: 0.58rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--energy-green);
  box-shadow: 0 0 12px var(--energy-green);
  animation: status-blink 1.4s steps(2, end) infinite;
}

.construction-card {
  position: relative;
  min-height: min(710px, calc(100svh - 126px));
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(102, 244, 255, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(31, 8, 65, 0.94), rgba(6, 35, 64, 0.9)),
    var(--night-soft);
  box-shadow:
    0 0 0 4px rgba(5, 1, 17, 0.82),
    0 0 0 5px rgba(255, 85, 192, 0.42),
    0 28px 80px rgba(0, 0, 0, 0.54),
    inset 0 0 65px rgba(65, 232, 255, 0.06);
}

.construction-card::before,
.construction-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 24rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(18px);
  pointer-events: none;
}

.construction-card::before {
  top: -13rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(255, 68, 184, 0.32), transparent 68%);
}

.construction-card::after {
  right: -9rem;
  bottom: -13rem;
  background: radial-gradient(circle, rgba(58, 231, 255, 0.28), transparent 68%);
}

.miami-palms-art {
  position: absolute;
  top: 0.7rem;
  left: 2%;
  z-index: 2;
  width: clamp(230px, 24%, 290px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 0 5px rgba(76, 239, 255, 0.52));
}

.construction-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: clamp(11.2rem, 20vh, 12.5rem) clamp(2rem, 5vw, 5.7rem) clamp(3rem, 7vh, 5rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--miami-cyan);
  font-size: clamp(0.66rem, 1.2vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-shadow: 0 0 11px rgba(86, 244, 255, 0.65);
}

h1 {
  margin: 0 0 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.construction-title {
  margin: 0;
  color: var(--starfire-title);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(3.4rem, 7.2vw, 7.2rem);
  font-style: italic;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 1.15px var(--starfire-edge);
  text-shadow:
    3px 3px 0 rgba(40, 13, 41, 0.92),
    5px 5px 0 rgba(63, 50, 127, 0.34),
    0 0 17px rgba(152, 156, 172, 0.24);
  transform: skewY(-2deg);
}

.build-strip {
  width: min(100%, 34rem);
  height: 18px;
  margin: 1.65rem 0 1.4rem;
  overflow: hidden;
  border: 1px solid rgba(174, 254, 255, 0.8);
  border-radius: 999px;
  background: rgba(7, 2, 29, 0.88);
  box-shadow: 0 0 14px rgba(83, 235, 255, 0.2);
}

.build-strip span {
  display: block;
  width: 73%;
  height: 100%;
  background: var(--starfire-bar);
  box-shadow:
    inset 0 0 8px rgba(207, 235, 181, 0.42),
    0 0 14px rgba(86, 172, 56, 0.56);
  animation: green-bar-glow 2.4s ease-in-out infinite alternate;
}

.lede {
  max-width: 46ch;
  margin: 0 0 1.8rem;
  color: rgba(243, 239, 255, 0.76);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.72;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.78rem 1.05rem;
  border: 1px solid rgba(98, 245, 255, 0.72);
  border-radius: 2px;
  color: white;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(101, 46, 183, 0.8), rgba(11, 111, 139, 0.8));
  box-shadow: 4px 4px 0 rgba(255, 77, 186, 0.28), 0 0 15px rgba(70, 236, 255, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.home-link:hover,
.home-link:focus-visible {
  outline: none;
  transform: translate(-2px, -2px);
  filter: brightness(1.18);
  box-shadow: 7px 7px 0 rgba(255, 77, 186, 0.34), 0 0 24px rgba(70, 236, 255, 0.3);
}

.character-zone {
  position: relative;
  z-index: 2;
  min-height: 540px;
  align-self: stretch;
}

.energy-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 255, 221, 0.94) 0 24%, rgba(108, 255, 47, 0.82) 25% 48%, rgba(96, 255, 39, 0.12) 68%, transparent 72%);
  filter: blur(1px);
  animation: orb-breathe 3.4s ease-in-out infinite alternate;
}

.orb-one {
  top: 12%;
  left: 2%;
  width: clamp(130px, 18vw, 230px);
}

.orb-two {
  top: 28%;
  right: -4%;
  width: clamp(165px, 22vw, 290px);
  animation-delay: -1.6s;
}

.character-art {
  position: absolute;
  right: clamp(-3.4rem, -3vw, -1rem);
  bottom: -5%;
  width: min(100%, 500px);
  max-height: 108%;
  object-fit: contain;
  object-position: right bottom;
  filter:
    drop-shadow(0 0 9px rgba(101, 255, 42, 0.36))
    drop-shadow(-18px 25px 30px rgba(0, 0, 0, 0.54));
  animation: character-float 5.5s ease-in-out infinite;
}

.coming-soon-sticker {
  position: absolute;
  right: 5%;
  bottom: 7%;
  z-index: 3;
  margin: 0;
  padding: 0.65rem 0.82rem;
  border: 2px solid #17072c;
  outline: 1px solid var(--miami-cyan);
  color: #130620;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(0.86rem, 1.6vw, 1.05rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #c47ca8;
  box-shadow: 5px 5px 0 #6caabd, 0 0 17px rgba(175, 111, 164, 0.3);
  transform: rotate(-4deg);
}

@keyframes green-bar-glow {
  from { opacity: 0.78; filter: saturate(0.88); }
  to { opacity: 1; filter: saturate(1.1) brightness(1.08); }
}

@keyframes character-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.5deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(0.7deg); }
}

@keyframes orb-breathe {
  from { opacity: 0.58; transform: scale(0.94); }
  to { opacity: 0.95; transform: scale(1.05); }
}

@keyframes status-blink {
  50% { opacity: 0.38; }
}

@keyframes grid-pulse {
  from { opacity: 0.2; background-position: 0 0; }
  to { opacity: 0.42; background-position: 0 22px; }
}

@media (max-width: 760px) {
  body {
    padding: 10px;
  }

  .miami-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .construction-card {
    grid-template-columns: 1fr;
  }

  .miami-palms-art {
    top: 0.75rem;
    left: 1.5rem;
    width: min(calc(100% - 3rem), 280px);
    height: auto;
  }

  .construction-copy {
    min-width: 0;
    padding: 12rem 1.6rem 1.4rem;
  }

  .construction-title {
    max-width: 100%;
    font-size: clamp(2.2rem, 11.2vw, 3.4rem);
    line-height: 0.84;
    text-shadow:
      2px 2px 0 rgba(40, 13, 41, 0.92),
      4px 4px 0 rgba(63, 50, 127, 0.3),
      0 0 14px rgba(152, 156, 172, 0.22);
  }

  .lede {
    overflow-wrap: anywhere;
  }

  .character-zone {
    min-height: 510px;
  }

  .character-art {
    right: 0;
    left: 50%;
    width: min(92vw, 390px);
    transform: translateX(-50%);
    animation: none;
  }

  .coming-soon-sticker {
    right: 12%;
    padding: 0.52rem 0.62rem;
    font-size: 0.78rem;
    transform: rotate(-2deg);
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
