/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
body {
  font-family: 'Courier New', monospace;
  background-color: #000;
  color: #0f0;
  line-height: 1.6;
  text-align: center;
  padding: 20px;
  overflow-x: hidden;
}

/* Glitch effect */
.glitch {
  position: relative;
  color: #0f0;
  font-size: 48px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 40px 0;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  width: 100%;
  background: #000;
  clip: rect(0, 900px, 0, 0);
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #f00;
  animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 #00f;
  animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip: rect(44px, 9999px, 94px, 0); }
  20% { clip: rect(24px, 9999px, 74px, 0); }
  40% { clip: rect(54px, 9999px, 24px, 0); }
  60% { clip: rect(74px, 9999px, 14px, 0); }
  80% { clip: rect(64px, 9999px, 84px, 0); }
  100% { clip: rect(34px, 9999px, 54px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(24px, 9999px, 74px, 0); }
  20% { clip: rect(34px, 9999px, 84px, 0); }
  40% { clip: rect(14px, 9999px, 64px, 0); }
  60% { clip: rect(44px, 9999px, 94px, 0); }
  80% { clip: rect(54px, 9999px, 24px, 0); }
  100% { clip: rect(74px, 9999px, 14px, 0); }
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Text */
.text {
  margin: 30px 0;
  font-size: 18px;
  opacity: 0.8;
}

/* CTA Button */
.cta {
  display: inline-block;
  padding: 15px 30px;
  margin: 40px 0;
  background: transparent;
  color: #0f0;
  border: 2px solid #0f0;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(0, 255, 0, 0.1);
  transition: all 0.5s;
  z-index: -1;
}

.cta:hover::before {
  left: 100%;
}

.cta:hover {
  background: rgba(0, 255, 0, 0.1);
  box-shadow: 0 0 15px #0f0;
}

/* Terminal text effect */
.terminal-text {
  border-right: 2px solid #0f0;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  margin: 20px 0;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #0f0; }
}

/* Responsive */
@media (max-width: 768px) {
  .glitch {
    font-size: 36px;
  }
  
  .text, .terminal-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .glitch {
    font-size: 28px;
  }
  
  .text, .terminal-text {
    font-size: 14px;
  }
  
  .cta {
    padding: 12px 24px;
    font-size: 16px;
  }
}