:root {
  --bg-color: #0a0a0a; /* Deep near-black */
  --title-color: #39ff14; /* Toxic neon green */
  --text-color: #e5e7eb; /* Clinical White */
  --link-hover: #ffffff;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Courier New", Courier, monospace; /* Matches lambchop.net aesthetic */
  margin: 0;
  padding: 0;
  line-height: 1.8;
  letter-spacing: 0.01rem;
}

header {
  padding: 4rem 2rem;
  text-align: center;
}

h1 {
  color: var(--title-color);
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  font-size: 2.5rem;
  margin: 0;
  text-shadow: 0 0 5px var(--title-color), 0 0 10px var(--title-color);
  animation: flicker 8s infinite; /* Increased duration to allow for long "off" period */
}

@keyframes flicker {
  /* Rapid flickering at the start (0% to 30% of the 8s) */
  0%, 2%, 4%, 5.999%, 7.001%, 9%, 12%, 25%, 29.999% {
    text-shadow: 
      0 0 4px var(--title-color),
      0 0 11px var(--title-color),
      0 0 19px var(--title-color);
    color: var(--title-color);
    opacity: 1;
  }
  1%, 3%, 5%, 6.5%, 10%, 27% {
    text-shadow: none;
    color: #555; /* Brightened from #333 */
    opacity: 0.4;
  }
  
  /* Long "OFF" state (30% to 70% of the 8s = ~3.2 seconds) */
  30%, 70% {
    text-shadow: none;
    color: #444; /* Brightened from #222 for better visibility */
    opacity: 0.3;
  }

  /* Rapid restart flickering (70% to 100%) */
  70.001%, 72%, 75%, 77%, 79.999%, 83%, 100% {
    text-shadow: 
      0 0 4px var(--title-color),
      0 0 11px var(--title-color),
      0 0 19px var(--title-color);
    color: var(--title-color);
    opacity: 1;
  }
  71%, 74%, 76%, 78%, 81% {
    text-shadow: none;
    color: #555; /* Brightened from #333 */
    opacity: 0.4;
  }
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 1.5rem;
}

a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.2rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

a:hover {
  color: var(--title-color);
  border-bottom-color: var(--title-color);
}

/* Post Styles */
.post-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.post-header {
  margin-bottom: 4rem;
  text-align: center;
}

.post-content img {
  width: 100%;
  height: auto;
  display: block;
  margin: 3rem 0;
  filter: grayscale(20%) contrast(110%);
}

.post-content p {
  margin: 2rem 0;
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }
}
