body {
  margin: 0;
  background-color: #000;
  color: #00ff66;
  font-family: monospace;
  overflow: hidden;
}

/* Matrix canvas */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #000;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  padding: 0 20px;
}

/* ASCII banner */
.banner {
  white-space: pre;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #00ff66;
  text-shadow: 0 0 15px #00ff66;
  animation: flicker 2s infinite alternate;
}

/* Glitch animation */
.glitch {
  position: relative;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  color: #00ff66;
  clip: rect(0, 900px, 0, 0);
}
.glitch::before {
  animation: glitchTop 0.5s infinite linear alternate-reverse;
}
.glitch::after {
  animation: glitchBottom 1.0s infinite linear alternate-reverse;
}

@keyframes glitchTop {
  0% { clip: rect(0, 9999px, 0, 0); }
  20% { clip: rect(0, 9999px, 50px, 0); transform: translate(-5px, -2px); }
  40% { clip: rect(0, 9999px, 20px, 0); transform: translate(3px, 2px); }
  60% { clip: rect(0, 9999px, 70px, 0); transform: translate(-3px, 1px); }
  80% { clip: rect(0, 9999px, 30px, 0); transform: translate(2px, -1px); }
  100% { clip: rect(0, 9999px, 0, 0); }
}
@keyframes glitchBottom {
  0% { clip: rect(0, 9999px, 0, 0); }
  20% { clip: rect(80px, 9999px, 120px, 0); transform: translate(5px, 0); }
  40% { clip: rect(20px, 9999px, 100px, 0); transform: translate(-3px, 0); }
  60% { clip: rect(50px, 9999px, 80px, 0); transform: translate(3px, 1px); }
  80% { clip: rect(10px, 9999px, 90px, 0); transform: translate(-1px, -1px); }
  100% { clip: rect(0, 9999px, 0, 0); }
}

/* Intro text */
.intro {
  max-width: 750px;
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #8aff80;
  font-family: 'Share Tech Mono', monospace;
  font-weight: bold;
}

/* Blinking $ cursor */
.cursor {
  color: #00ff66;
  animation: blink 1s step-start infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Terminal links */
.links a {
  color: #00ff66;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}
.links a:hover {
  color: #ffffff;
}

/* Flicker effect for ASCII banner */
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.6;
  }
}

/* Site-footer */
.site-footer {
  text-align: center;
  color: #8aff80;
  margin: 2rem 0;
  font-size: 0.9rem;
  font-family: 'Share Tech Mono', monospace;
}