/* ============================================================
   vesnavoseny — заглушка основного домену
   Нічне небо як на EPK: лого пульсує, зорі розлітаються з центру,
   потім лого підіймається і зʼявляється кнопка на прес-кіт.
   ============================================================ */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/manrope-800-latin.woff2) format('woff2');
}

:root {
  --sky:    #272053;
  --ink:    #0e0b22;
  --text:   #f4f1ff;
  --pink:   #ff3ea5;
  --pink-soft: #ff7cc3;
  --shadow: rgba(10, 7, 28, .55);
}

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

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--sky);
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  overflow: hidden;
}

#sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: var(--sky);
}

.stub {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* Лого: пульсує під час завантаження; після розльоту зірок підіймається */
.stub__logo {
  width: min(64vw, 360px);
  transform: translateY(1.4rem);
  transition: transform .7s cubic-bezier(.22, .9, .3, 1.1);
  animation: logo-pulse 1.6s ease-in-out infinite;
}

.stub__logo img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes logo-pulse {
  0%, 100% { opacity: .5; }
  50%      { opacity: 1; }
}

body.is-ready .stub__logo {
  animation: none;
  opacity: 1;
  transform: translateY(0);
}

/* Кнопка: прихована, доки зорі не стали на місця */
.stub__cta {
  margin-top: 2.2rem;
  display: inline-block;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--pink);
  text-decoration: none;
  padding: .78em 1.7em;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .9, .3, 1.2),
              background .18s ease, box-shadow .18s ease;
}

body.is-ready .stub__cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.is-ready .stub__cta:hover {
  background: var(--pink-soft);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--shadow);
}

body.is-ready .stub__cta:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 var(--shadow);
}

.stub__cta:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .stub__logo { animation: none; opacity: 1; transform: none; transition: none; }
  .stub__cta { transition: none; }
}
