:root {
  color-scheme: dark;
  --bg: #030305;
  --text: #f2f4f7;
  --muted: #858995;
  --cyan: #5cf2ff;
  --violet: #9a6cff;
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 43%, rgba(64, 38, 132, 0.12), transparent 30rem),
    var(--bg);
  font-family: "Space Grotesk", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  content: "";
  background: linear-gradient(rgba(255, 255, 255, 0.012) 50%, transparent 50%);
  background-size: 100% 4px;
  mix-blend-mode: screen;
  opacity: 0.25;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100vh;
  padding: clamp(1.75rem, 4vw, 3.75rem) clamp(1.5rem, 7vw, 7rem)
    clamp(1.5rem, 4vw, 3.25rem);
  isolation: isolate;
}

.grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 78%);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: min(42vw, 40rem);
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.15;
}

.ambient-one {
  top: 10%;
  left: 5%;
  background: var(--cyan);
}

.ambient-two {
  right: 0;
  bottom: -10%;
  background: var(--violet);
}

.status,
.footer,
.eyebrow,
.link-label {
  font-family: "DM Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #888e9d;
  font-size: 0.62rem;
}

.status-dot {
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0.5rem var(--cyan), 0 0 1.2rem rgba(92, 242, 255, 0.8);
  animation: pulse 2.5s ease-in-out infinite;
}

.hero-content {
  position: relative;
  align-self: center;
  width: min(100%, 51rem);
  margin-top: -2rem;
  text-align: center;
}

.hero-content::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 15rem;
  height: 15rem;
  content: "";
  background: rgba(107, 59, 255, 0.15);
  border-radius: 50%;
  filter: blur(75px);
  transform: translate(-50%, -50%);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--cyan);
  font-size: clamp(0.57rem, 1vw, 0.69rem);
  opacity: 0.82;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(4.4rem, 15vw, 10.5rem);
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.86;
  text-shadow:
    0 0 0.1rem rgba(255, 255, 255, 0.9),
    0 0 1.3rem rgba(105, 217, 255, 0.38),
    0 0 3.8rem rgba(121, 77, 255, 0.24);
}

.cursor {
  display: inline-block;
  margin-left: 0.08em;
  color: var(--cyan);
  font-size: 0.56em;
  vertical-align: 0.08em;
  text-shadow: 0 0 1rem var(--cyan);
  animation: blink 1.05s steps(1) infinite;
}

.tagline {
  margin: 1.8rem 0 0;
  color: #b4b7c0;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.31em;
  line-height: 1.2;
  text-transform: lowercase;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: min(100%, 20rem);
  margin: 2.7rem auto 1.4rem;
}

.divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}

.divider span:last-child {
  background: linear-gradient(90deg, var(--line), transparent);
}

.divider i {
  display: block;
  width: 0.35rem;
  height: 0.35rem;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 0.7rem var(--cyan);
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: min(100%, 20rem);
  padding: 0.85rem 1.15rem 0.85rem 0.85rem;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(92, 242, 255, 0.28);
  border-radius: 0.55rem;
  background: linear-gradient(
    120deg,
    rgba(92, 242, 255, 0.08),
    rgba(154, 108, 255, 0.08)
  );
  box-shadow:
    inset 0 0 1.5rem rgba(92, 242, 255, 0.04),
    0 0 1.5rem rgba(92, 242, 255, 0.06);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.telegram-link:hover,
.telegram-link:focus-visible {
  border-color: rgba(92, 242, 255, 0.9);
  background: linear-gradient(
    120deg,
    rgba(92, 242, 255, 0.16),
    rgba(154, 108, 255, 0.15)
  );
  box-shadow:
    inset 0 0 1.5rem rgba(92, 242, 255, 0.08),
    0 0 1.4rem rgba(92, 242, 255, 0.2),
    0 0 3.5rem rgba(154, 108, 255, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.telegram-icon {
  display: grid;
  flex: 0 0 2.65rem;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(92, 242, 255, 0.35);
  border-radius: 0.4rem;
  background: rgba(92, 242, 255, 0.1);
  color: var(--cyan);
  box-shadow: 0 0 1rem rgba(92, 242, 255, 0.16);
}

.telegram-icon svg {
  width: 1.2rem;
  fill: currentColor;
}

.link-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.2rem;
}

.link-label {
  color: #828895;
  font-size: 0.56rem;
}

.link-copy strong {
  color: #f5fdff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.arrow {
  color: var(--cyan);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.telegram-link:hover .arrow,
.telegram-link:focus-visible .arrow {
  transform: translate(2px, -2px);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #555965;
  font-size: 0.54rem;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 1.5rem;
  }

  .hero-content {
    margin-top: -1.5rem;
  }

  .tagline {
    letter-spacing: 0.2em;
  }

  .footer {
    font-size: 0.48rem;
  }
}

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