@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Montserrat:wght@300;400;500&display=swap');

:root {
  --bg: #050505;
  --bg-soft: #080808;
  --white: #f6f6f6;
  --muted: #8b8b8b;
  --line: rgba(255,255,255,.15);
  --line-strong: rgba(255,255,255,.25);
  --glow: rgba(255,255,255,.18);
}

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

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

body {
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  text-rendering: geometricPrecision;
}

::selection {
  background: rgba(255,255,255,.18);
  color: #fff;
}

a,
button {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  background: none;
}

.telegram-auth {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 5;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.telegram-auth-button {
  width: 46px;
  min-width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.026)),
    rgba(255,255,255,.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    0 14px 42px rgba(0,0,0,.34),
    0 0 34px rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.telegram-auth-button svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,.9);
  filter: drop-shadow(0 0 10px rgba(255,255,255,.3));
}

.telegram-auth-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.telegram-auth-button:hover,
.telegram-auth-button:focus-visible,
.telegram-auth.is-open .telegram-auth-button {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 16px 48px rgba(0,0,0,.4),
    0 0 44px rgba(255,255,255,.095);
  outline: none;
}

.telegram-auth-panel {
  width: 286px;
  min-height: 108px;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(18,18,18,.86), rgba(7,7,7,.92)),
    rgba(0,0,0,.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 24px 70px rgba(0,0,0,.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.telegram-auth-panel[hidden] {
  display: none;
}

.telegram-auth-status {
  max-width: 100%;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .5px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: center;
}

/* Fixed atmospheric layers. */
.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 52%, rgba(255,255,255,.055), transparent 25%),
    radial-gradient(circle at 50% 50%, var(--bg-soft), var(--bg) 58%, #000 100%);
  z-index: 0;
}

.noise,
.stars,
.aura,
.orbit,
.corner {
  position: absolute;
}

.noise {
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.22) .7px, transparent .7px),
    linear-gradient(115deg, rgba(255,255,255,.025), transparent 42%, rgba(255,255,255,.018));
  background-size: 3px 3px, 100% 100%;
  opacity: .035;
  mix-blend-mode: screen;
}

.stars {
  inset: -12%;
  opacity: .34;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.55) .7px, transparent .9px),
    radial-gradient(circle, rgba(255,255,255,.35) .6px, transparent .8px);
  background-position: 0 0, 42px 57px;
  background-size: 118px 118px, 173px 173px;
  animation: star-drift 36s linear infinite;
}

.aura {
  width: 720px;
  height: 720px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,.105), rgba(255,255,255,.035) 30%, transparent 66%);
  filter: blur(10px);
  opacity: .76;
  transform: translate(-50%, -50%);
  animation: aura-pulse 8s ease-in-out infinite;
}

.orbit {
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow:
    0 0 120px rgba(255,255,255,.025),
    inset 0 0 90px rgba(255,255,255,.018);
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: min(1500px, 112vw);
  height: min(1500px, 112vw);
}

.orbit-two {
  width: min(1760px, 132vw);
  height: min(1760px, 132vw);
  opacity: .36;
}

/* Small calibration marks in the corners. */
.corner {
  width: 22px;
  height: 22px;
  opacity: .62;
}

.corner::before,
.corner::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.68);
}

.corner::before {
  width: 22px;
  height: 1px;
  top: 10px;
}

.corner::after {
  width: 1px;
  height: 22px;
  left: 10px;
}

.corner-tl { top: 46px; left: 48px; }
.corner-tr { top: 46px; right: 48px; }
.corner-bl { bottom: 46px; left: 48px; }
.corner-br { bottom: 46px; right: 48px; }

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

.hero-inner {
  width: min(100%, 1080px);
  text-align: center;
}

.logo-mark {
  width: 168px;
  height: 168px;
  margin: 0 auto 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.12), rgba(255,255,255,.018) 56%, transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.004));
  box-shadow:
    0 0 34px rgba(255,255,255,.09),
    0 0 110px rgba(255,255,255,.07),
    inset 0 1px 0 rgba(255,255,255,.13),
    inset 0 -32px 70px rgba(255,255,255,.02);
  animation: logo-breathe 5.4s ease-in-out infinite;
}

.logo-mark img {
  width: 122px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 12px rgba(255,255,255,.64))
    drop-shadow(0 0 38px rgba(255,255,255,.24));
}

.logo-mark:hover {
  box-shadow:
    0 0 46px rgba(255,255,255,.14),
    0 0 150px rgba(255,255,255,.1),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -32px 70px rgba(255,255,255,.035);
}

h1 {
  margin-left: .42em;
  color: rgba(255,255,255,.96);
  font-size: clamp(48px, 4.2vw, 60px);
  font-weight: 300;
  letter-spacing: .42em;
  line-height: 1.12;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 0 10px rgba(255,255,255,.58),
    0 0 34px rgba(255,255,255,.18),
    0 0 88px rgba(255,255,255,.08);
}

.subtitle {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.subtitle span {
  width: 86px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.23), transparent);
}

.subtitle p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

.description {
  margin-top: 48px;
  color: #909090;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 2.2px;
  line-height: 1.75;
}

.actions {
  margin-top: 62px;
  display: flex;
  justify-content: center;
  gap: 48px;
}

.action-link {
  position: relative;
  width: 300px;
  height: 70px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  padding: 0 27px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.028) 52%, rgba(255,255,255,.012)),
    rgba(255,255,255,.018);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -20px 42px rgba(255,255,255,.024),
    0 18px 52px rgba(0,0,0,.38),
    0 0 36px rgba(255,255,255,.035);
  color: rgba(255,255,255,.94);
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    transform .28s ease,
    border-color .28s ease,
    background .28s ease,
    box-shadow .28s ease;
}

.action-link::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 52%;
  border-radius: 11px 11px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.14), transparent);
  opacity: .34;
}

.action-link::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -34%;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  opacity: 0;
  transform: skewX(-18deg);
  transition: opacity .28s ease, left .7s ease;
}

.action-primary {
  border-color: rgba(255,255,255,.32);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    inset 0 -20px 42px rgba(255,255,255,.028),
    0 20px 58px rgba(0,0,0,.42),
    0 0 48px rgba(255,255,255,.075);
}

.action-link span {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 4.6px;
  text-align: center;
}

.action-icon,
.arrow-icon {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  justify-self: center;
  fill: none;
  stroke: rgba(255,255,255,.82);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.3));
  transition:
    transform .28s ease,
    stroke .28s ease,
    filter .28s ease;
}

.action-link:first-child .action-icon {
  fill: rgba(255,255,255,.82);
  stroke: none;
}

.arrow-icon {
  width: 17px;
  height: 17px;
}

.action-link:hover,
.action-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.48);
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.044) 52%, rgba(255,255,255,.018)),
    rgba(255,255,255,.025);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -20px 46px rgba(255,255,255,.035),
    0 22px 62px rgba(0,0,0,.46),
    0 0 46px rgba(255,255,255,.11);
  outline: none;
}

.action-link:hover::after,
.action-link:focus-visible::after {
  left: 108%;
  opacity: 1;
}

.action-link:hover .arrow-icon,
.action-link:focus-visible .arrow-icon {
  transform: translate(3px, -3px);
  stroke: #fff;
  filter: drop-shadow(0 0 14px rgba(255,255,255,.62));
}

.action-link:hover .action-icon,
.action-link:focus-visible .action-icon {
  stroke: #fff;
  fill: #fff;
}

.divider {
  margin-top: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.divider span {
  width: 94px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.19), transparent);
}

.divider i {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(255,255,255,.7));
}

.divider i::before,
.divider i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.divider i::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.domains {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #8a8a8a;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 3.8px;
}

.domains a {
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: color .25s ease, text-shadow .25s ease;
}

.domains a::after {
  content: "";
  position: absolute;
  left: 0;
  right: .28em;
  bottom: -7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.46), transparent);
  opacity: 0;
  transform: scaleX(.55);
  transition: opacity .25s ease, transform .25s ease;
}

.domains a:hover,
.domains a:focus-visible {
  color: #f2f2f2;
  text-shadow: 0 0 18px rgba(255,255,255,.22);
  outline: none;
}

.domains a:hover::after,
.domains a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.domains b {
  color: rgba(255,255,255,.35);
  font-weight: 300;
}

.scroll-cue {
  width: 34px;
  height: 34px;
  margin-top: 22px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  opacity: .62;
  transition: opacity .25s ease, transform .25s ease;
  animation: cue-float 2.8s ease-in-out infinite;
}

.scroll-cue svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(255,255,255,.78);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.34));
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  opacity: 1;
  transform: translateY(2px);
  outline: none;
}

/* Entrance timing. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(12px);
  animation: reveal .95s cubic-bezier(.2,.78,.22,1) forwards;
}

.reveal-logo {
  transform: translateY(-18px);
  animation-delay: .08s;
}

.reveal-title { animation-delay: .24s; }
.reveal-subtitle { animation-delay: .42s; }
.reveal-description { animation-delay: .58s; }
.reveal-actions { animation-delay: .76s; }
.reveal-divider { animation-delay: .92s; }
.reveal-domains { animation-delay: 1.04s; }
.reveal-cue { animation-delay: 1.16s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes star-drift {
  from {
    transform: translate3d(var(--star-x, 0px), var(--star-y, 0px), 0);
  }

  to {
    transform: translate3d(
      calc(var(--star-x, 0px) + 34px),
      calc(var(--star-y, 0px) - 28px),
      0
    );
  }
}

@keyframes aura-pulse {
  50% {
    opacity: .95;
    transform: translate(-50%, -50%) scale(1.045);
  }
}

@keyframes logo-breathe {
  50% {
    box-shadow:
      0 0 42px rgba(255,255,255,.12),
      0 0 132px rgba(255,255,255,.09),
      inset 0 1px 0 rgba(255,255,255,.16),
      inset 0 -32px 70px rgba(255,255,255,.03);
  }
}

@keyframes cue-float {
  50% {
    transform: translateY(5px);
  }
}

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

  .telegram-auth {
    top: 14px;
    right: 14px;
  }

  .telegram-auth-button {
    width: 46px;
  }

  .telegram-auth-panel {
    width: min(286px, calc(100vw - 28px));
  }

  .hero {
    padding: 30px 20px 22px;
  }

  .hero-inner {
    width: 100%;
  }

  .orbit-one {
    width: 760px;
    height: 760px;
    top: 47%;
  }

  .orbit-two {
    width: 920px;
    height: 920px;
    top: 47%;
  }

  .aura {
    width: 460px;
    height: 460px;
  }

  .corner {
    width: 16px;
    height: 16px;
  }

  .corner::before {
    width: 16px;
    top: 7px;
  }

  .corner::after {
    height: 16px;
    left: 7px;
  }

  .corner-tl { top: 26px; left: 28px; }
  .corner-tr { top: 26px; right: 28px; }
  .corner-bl { bottom: 26px; left: 28px; }
  .corner-br { bottom: 26px; right: 28px; }

  .logo-mark {
    width: 138px;
    height: 138px;
    margin-bottom: 28px;
  }

  .logo-mark img {
    width: 101px;
  }

  h1 {
    margin-left: .18em;
    font-size: clamp(28px, 8.2vw, 36px);
    letter-spacing: .18em;
    line-height: 1.34;
    white-space: normal;
  }

  .subtitle {
    margin-top: 24px;
    gap: 12px;
  }

  .subtitle span {
    width: 34px;
  }

  .subtitle p {
    font-size: 12px;
    letter-spacing: 4.8px;
  }

  .description {
    margin-top: 32px;
    font-size: 14px;
    letter-spacing: 1.15px;
    line-height: 1.72;
  }

  .description br {
    display: none;
  }

  .actions {
    margin-top: 38px;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .action-link {
    width: min(100%, 320px);
    height: 62px;
    padding: 0 22px;
    grid-template-columns: 26px 1fr 26px;
  }

  .action-link span {
    font-size: 13px;
    letter-spacing: 3.4px;
  }

  .action-icon {
    width: 18px;
    height: 18px;
  }

  .arrow-icon {
    width: 15px;
    height: 15px;
  }

  .divider {
    margin-top: 34px;
    gap: 18px;
  }

  .divider span {
    width: 58px;
  }

  .domains {
    margin-top: 26px;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    letter-spacing: 2.2px;
  }

  .domains b {
    display: none;
  }

  .scroll-cue {
    margin-top: 16px;
  }
}

@media (max-width: 380px), (max-height: 720px) and (max-width: 760px) {
  .hero {
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .logo-mark {
    width: 118px;
    height: 118px;
    margin-bottom: 18px;
  }

  .logo-mark img {
    width: 87px;
  }

  h1 {
    font-size: 27px;
  }

  .subtitle {
    margin-top: 16px;
  }

  .description {
    margin-top: 20px;
  }

  .actions {
    margin-top: 26px;
  }

  .divider {
    margin-top: 22px;
  }

  .domains {
    margin-top: 16px;
  }

  .scroll-cue {
    margin-top: 10px;
  }
}

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