:root {
  --bg: #05080d;
  --bg-2: #09131d;
  --text: #f2f7ff;
  --muted: #95a6bd;
  --cyan: #76f6db;
  --blue: #5babff;
  --danger: #ff6868;
  --panel: rgba(8, 13, 21, 0.72);
  --line: rgba(118, 246, 219, 0.16);
  --pointer-x: -999px;
  --pointer-y: -999px;
  --parallax-x: 0px;
  --parallax-y: 0px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle 14rem at var(--pointer-x) var(--pointer-y), rgba(255, 104, 104, 0.08), transparent 68%),
    radial-gradient(circle at 18% 16%, rgba(91, 171, 255, 0.34), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(255, 104, 104, 0.18), transparent 20%),
    radial-gradient(circle at 50% 78%, rgba(118, 246, 219, 0.16), transparent 24%),
    linear-gradient(140deg, #020407 0%, #08101a 32%, #04070b 68%, #000000 100%);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(0, 0, 0, 0.04), transparent 16rem),
    radial-gradient(circle at 50% 50%, transparent 0 32%, rgba(0, 0, 0, 0.28) 76%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
}

.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0%, rgba(255, 104, 104, 0.08) 52%, transparent 100%);
  background-size: 100% 4px, 4px 100%, 100% 100%;
  opacity: 0.16;
  pointer-events: none;
}

.noise {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 3px,
      rgba(255, 255, 255, 0.035) 3px,
      rgba(255, 255, 255, 0.035) 4px
    );
  mix-blend-mode: overlay;
  opacity: 0.18;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.4;
  pointer-events: none;
}

.glow-a {
  width: 34rem;
  height: 34rem;
  top: -10rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(91, 171, 255, 0.42), transparent 64%);
  transform: translate(var(--parallax-x), var(--parallax-y));
  animation: ambient-breathe-a 7.5s ease-in-out infinite;
}

.glow-b {
  width: 32rem;
  height: 32rem;
  right: -8rem;
  bottom: -10rem;
  background: radial-gradient(circle, rgba(255, 104, 104, 0.24), transparent 68%);
  transform: translate(calc(var(--parallax-x) * -0.7), calc(var(--parallax-y) * -0.7));
  animation: ambient-breathe-b 9s ease-in-out infinite;
}

.tech-fragments {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.tech-fragment {
  position: absolute;
  font-family: "Oxanium", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(118, 246, 219, 0.14);
  text-shadow: 0 0 14px rgba(118, 246, 219, 0.06);
  white-space: nowrap;
  opacity: 0.16;
  transition: opacity 420ms ease, text-shadow 420ms ease, filter 420ms ease;
}

.tech-fragment-a {
  top: 16%;
  left: 7%;
  transform: translate(calc(var(--parallax-x) * -0.35), calc(var(--parallax-y) * -0.35));
}

.tech-fragment-b {
  right: 8%;
  top: 24%;
  color: rgba(255, 104, 104, 0.13);
  transform: translate(calc(var(--parallax-x) * 0.28), calc(var(--parallax-y) * 0.28));
}

.tech-fragment-c {
  left: 10%;
  bottom: 18%;
  transform: translate(calc(var(--parallax-x) * -0.22), calc(var(--parallax-y) * 0.22));
}

.tech-console {
  left: var(--fragment-x, 12%);
  top: var(--fragment-y, 68%);
  color: rgba(118, 246, 219, 0.12);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: none;
  opacity: 0;
}

.tech-fragment.is-fragment-live {
  opacity: 0.38;
  text-shadow: 0 0 16px rgba(118, 246, 219, 0.16);
  filter: blur(0.15px);
}

.tech-fragment.tech-fragment-b.is-fragment-live {
  opacity: 0.3;
  text-shadow: 0 0 16px rgba(255, 104, 104, 0.12);
}

.tech-console.is-fragment-live {
  opacity: 0.3;
  text-shadow: 0 0 14px rgba(118, 246, 219, 0.12);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  width: min(100% - 2rem, 960px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  padding: 4rem 0;
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-title {
  margin: 0;
  position: relative;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(4rem, 16vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-shadow:
    0 0 26px rgba(91, 171, 255, 0.2),
    0 0 56px rgba(118, 246, 219, 0.08);
}

.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.hero-title::before {
  color: rgba(255, 104, 104, 0.85);
  transform: translate(0, 0);
}

.hero-title::after {
  color: rgba(118, 246, 219, 0.9);
  transform: translate(0, 0);
}

.hero-title.is-glitching::before {
  opacity: 0.75;
  animation: title-glitch-a 360ms steps(2, end);
}

.hero-title.is-glitching::after {
  opacity: 0.75;
  animation: title-glitch-b 360ms steps(2, end);
}

.description {
  max-width: 37rem;
  margin: 0;
  color: #eef6ff;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow:
    0 0 18px rgba(255, 104, 104, 0.16),
    0 0 34px rgba(91, 171, 255, 0.14);
}

.warning-frame {
  position: relative;
  max-width: 42rem;
  padding: 0;
  background: transparent;
}

.confirm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.6rem;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(118, 246, 219, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(118, 246, 219, 0.16), rgba(91, 171, 255, 0.18)),
    rgba(8, 13, 21, 0.84);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: "Oxanium", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  appearance: none;
  -webkit-appearance: none;
  border-width: 1px;
  border-style: solid;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.confirm-button[hidden] {
  display: none;
}

.confirm-button:hover,
.confirm-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(118, 246, 219, 0.62);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(118, 246, 219, 0.16);
}

.confirm-button__icon {
  font-size: 1.1rem;
}

.powered-by {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.3rem 0.2rem;
  color: #d5e5f8;
  text-decoration: none;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.corner-mark {
  position: absolute;
  left: 1.5rem;
  bottom: 1.2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.78;
  pointer-events: none;
}

.corner-mark img {
  width: 2.7rem;
  height: 2.7rem;
  display: block;
}

.powered-by img {
  width: 2rem;
  height: 2rem;
  display: block;
  border-radius: 999px;
}

.powered-by strong {
  color: var(--text);
  font-weight: 500;
}

.powered-by:hover,
.powered-by:focus-visible {
  opacity: 0.88;
  transform: translateY(-1px);
}

.glitch-word {
  display: inline-block;
  transition: color 90ms linear, text-shadow 90ms linear, transform 90ms linear;
}

.glitch-word.is-word-glitch {
  color: #76f6db;
  text-shadow:
    -0.04em 0 rgba(255, 104, 104, 0.85),
    0.04em 0 rgba(118, 246, 219, 0.92),
    0 0 14px rgba(118, 246, 219, 0.2);
  transform: translateY(-0.01em);
}

.glitch-word.is-word-glitch.is-alert {
  color: #ffe36e;
  text-shadow:
    -0.04em 0 rgba(255, 104, 104, 0.92),
    0.04em 0 rgba(255, 227, 110, 0.9),
    0 0 16px rgba(255, 227, 110, 0.22);
}

.glitch-word.is-word-glitch.is-flip {
  transform: scaleX(-1) translateY(-0.01em);
}

.glitch-word.is-word-glitch.is-melt {
  letter-spacing: 0.08em;
  filter: blur(0.6px);
  opacity: 0.86;
  transform: skewX(-12deg) translateY(-0.01em);
}

@keyframes ambient-breathe-a {
  0%, 100% {
    opacity: 0.34;
    filter: blur(28px);
  }
  50% {
    opacity: 0.48;
    filter: blur(34px);
  }
}

@keyframes ambient-breathe-b {
  0%, 100% {
    opacity: 0.28;
    filter: blur(26px);
  }
  50% {
    opacity: 0.44;
    filter: blur(32px);
  }
}

@keyframes title-glitch-a {
  0% {
    transform: translate(0, 0);
    clip-path: inset(0 0 0 0);
  }
  20% {
    transform: translate(-0.06em, -0.01em);
    clip-path: inset(10% 0 56% 0);
  }
  40% {
    transform: translate(0.04em, 0.02em);
    clip-path: inset(62% 0 8% 0);
  }
  60% {
    transform: translate(-0.03em, 0.01em);
    clip-path: inset(30% 0 26% 0);
  }
  100% {
    transform: translate(0, 0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes title-glitch-b {
  0% {
    transform: translate(0, 0);
    clip-path: inset(0 0 0 0);
  }
  18% {
    transform: translate(0.07em, 0.02em);
    clip-path: inset(54% 0 14% 0);
  }
  44% {
    transform: translate(-0.05em, -0.02em);
    clip-path: inset(12% 0 58% 0);
  }
  72% {
    transform: translate(0.03em, 0.01em);
    clip-path: inset(24% 0 32% 0);
  }
  100% {
    transform: translate(0, 0);
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 640px) {
  .hero {
    width: min(100% - 1.25rem, 960px);
    gap: 1.1rem;
  }

  .warning-frame {
    max-width: 100%;
  }

  .tech-fragment {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }

  .powered-by {
    right: 0.9rem;
    bottom: 0.9rem;
    padding: 0.8rem 0.95rem;
  }

  .corner-mark {
    left: 0.9rem;
    bottom: 0.8rem;
  }

  .corner-mark img {
    width: 2.35rem;
    height: 2.35rem;
  }
}
