:root {
  --bg: #050508;
  --pink: #ff2a6d;
  --cyan: #05d9e8;
  --yellow: #d1f7ff;
  --panel: rgba(8, 12, 24, 0.85);
}

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

body {
  font-family: "Share Tech Mono", monospace;
  background: var(--bg);
  color: var(--yellow);
  min-height: 100vh;
  background-image:
    linear-gradient(180deg, rgba(5, 217, 232, 0.05), transparent 40%),
    radial-gradient(ellipse at 80% 10%, rgba(255, 42, 109, 0.25), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(5, 217, 232, 0.15), transparent 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(5, 217, 232, 0.03) 2px,
      rgba(5, 217, 232, 0.03) 4px
    );
}

.rain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 8px,
    rgba(209, 247, 255, 0.04) 8px,
    rgba(209, 247, 255, 0.04) 9px
  );
  animation: rain 0.8s linear infinite;
  opacity: 0.6;
}

.nav,
.hero,
.ops {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(5, 217, 232, 0.35);
}

.nav a {
  color: var(--cyan);
  text-decoration: none;
  text-shadow: 0 0 10px var(--cyan);
}

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  max-width: 820px;
  animation: boot 0.8s steps(8) both;
}

.brand {
  font-family: "Russo One", sans-serif;
  font-size: clamp(4rem, 16vw, 9rem);
  line-height: 0.85;
  color: var(--pink);
  text-shadow:
    0 0 10px var(--pink),
    0 0 40px rgba(255, 42, 109, 0.6),
    4px 0 var(--cyan);
  margin-bottom: 1.25rem;
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
}

.glitch::before {
  color: var(--cyan);
  animation: glitch-a 2.5s infinite linear alternate-reverse;
  clip-path: inset(0 0 55% 0);
  text-shadow: -3px 0 var(--cyan);
}

.glitch::after {
  color: #fff;
  animation: glitch-b 2s infinite linear alternate-reverse;
  clip-path: inset(45% 0 0 0);
  text-shadow: 3px 0 var(--pink);
}

.hero h1 {
  font-family: "Russo One", sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.2;
  max-width: 16ch;
  margin-bottom: 0.9rem;
  color: #fff;
}

.sub {
  max-width: 38ch;
  line-height: 1.55;
  color: rgba(209, 247, 255, 0.75);
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  text-decoration: none;
  color: var(--bg);
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.95rem 1.3rem;
  background: var(--cyan);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: 0 0 24px rgba(5, 217, 232, 0.55);
  transition: transform 0.15s ease, background 0.15s ease;
}

.cta:hover {
  background: var(--pink);
  color: #fff;
  transform: translateX(4px);
}

.ops {
  padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem;
  max-width: 640px;
}

.panel {
  border: 1px solid var(--cyan);
  background: var(--panel);
  box-shadow:
    0 0 0 1px rgba(255, 42, 109, 0.35),
    0 0 30px rgba(5, 217, 232, 0.15);
  padding: 1.5rem;
  animation: boot 0.8s 0.2s steps(8) both;
}

.panel h2 {
  color: var(--pink);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px var(--pink);
}

.panel ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.panel li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(5, 217, 232, 0.3);
  font-size: 0.9rem;
}

.panel span {
  color: var(--cyan);
}

@keyframes rain {
  to { background-position: 0 18px; }
}

@keyframes boot {
  from { opacity: 0; filter: brightness(2); }
  to { opacity: 1; filter: brightness(1); }
}

@keyframes glitch-a {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 2px); }
  40% { transform: translate(3px, -1px); }
  60% { transform: translate(-2px, 0); }
  80% { transform: translate(2px, 2px); }
  100% { transform: translate(0); }
}

@keyframes glitch-b {
  0% { transform: translate(0); }
  20% { transform: translate(3px, -2px); }
  40% { transform: translate(-3px, 1px); }
  60% { transform: translate(2px, 0); }
  80% { transform: translate(-2px, -2px); }
  100% { transform: translate(0); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
