:root {
  color-scheme: dark;
  --bg: #000000;
  --fg: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.62);
  --line: rgba(255, 255, 255, 0.18);
  --glow: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
}

body {
  overflow: hidden;
  font-family: "Manrope", sans-serif;
  touch-action: manipulation;
}

#particle-network {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.06), transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03), transparent 58%),
    #000;
}

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

.floating-place {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  gap: 10px;
  width: min(420px, 34vw);
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 8, 0.52);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.985);
  transition:
    opacity 900ms ease,
    transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-place__index {
  display: none;
}

.floating-place__name {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}

.floating-place__meta {
  font-size: 16px;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.72);
}

.floating-place.is-visible {
  opacity: 0.68;
  transform: translate3d(0, 0, 0) scale(1);
}

.floating-place.is-forced-out {
  opacity: 0;
  transform: translate3d(0, -12px, 0) scale(0.985);
  transition:
    opacity 120ms linear,
    transform 140ms linear;
}

.floating-place.is-shimmer .floating-place__name,
.floating-place.is-shimmer .floating-place__meta {
  animation: text-shimmer 420ms cubic-bezier(0.22, 1, 0.36, 1) 1;
}

@keyframes text-shimmer {
  0% {
    opacity: 0.72;
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    filter: blur(0.35px);
  }

  38% {
    opacity: 0.96;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.08);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
    filter: blur(0);
  }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.36)),
    radial-gradient(circle at center, transparent 0 42%, rgba(0, 0, 0, 0.28) 100%);
}

.hero,
.footer {
  position: relative;
  z-index: 3;
}

.hero {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
}

.hero__content {
  width: min(100%, 760px);
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
  margin: 0 auto;
}

.hero__eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(42px, 8.8vw, 118px);
  line-height: 0.95;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 24px var(--glow);
}

.hero__subtitle {
  margin: 0;
  max-width: 440px;
  font-size: clamp(12px, 1.1vw, 15px);
  line-height: 1.6;
  color: rgba(245, 245, 245, 0.82);
  order: 4;
}

.footer {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0;
  order: 3;
}

.footer__label {
  font-family: "Oswald", sans-serif;
  font-size: clamp(20px, 3vw, 34px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.92);
}

@media (max-width: 720px) {
  .hero {
    padding: 18px 18px 24px;
  }

  .hero__content {
    width: min(100%, 340px);
    gap: 8px;
    margin: 0 auto;
    transform: translateX(clamp(-10px, -2vw, -16px));
  }

  .hero__eyebrow {
    font-size: 8px;
    letter-spacing: 0.24em;
    opacity: 0.78;
  }

  .hero__title {
    font-size: clamp(36px, 14vw, 64px);
    line-height: 0.98;
    letter-spacing: 0.01em;
    width: 100%;
    text-align: center;
    transform: none;
  }

  .hero__subtitle {
    max-width: 250px;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(245, 245, 245, 0.74);
  }

  .footer__label {
    font-size: 17px;
    letter-spacing: 0.22em;
    color: rgba(245, 245, 245, 0.84);
  }

  .floating-place {
    width: min(252px, calc(100vw - 28px));
    gap: 8px;
    padding: 12px 13px;
    background: rgba(8, 8, 8, 0.42);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.12);
  }

  .floating-place__name {
    font-size: 15px;
  }

  .floating-place__meta {
    font-size: 12px;
    line-height: 1.42;
    color: rgba(255, 255, 255, 0.62);
  }
}

@media (max-width: 420px) {
  .hero__content {
    transform: translateX(-8px);
  }
}

@media (max-width: 402px) {
  .hero__content {
    transform: translateX(-5px);
  }
}
