:root {
  --bg-1: #030711;
  --bg-2: #08111f;
  --bg-3: #0e1b32;
  --text: #eef7ff;
  --muted: #b8c7d9;
  --accent: #57d6ff;
  --accent-2: #7a5cff;
  --glass: rgba(10, 20, 38, 0.58);
  --glass-border: rgba(255, 255, 255, 0.14);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(87, 214, 255, 0.14), transparent 30%),
    radial-gradient(circle at bottom, rgba(122, 92, 255, 0.12), transparent 25%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-3) 100%);
  overflow: hidden;
  position: relative;
}

.space-warp {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px);
  background-size: 18px 18px;
  transform-origin: center center;
  animation: warpZoom 10s linear infinite;
  opacity: 0.18;
  pointer-events: none;
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  border-radius: 50%;
  transform-origin: center center;
  animation-name: twinkleStar;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.star--white {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.35);
}

.star--blue {
  background: rgba(120, 200, 255, 0.95);
  box-shadow: 0 0 8px rgba(87, 214, 255, 0.42);
}

.star--gold {
  background: rgba(255, 236, 170, 0.95);
  box-shadow: 0 0 8px rgba(255, 220, 140, 0.35);
}

.star--violet {
  background: rgba(170, 150, 255, 0.9);
  box-shadow: 0 0 9px rgba(122, 92, 255, 0.35);
}

.star--cross::before,
.star--cross::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  opacity: 0.75;
  border-radius: 999px;
}

.star--cross::before {
  width: 1px;
  height: calc(100% + 8px);
}

.star--cross::after {
  width: calc(100% + 8px);
  height: 1px;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(4, 12, 24, 0.18), rgba(4, 12, 24, 0.55));
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  padding: 40px 32px;
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(87, 214, 255, 0.12);
  border: 1px solid rgba(87, 214, 255, 0.28);
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 0 0 24px rgba(87, 214, 255, 0.18);
}

h1 span {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
}

.intro,
.message {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.06rem;
}

.intro,
.message {
  margin-bottom: 16px;
}

.message:last-of-type {
  margin-bottom: 28px;
}

.countdown-placeholder {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(87, 214, 255, 0.08);
  border: 1px solid rgba(87, 214, 255, 0.2);
  box-shadow: 0 0 25px rgba(87, 214, 255, 0.08);
}

.countdown-placeholder .small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.countdown-placeholder strong {
  font-size: 1rem;
  color: var(--text);
}

@keyframes warpZoom {
  0% {
    transform: scale(0.82);
    opacity: 0.08;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    transform: scale(2.5);
    opacity: 0.02;
  }
}

@keyframes twinkleStar {
  0% {
    transform: scale(0.9);
    opacity: 0.3;
    filter: brightness(0.9);
  }
  20% {
    transform: scale(1);
    opacity: 0.7;
    filter: brightness(1.05);
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
    filter: brightness(1.2);
  }
  75% {
    transform: scale(0.98);
    opacity: 0.6;
    filter: brightness(0.98);
  }
  100% {
    transform: scale(0.88);
    opacity: 0.35;
    filter: brightness(0.9);
  }
}

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

@media (max-height: 760px) {
  body {
    overflow-y: auto;
  }
}

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

  .hero {
    padding: 18px;
  }

  .hero__content {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .intro,
  .message {
    font-size: 1rem;
    line-height: 1.65;
  }
}

@media (max-width: 480px) {
  .badge {
    font-size: 0.78rem;
    padding: 7px 12px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .countdown-placeholder {
    width: 100%;
  }
}
