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

body, html {
  width: 100%;
  height: 100%;
  background: #000 url('/images/bg.jpg') center/cover no-repeat;
  color: #00ff41;
  font-family: 'Courier New', Courier, monospace;
  overflow-x: hidden;
  line-height: 1.5;
}

.bg {
  backdrop-filter: grayscale() brightness(25%);
  min-height: 100vh;
  flex: 1;
}

a {
  color: #00ff41;
  text-decoration: none;
  transition: 0.2s all;
}

a:hover {
  color: #ff003c;
  text-shadow: 0 0 5px #ff003c, 0 0 10px #ff003c;
  animation: glitch 0.3s infinite;
}

.bg::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    rgba(0,255,65,0.05) 0px,
    rgba(0,255,65,0.05) 1px,
    transparent 1px,
    transparent 2px
  );
  z-index: 1000;
}

.site-header {
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 2px solid #00ff41;
  padding: 1rem 0;
}

.site-header h1 {
  font-size: 2.5rem;
  letter-spacing: 3px;
  text-shadow: 0 0 5px #00ff41;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

nav li a {
  position: relative;
}

nav li a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00ff41;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav li a:hover::after {
  transform: scaleX(1);
}

.hero {
  text-align: center;
  margin: 5rem 0 3rem 0;
  animation: flicker 1.5s infinite alternate;
}

.hero h2 {
  font-size: 3rem;
  text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41;
}

.hero p {
  font-size: 1.2rem;
  text-shadow: 0 0 5px #00ff41;
}

.content {
  background: rgba(0,0,0,0.7);
  padding: 2rem;
  margin: 2rem 0;
  border: 2px dashed #00ff41;
}

.content h3 {
  text-shadow: 0 0 5px #00ff41;
  margin-bottom: 1rem;
}

.site-footer {
  text-align: center;
  padding: 1rem 0;
  border-top: 2px solid #00ff41;
  text-shadow: 0 0 5px #00ff41;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

@keyframes glitch {
    0% {
        transform: translate(0);
        color: #00ff00;
    }
    20% {
        transform: translate(-2px, 2px);
        color: #00ff00;
    }
    40% {
        transform: translate(-2px, -2px);
        color: #00ff99;
    }
    60% {
        transform: translate(2px, 2px);
        color: #00ff33;
    }
    80% {
        transform: translate(2px, -2px);
        color: #00ff66;
    }
    100% {
        transform: translate(0);
        color: #00ff00;
    }
}

a, a:visited {
    color: #00ff00;
}

a:hover {
    color: #ff0000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

p::before {
  content: "> ";
  color: #00ff41;
  animation: blink 1s infinite;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .content {
    padding: 1rem;
    margin: 1rem 0;
  }

  .site-header h1 {
    font-size: 2rem;
  }

  .container {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  nav ul {
    gap: 0.8rem;
  }

  .site-header h1 {
    font-size: 1.5rem;
  }
}