@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
  --color-bg: #112211;
  --color-text: #7cfc00;
  --color-dim: #3a7a3a;
  --color-glow: rgba(124, 252, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'VT323', monospace;
  font-size: 22px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* CRT Scanlines Overlay */
body::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
              linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 999;
  background-size: 100% 3px, 3px 100%;
  pointer-events: none;
}

/* CRT Flicker Animation */
@keyframes flicker {
  0% { opacity: 0.95; }
  5% { opacity: 0.85; }
  10% { opacity: 0.95; }
  15% { opacity: 1; }
  100% { opacity: 1; }
}

.crt-container {
  animation: flicker 0.15s infinite;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Typography and Glow */
h1, h2, h3 {
  text-transform: uppercase;
  text-shadow: 0 0 10px var(--color-glow);
  letter-spacing: 2px;
}

h1 { font-size: 3.5rem; margin-bottom: 0.5rem; }
h2 { font-size: 2.5rem; margin-top: 2rem; color: #a4fc4a; }

p {
  line-height: 1.5;
  text-shadow: 0 0 5px rgba(124, 252, 0, 0.3);
}

/* Links */
a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 2px solid var(--color-text);
  transition: all 0.2s ease;
  padding-bottom: 2px;
}

a:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
  text-shadow: none;
}

/* Logo */
.logo-container {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-container img {
  max-width: 300px;
  filter: drop-shadow(0 0 15px var(--color-glow));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Terminal Elements */
.prompt::before {
  content: "C:\\>_";
  display: block;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  opacity: 0.8;
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  margin-bottom: 1rem;
}

.post-list .date {
  color: var(--color-dim);
  margin-right: 1rem;
}

/* Header/Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px dashed var(--color-dim);
  padding-bottom: 1rem;
}

/* Highlight Paragraph */
.highlight-para {
  font-size: 1.2rem;
  color: #a4fc4a;
  text-shadow: 0 0 8px rgba(164, 252, 74, 0.6);
  margin-bottom: 2rem;
  border-left: 2px solid #a4fc4a;
  padding-left: 1rem;
}