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

html, body {
  min-height: 100%;
  background: #12141c;
  color: #f4f7fb;
  font-family: Poppins, system-ui, sans-serif;
}

.launch {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(252, 196, 24, 0.16), transparent 52%),
    #12141c;
}

.launch__float {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.launch__slot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  pointer-events: none;
}

.launch__item {
  display: block;
  width: 100%;
  height: auto;
  opacity: var(--opacity);
  filter:
    blur(var(--blur))
    drop-shadow(0 16px 18px rgba(0, 0, 0, 0.28));
  transform: rotate(var(--tilt)) scaleX(var(--flip));
  animation: launch-drift var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
  user-select: none;
}

.launch__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.launch__content::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(640px, 92vw);
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(18, 20, 28, 0.78) 0%, rgba(18, 20, 28, 0.35) 52%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}

.launch__logo {
  width: min(280px, 72vw);
  height: 54px;
}

.launch__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.launch h1 {
  margin: 22px 0 0;
  color: #f4f7fb;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.launch__lead {
  margin: 10px 0 0;
  max-width: 440px;
  color: #9aa3b5;
  font-size: 15px;
  font-weight: 500;
}

.launch__clock {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.launch__unit {
  width: 76px;
  padding: 16px 6px 14px;
  border-radius: 5px;
  background: #1f232f;
  border: 1px solid #3a4154;
}

.launch__value {
  display: block;
  height: 32px;
  color: #f4f7fb;
  font-size: 26px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 32px;
}

.launch__unit span {
  display: block;
  margin-top: 10px;
  color: #8b93a7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.launch__socials {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.launch__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  height: 36px;
  padding: 0 14px;
  border-radius: 5px;
  background: #1f232f;
  border: 1px solid #3a4154;
  color: #d7deea;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.launch__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.launch__social:hover {
  color: #fff;
  background: #262b38;
}

.launch__enter {
  margin-top: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 40px;
  padding: 0 18px;
  border-radius: 5px;
  background: linear-gradient(90deg, #f38823 0%, #ee931e 34%, #e5a316 68%, #e1b712 100%);
  color: #1a1c24;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.launch__enter.is-visible { display: inline-flex; }

@keyframes launch-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: var(--dx) var(--dy); }
}

@media (prefers-reduced-motion: reduce) {
  .launch__item { animation: none; }
}

@media (max-width: 700px) {
  .launch__float {
    mask-image: radial-gradient(ellipse 86% 34% at 50% 46%, transparent 46%, #000 80%);
  }
  .launch__item { scale: 0.55; }
  .launch h1 { font-size: 32px; }
  .launch__unit { width: 64px; padding: 14px 4px 12px; }
  .launch__value { height: 26px; font-size: 20px; line-height: 26px; }
}
