* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #070009;
  color: #f0e6ff;
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── SCANLINE OVERLAY ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.12) 2px,
      rgba(0,0,0,0.12) 4px
    );
  mix-blend-mode: multiply;
}

/* ── AMBIENT GLOW ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(255,0,180,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 80% 80%, rgba(0,220,255,0.06) 0%, transparent 70%);
}

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,0,9,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ff00cc44;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo a {
  color: inherit;
  text-decoration: none;
  border: none;
  padding: 0;
  background: none;
  letter-spacing: inherit;
  font-size: inherit;
  text-shadow: inherit;
}

.nav-logo a:hover {
  background: none;
  border: none;
  color: inherit;
  text-shadow: inherit;
}

.nav-logo {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  color: #ff00cc;
  text-shadow: 0 0 8px #ff00cc, 0 0 20px #ff00ccaa;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(0.65rem, 2.5vw, 0.78rem);
  color: #00eeff;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border: 1px solid #00eeff33;
  border-radius: 3px;
  letter-spacing: 1px;
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  background: #00eeff22;
  border-color: #00eeff;
  color: #fff;
  text-shadow: 0 0 6px #00eeff;
}

/* ── MAIN WRAPPER ── */
.site-wrap {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2rem);
}

/* ── SITE HEADER ── */
.site-header {
  text-align: center;
  padding: 2.5rem 0 2rem;
  position: relative;
}

.site-title {
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #ff00cc;
  text-shadow:
    0 0 4px #ff00cc,
    0 0 12px #ff00cc,
    0 0 30px #ff00ccbb,
    0 0 60px #ff00cc44;
  animation: pulseTitle 3s ease-in-out infinite, jitter 6s steps(1) infinite;
  line-height: 1.1;
}

.site-tagline {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(0.65rem, 2.8vw, 0.82rem);
  color: #00eeff99;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 0.6rem;
}

/* ── SECTION LABEL ── */
.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ff00cc88;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #ff00cc33, transparent);
}

.terminal-line::after {
  content: "_";
  color: #5ecfff;
  animation: blink 1s step-end infinite;
}

/* ── BLOG POST CARD ── */
.post {
  position: relative;
  background: rgba(255,0,204,0.04);
  border: 1px solid #ff00cc22;
  border-left: 3px solid #ff00cc;
  border-radius: 0 8px 8px 0;
  padding: clamp(1rem, 4vw, 1.5rem);
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
  overflow: hidden;
}

.post::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, #ff00cc66, #00eeff33, transparent);
}

.post:hover {
  background: rgba(255,0,204,0.08);
  border-left-color: #ff44dd;
  box-shadow: -4px 0 16px #ff00cc33, inset 0 0 30px rgba(255,0,204,0.03);
  transform: translateX(2px);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.post-date {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  color: #aa77cc;
  letter-spacing: 1px;
}

.post-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  background: rgba(0,238,255,0.1);
  border: 1px solid #00eeff44;
  color: #00eeff;
}

.post h2 {
  font-family: 'Chakra Petch', sans-serif;
  font-size: clamp(1rem, 4vw, 1.3rem);
  font-weight: 700;
  color: #f0e6ff;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 1px #ff00cc44;
  font-style: normal;
}

.post p {
  font-size: clamp(0.88rem, 3vw, 0.95rem);
  color: #c9b8dd;
  line-height: 1.75;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: #ff00cc;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid #ff00cc44;
  transition: all 0.15s;
}

.read-more:hover {
  color: #ff44ee;
  border-bottom-color: #ff44ee;
  text-shadow: 0 0 8px #ff00cc;
  gap: 0.7rem;
}

.footer {
  margin-top: 4rem;
  font-size: 1rem;
  text-align: center;
  text-shadow: 0 0 1px #a95eff;
}


.footer a {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(0.65rem, 2.5vw, 0.78rem);
  color: #00eeff;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border: 1px solid #00eeff33;
  border-radius: 3px;
  letter-spacing: 1px;
  transition: all 0.15s;
  white-space: nowrap;
}

.footer a:hover, .footer a.active {
  background: #00eeff22;
  border-color: #00eeff;
  color: #fff;
  text-shadow: 0 0 6px #00eeff;
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes pulseGlow {
  0%, 100% {
    text-shadow: 0 0 3px #ff2bb3, 0 0 8px #a95eff;
  }
  50% {
    text-shadow: 0 0 6px #ff2bb3, 0 0 16px #ff2bb3, 0 0 4px #a95eff;
  }
}

@keyframes jitter {
  0%, 100% { transform: translate(0); }
  1% { transform: translate(-2px, 1px) skewX(2deg); }
  2% { transform: translate(2px, -1px) skewX(-2deg); }
  3% { transform: translate(0); }
}