:root {
  --bg: #05060a;
  --ink: #e8f7ff;
  --muted: #7f9bb0;
  --cyan: #00f0ff;
  --magenta: #ff2bd6;
  --lime: #b8ff3c;
  --grid: rgba(0, 240, 255, 0.08);
  --font-display: "Orbitron", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-mono);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(0, 240, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(255, 43, 214, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 15% 70%, rgba(184, 255, 60, 0.06), transparent 45%),
    linear-gradient(180deg, #03040a 0%, #0a0d18 45%, #05060a 100%);
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise-shift 0.35s steps(2) infinite;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.18) 2px,
    rgba(0, 0, 0, 0.18) 4px
  );
  mix-blend-mode: multiply;
}

.grid {
  position: fixed;
  inset: -20% -10% 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(62deg) translateY(-8%);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 70%, transparent 100%);
  animation: grid-drift 18s linear infinite;
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 7;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.72) 100%);
}

.stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem 4.5rem;
  gap: 1.1rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 4.2vw, 2.75rem);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--cyan);
  text-shadow:
    0 0 18px rgba(0, 240, 255, 0.55),
    0 0 40px rgba(0, 240, 255, 0.25);
  position: relative;
  animation: brand-in 1.1s ease-out both;
}

.brand::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--magenta);
  opacity: 0;
  clip-path: inset(40% 0 30% 0);
  transform: translate(3px, -1px);
  animation: glitch 4.5s infinite linear alternate-reverse;
}

.headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 14vw, 8.5rem);
  letter-spacing: 0.12em;
  line-height: 0.95;
  color: var(--ink);
  text-shadow:
    0 0 24px rgba(255, 43, 214, 0.35),
    0 0 60px rgba(0, 240, 255, 0.2);
  position: relative;
  animation: headline-in 1.2s 0.15s ease-out both;
}

.headline::before,
.headline::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0.85;
}

.headline::before {
  color: var(--cyan);
  transform: translate(-3px, 1px);
  clip-path: inset(0 0 55% 0);
  animation: glitch-a 3.2s infinite steps(2);
}

.headline::after {
  color: var(--magenta);
  transform: translate(3px, -1px);
  clip-path: inset(50% 0 0 0);
  animation: glitch-b 2.6s infinite steps(2);
}

.tagline {
  max-width: 34rem;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  color: var(--muted);
  letter-spacing: 0.04em;
  line-height: 1.55;
  animation: fade-up 1s 0.35s ease-out both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 0.75rem;
  animation: fade-up 1s 0.5s ease-out both;
}

.btn {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-decoration: none;
  color: #031018;
  background: linear-gradient(120deg, var(--cyan), #7dfff6 40%, var(--lime));
  padding: 0.95rem 1.6rem;
  border: 1px solid rgba(0, 240, 255, 0.7);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08);
}

.btn:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 4px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--lime);
  text-shadow: 0 0 10px rgba(184, 255, 60, 0.4);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 1.4s ease-in-out infinite;
}

.ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 240, 255, 0.25);
  background: rgba(0, 8, 16, 0.72);
  backdrop-filter: blur(6px);
  padding: 0.65rem 0;
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
}

.ticker-track span::before {
  content: "//";
  margin-right: 0.75rem;
  color: var(--magenta);
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 0 60px; }
}

@keyframes noise-shift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-1%, 1%); }
}

@keyframes glitch {
  0%, 90%, 100% { opacity: 0; }
  91% { opacity: 0.8; transform: translate(-4px, 1px); }
  93% { opacity: 0.5; transform: translate(4px, -2px); }
  95% { opacity: 0.7; transform: translate(-2px, 2px); }
}

@keyframes glitch-a {
  0%, 92%, 100% { opacity: 0; }
  93% { opacity: 0.7; }
  94% { opacity: 0; }
  96% { opacity: 0.55; transform: translate(-5px, 0); }
}

@keyframes glitch-b {
  0%, 88%, 100% { opacity: 0; }
  89% { opacity: 0.65; }
  91% { opacity: 0; }
  97% { opacity: 0.5; transform: translate(4px, 1px); }
}

@keyframes brand-in {
  from { opacity: 0; letter-spacing: 0.5em; filter: blur(6px); }
  to { opacity: 1; letter-spacing: 0.28em; filter: blur(0); }
}

@keyframes headline-in {
  from { opacity: 0; transform: scale(1.08); filter: blur(8px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .brand {
    letter-spacing: 0.14em;
    text-indent: 0.14em;
  }

  .cta {
    flex-direction: column;
  }

  .ticker-track {
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
