/* ═══════════════════════════════════════════════════
   RETRO-FUTURE CSS  –  awshgreen.top
   Pixel fonts for ALL text elements
═══════════════════════════════════════════════════ */

/* ── Pixel / Retro fonts globally ── */
*, *::before, *::after {
  font-family: 'VT323', 'Share Tech Mono', 'DotGothic16', 'Courier New', monospace !important;
}

/* ── CSS variables ── */
:root {
  --neon-pink:   #ff00aa;
  --neon-green:  #00ff41;
  --neon-purple: #bf00ff;
  --neon-cyan:   #00eeff;
  --bg-deep:     #050010;
  --glow-pink:   0 0 8px #ff00aa99;
  --glow-green:  0 0 8px #00ff4199;
  --glow-purple: 0 0 8px #bf00ff99;
}

/* ── Force dark transparent base ── */
body {
  background: transparent !important;
  color: #e0c8ff !important;
  min-height: 100vh;
}

/* ── Transparent content layers ── */
.main, .post-content, .entry-content, #content,
.post-single, .post-list, .page-header {
  background: transparent !important;
}

/* ── Header & Footer ── */
.header, .footer {
  background: rgba(5, 0, 16, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(191, 0, 255, 0.25) !important;
}
.footer {
  border-bottom: none !important;
  border-top: 1px solid rgba(191, 0, 255, 0.18) !important;
}

/* ── Navigation links ── */
.nav a, .nav .logo a, #menu a, #menu span {
  color: #bf00ff !important;
  text-shadow: 0 0 6px #bf00ff88 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  transition: color 0.2s, text-shadow 0.2s !important;
}
.nav a:hover, #menu a:hover, #menu span:hover,
#menu span.active {
  color: #ff00aa !important;
  text-shadow: 0 0 10px #ff00aa !important;
}

/* ── Post / Blog cards ── */
.post-entry, .first-entry {
  background: rgba(12, 0, 28, 0.72) !important;
  border: 1px solid rgba(191, 0, 255, 0.28) !important;
  border-radius: 8px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 0 14px rgba(191, 0, 255, 0.15) !important;
  transition: all 0.3s ease !important;
}
.post-entry:hover, .first-entry:hover {
  box-shadow: 0 0 28px rgba(191, 0, 255, 0.45), 0 0 60px rgba(191, 0, 255, 0.12) !important;
  transform: translateY(-3px) !important;
  border-color: rgba(191, 0, 255, 0.6) !important;
}

/* ── Post title / headings ── */
h1, h2, h3, h4, h5, h6,
.post-title, .entry-hint-parent .entry-hint {
  color: #ff00aa !important;
  text-shadow: 0 0 10px #ff00aa66 !important;
  letter-spacing: 3px !important;
}
h2 { color: #bf00ff !important; text-shadow: 0 0 8px #bf00ff66 !important; }
h3 { color: #00ff41 !important; text-shadow: 0 0 6px #00ff4166 !important; }

/* ── Post content text ── */
.post-content p, .entry-content p, article p {
  color: #c8a8e8 !important;
  line-height: 1.9 !important;
  letter-spacing: 0.5px !important;
}

/* ── Links ── */
.post-content a, .entry-content a {
  color: #00eeff !important;
  text-shadow: 0 0 5px #00eeff66 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #00eeff44 !important;
  transition: all 0.2s !important;
}
.post-content a:hover, .entry-content a:hover {
  color: #ff00aa !important;
  text-shadow: 0 0 8px #ff00aa !important;
  border-bottom-color: #ff00aa !important;
}

/* ── Code blocks ── */
.post-content pre, .entry-content pre {
  background: #080018 !important;
  border: 1px solid rgba(119, 0, 255, 0.22) !important;
  border-radius: 6px !important;
  box-shadow: 0 0 12px rgba(100, 0, 255, 0.12) inset !important;
}
.post-content code, .entry-content code {
  background: rgba(50, 0, 100, 0.4) !important;
  color: #00ff41 !important;
  border: 1px solid rgba(0, 255, 65, 0.2) !important;
  border-radius: 3px !important;
  padding: 1px 5px !important;
}
pre code {
  background: transparent !important;
  border: none !important;
  color: #c8ffa0 !important;
}

/* ── Copy button ── */
.code-copy-btn {
  position: absolute !important;
  top: 8px !important;
  right: 10px !important;
  background: rgba(10, 0, 20, 0.85) !important;
  border: 1px solid #bf00ff55 !important;
  color: #bf00ff !important;
  font-family: 'VT323', monospace !important;
  font-size: 11px !important;
  letter-spacing: 1px !important;
  padding: 2px 8px !important;
  cursor: pointer !important;
  border-radius: 3px !important;
  transition: all 0.2s !important;
}
.code-copy-btn:hover {
  background: rgba(191, 0, 255, 0.2) !important;
  box-shadow: 0 0 8px #bf00ff44 !important;
}

/* ── Pagination ── */
.paginav {
  display: flex !important;
  gap: 14px !important;
  margin-top: 40px !important;
}
.paginav .prev, .paginav .next {
  flex: 1 !important;
  padding: 10px 16px !important;
  border: 2px solid #ff00aa !important;
  border-radius: 6px !important;
  background: rgba(5, 0, 16, 0.8) !important;
  color: #ff00aa !important;
  text-decoration: none !important;
  text-align: center !important;
  letter-spacing: 2px !important;
  transition: all 0.28s ease !important;
  box-shadow: 0 0 10px rgba(255, 0, 170, 0.25) !important;
}
.paginav .prev:hover, .paginav .next:hover {
  background: rgba(255, 0, 170, 0.18) !important;
  box-shadow: 0 0 22px rgba(255, 0, 170, 0.55) !important;
  transform: translateY(-2px) !important;
}

/* ── Tags / categories ── */
.post-tags a, .post-categories a {
  background: rgba(191, 0, 255, 0.12) !important;
  border: 1px solid #bf00ff44 !important;
  color: #bf00ff !important;
  border-radius: 3px !important;
  padding: 2px 8px !important;
  text-shadow: 0 0 5px #bf00ff66 !important;
  transition: all 0.2s !important;
}
.post-tags a:hover, .post-categories a:hover {
  background: rgba(191, 0, 255, 0.28) !important;
  box-shadow: 0 0 10px #bf00ff44 !important;
}

/* ── Reading time / meta ── */
.post-meta, .post-meta span, time {
  color: #7040a8 !important;
  letter-spacing: 1px !important;
}

/* ── HR dividers ── */
hr {
  border: none !important;
  border-top: 1px solid rgba(191, 0, 255, 0.25) !important;
  box-shadow: 0 0 6px rgba(191, 0, 255, 0.15) !important;
  margin: 28px 0 !important;
}

/* ── Blockquote ── */
blockquote {
  border-left: 3px solid #bf00ff !important;
  background: rgba(50, 0, 100, 0.2) !important;
  padding: 12px 18px !important;
  margin: 16px 0 !important;
  box-shadow: -2px 0 15px rgba(191, 0, 255, 0.2) !important;
}

/* ── Tables ── */
table {
  border-collapse: collapse !important;
  width: 100% !important;
}
th {
  background: rgba(191, 0, 255, 0.15) !important;
  color: #bf00ff !important;
  border: 1px solid #bf00ff33 !important;
  padding: 8px 14px !important;
  letter-spacing: 2px !important;
}
td {
  border: 1px solid #bf00ff1a !important;
  padding: 6px 14px !important;
  color: #c8a8e8 !important;
}
tr:hover td { background: rgba(191, 0, 255, 0.06) !important; }

/* ── Selection ── */
::selection {
  background: rgba(255, 0, 170, 0.35) !important;
  color: #fff !important;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #050010; }
::-webkit-scrollbar-thumb { background: #ff00aa; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #ff44cc; }

/* ── Back to top ── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  background: rgba(255, 0, 170, 0.15);
  border: 2px solid #ff00aa;
  border-radius: 50%;
  color: #ff00aa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 998;
  text-shadow: 0 0 6px #ff00aa;
  font-family: 'VT323', monospace !important;
  font-size: 18px;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
#back-to-top:hover {
  background: rgba(255, 0, 170, 0.35);
  box-shadow: 0 0 18px #ff00aa;
  transform: scale(1.1);
}

/* ── Header avatar (landing spot) ── */
#header-avatar {
  background-size: cover !important;
  background-position: center !important;
  cursor: pointer !important;
}
#header-avatar:hover {
  box-shadow: 0 0 18px #bf00ff, 0 0 35px #ff00aa44 !important;
  transform: scale(1.08) !important;
}

/* ── Theme toggle ── */
#theme-toggle svg { stroke: #bf00ff !important; }
#theme-toggle:hover svg { stroke: #ff00aa !important; filter: drop-shadow(0 0 5px #ff00aa) !important; }

/* ── Glitch overlays ── */
.glitch-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
}
.glitch-overlay.g1 {
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(255, 0, 170, 0.01) 2px,
    rgba(255, 0, 170, 0.01) 4px
  );
  animation: glitch1 8s infinite;
}
.glitch-overlay.g2 {
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(0, 255, 65, 0.008) 3px,
    rgba(0, 255, 65, 0.008) 6px
  );
  animation: glitch2 11s infinite;
}
@keyframes glitch1 {
  0%,95%,100% { opacity: 0; transform: none; }
  96% { opacity: 1; transform: translateX(1px); }
  97% { opacity: 0.5; transform: translateX(-2px); }
  98% { opacity: 1; transform: translateX(0); }
}
@keyframes glitch2 {
  0%,92%,100% { opacity: 0; transform: none; }
  93% { opacity: 0.8; transform: translateY(1px); }
  95% { opacity: 0.3; transform: translateY(-1px); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  #retro-panel { right: 8px; top: 8px; }
  .post-content pre, .entry-content pre { font-size: 11px !important; }
}
