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

/* Base Layout */
body {
  background-color: #0b0b0b;
  color: #e0e0e0;
  font-family: "Courier New", monospace;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
}

/* Header */
.header {
  text-align: center;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.header h1 {
  font-size: 1.6em;
  letter-spacing: 2px;
  text-shadow: 0 0 6px #39b3b3;
}

.header a {
  color: #88ccff;
  text-decoration: none;
  font-size: 0.9em;
}

.header a:hover {
  text-decoration: underline;
}

/* Posts */
.post {
  margin-bottom: 34px;
  border-left: 3px solid #555;
  padding-left: 12px;
}

.date {
  color: #999;
  font-size: 0.8em;
  margin-bottom: 6px;
}

.content {
  font-size: 1em;
  word-wrap: break-word;
}

/* Inline links */
.content a {
  color: #8af;
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
}

/* Mobile Mode — feels like a CRT trying to read you poetry */
@media (max-width: 600px) {
  body {
    background-color: #022424;
    color: #d8f8f8;
    font-size: 1.05em;
    padding: 20px;
  }

  .header {
    border-color: #066;
  }

  .header h1 {
    font-size: 1.4em;
    text-shadow: 0 0 10px #33cccc, 0 0 3px #006666;
  }

  .header a {
    color: #33cccc;
  }

  .post {
    border-left: 3px solid #099;
    margin-bottom: 28px;
    padding-left: 14px;
  }

  .date {
    color: #66cccc;
  }

  .content {
    font-size: 1.05em;
  }

  .content a {
    color: #66ffff;
  }

  .content a:hover {
    text-decoration: underline;
  }
}
/* CRT Scanline Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    rgba(0,0,0,0.03) 2px
  );
  mix-blend-mode: overlay;
  opacity: 0.25;
  z-index: 999;
}

/* Subtle flicker animation (barely perceptible, just nostalgic enough) */
@keyframes flicker {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.3; }
}
body::before {
  animation: flicker 4s infinite ease-in-out;
}

/* Optional: mild glow on text for old-monitor vibe */
body {
  text-shadow: 0 0 2px #0ff, 0 0 6px #0aa;
}
