:root {
  --bg: #070b18;
  --panel: rgba(255, 255, 255, 0.1);
  --stroke: rgba(255, 255, 255, 0.18);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --blue: #38bdf8;
  --indigo: #6366f1;
  --violet: #a855f7;
  --shadow-soft: 0 28px 90px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.36);
}

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

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

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: -30%;
  z-index: -3;
  background:
    radial-gradient(circle at 16% 18%, rgba(56, 189, 248, 0.24), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(168, 85, 247, 0.23), transparent 24%),
    radial-gradient(circle at 48% 86%, rgba(236, 72, 153, 0.16), transparent 26%),
    linear-gradient(135deg, #050816, #0f172a 55%, #111827);
  animation: aurora 16s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  pointer-events: none;
}

.development-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(15, 23, 42, 0.18), rgba(7, 11, 24, 0.62));
}

.development-popup {
  width: min(520px, 100%);
  position: relative;
  isolation: isolate;
  padding: clamp(30px, 6vw, 52px);
  text-align: center;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    var(--panel);
  box-shadow: var(--shadow-soft), var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  animation: popupIn 680ms cubic-bezier(.22, 1, .36, 1) both;
}

.development-popup::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 27px;
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.28), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(168, 85, 247, 0.28), transparent 30%);
  opacity: 0.9;
  pointer-events: none;
}

.status-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(99, 102, 241, 0.94), rgba(168, 85, 247, 0.94));
  box-shadow: 0 18px 46px rgba(99, 102, 241, 0.42);
}

.status-mark span {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-top-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}

h1 {
  font-size: clamp(28px, 7vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(135deg, #ffffff, #bfdbfe 34%, #c084fc 68%, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  text-wrap: balance;
}

.shine-line {
  width: min(220px, 64%);
  height: 1px;
  margin: 28px auto 0;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), rgba(168, 85, 247, 0.8), transparent);
}

@keyframes aurora {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    filter: hue-rotate(0deg);
  }

  to {
    transform: translate3d(3%, -2%, 0) scale(1.08);
    filter: hue-rotate(20deg);
  }
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (hover: hover) {
  .development-popup:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38), 0 0 72px rgba(99, 102, 241, 0.43);
    transition: transform 260ms ease, box-shadow 260ms ease;
  }
}

@media (max-width: 520px) {
  body {
    overflow-y: auto;
  }

  .development-overlay {
    padding: 18px;
  }

  .development-popup {
    border-radius: 22px;
  }

  .development-popup::before {
    border-radius: 21px;
  }
}

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