@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&family=Space+Mono:wght@400;700&display=swap');

/* ==================== CSS VARIABLES ==================== */
:root {
  --arcade-black: #0d0d0d;
  --arcade-dark: #1a1a2e;
  --neon-pink: #ff2a6d;
  --neon-cyan: #05d9e8;
  --neon-yellow: #f9f871;
  --neon-green: #39ff14;
  --text-light: #e0e0e0;
  --text-gray: #a0a0a0;
  --text-dark-gray: #606060;
}

/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Mono', monospace;
  background-color: var(--arcade-black);
  color: var(--text-light);
  line-height: 1.8;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--arcade-black);
}

::-webkit-scrollbar-thumb {
  background: var(--neon-pink);
}

::selection {
  background: var(--neon-pink);
  color: var(--arcade-black);
}

/* ==================== TYPOGRAPHY ==================== */
.font-pixel {
  font-family: 'Press Start 2P', cursive;
}

.font-terminal {
  font-family: 'VT323', monospace;
}

.text-neon-pink { color: var(--neon-pink); }
.text-neon-cyan { color: var(--neon-cyan); }
.text-neon-yellow { color: var(--neon-yellow); }
.text-neon-green { color: var(--neon-green); }

.neon-text-pink {
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink);
}

.neon-text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
}

/* ==================== LAYOUT ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==================== STARFIELD ==================== */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  border-radius: 0;
}

@keyframes starMove {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-100vw) translateY(50vh);
  }
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.2s ease;
  background: transparent;
}

.header.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--neon-cyan);
}

.header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-box {
  position: relative;
  width: 48px;
  height: 48px;
  background: var(--arcade-dark);
  border: 2px solid var(--neon-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.logo:hover .logo-box {
  border-color: var(--neon-cyan);
}

.logo-box span {
  font-family: 'Press Start 2P', cursive;
  color: var(--neon-pink);
  font-size: 1.125rem;
  transition: color 0.2s;
}

.logo:hover .logo-box span {
  color: var(--neon-cyan);
}

.logo-corner {
  position: absolute;
  width: 8px;
  height: 8px;
}

.logo-corner.tl { top: -4px; left: -4px; background: var(--neon-cyan); }
.logo-corner.tr { top: -4px; right: -4px; background: var(--neon-pink); }
.logo-corner.bl { bottom: -4px; left: -4px; background: var(--neon-pink); }
.logo-corner.br { bottom: -4px; right: -4px; background: var(--neon-cyan); }

.logo-text {
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: block;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
  }
}

.logo-text .name { color: var(--neon-cyan); }
.logo-text .cursor {
  color: var(--neon-pink);
  animation: blink 1s step-start infinite;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--neon-cyan);
  border: 1px solid transparent;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--neon-pink);
  border-color: var(--neon-pink);
}

.nav-link.github {
  margin-left: 1rem;
  background: var(--neon-pink);
  color: var(--arcade-black);
}

.nav-link.github:hover {
  background: var(--neon-cyan);
}

/* Mobile nav */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--neon-cyan);
  transition: all 0.2s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--arcade-dark);
  border-bottom: 2px solid var(--neon-cyan);
  padding: 1rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 1rem;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--neon-cyan);
  border-bottom: 1px solid rgba(5, 217, 232, 0.2);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--neon-pink);
}

/* ==================== BUTTONS ==================== */
.retro-btn {
  display: inline-block;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.75rem;
  padding: 1rem 2rem;
  background: var(--neon-pink);
  border: none;
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 0 #8b0037;
  transition: all 0.15s ease;
}

.retro-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #8b0037;
}

.outline-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.outline-btn:hover {
  background: var(--neon-cyan);
  color: var(--arcade-black);
}

/* ==================== CARDS ==================== */
.arcade-card {
  background: var(--arcade-dark);
  border: 2px solid var(--neon-cyan);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.arcade-card:hover {
  border-color: var(--neon-pink);
  transform: translateY(-4px);
}

/* ==================== ANIMATIONS ==================== */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-blink { animation: blink 1s step-start infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }

.slide-up {
  animation: slideUp 0.5s ease-out forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
}

.hero-grid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50vh;
  opacity: 0.3;
  background: linear-gradient(to bottom, transparent, rgba(5, 217, 232, 0.1));
  background-image: 
    linear-gradient(rgba(5, 217, 232, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 217, 232, 0.2) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: bottom;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--arcade-dark);
  border: 2px solid var(--neon-cyan);
  margin-bottom: 2rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.status-text {
  font-family: 'VT323', monospace;
  font-size: 1.25rem;
  color: var(--neon-green);
}

.hero h1 {
  margin-bottom: 2rem;
}

.hero-welcome {
  display: block;
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
  margin-bottom: 1rem;
}

.hero-title {
  display: block;
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink), 0 0 40px var(--neon-pink);
  animation: neonFlicker 3s infinite;
}

@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 
      0 0 10px var(--neon-pink),
      0 0 20px var(--neon-pink),
      0 0 40px var(--neon-pink),
      0 0 80px var(--neon-pink);
    opacity: 1;
  }
  20%, 24%, 55% {
    text-shadow: none;
    opacity: 0.8;
  }
}

.hero-tagline {
  font-family: 'VT323', monospace;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: #d0d0d0;
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 5rem 0;
}

.section-dots {
  display: flex;
  gap: 4px;
}

.section-dots span {
  width: 12px;
  height: 12px;
}

.section-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  text-transform: uppercase;
}

/* ==================== FOCUS AREAS ==================== */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .focus-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.focus-card {
  background: var(--arcade-dark);
  border: 2px solid var(--neon-cyan);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.focus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.focus-card:hover::before {
  transform: scaleX(1);
}

.focus-card:hover {
  border-color: var(--neon-pink);
  transform: translateY(-4px);
}

.focus-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: grayscale(0);
  transition: transform 0.3s ease;
}

.focus-card:hover .focus-icon {
  transform: scale(1.1);
}

.focus-card h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.focus-card:hover h3 {
  color: var(--neon-pink);
}

.focus-card p {
  font-family: 'VT323', monospace;
  font-size: 1.125rem;
  color: #a0a0a0;
  line-height: 1.5;
}

/* Section header with view all */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.view-all-link {
  margin-left: auto;
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-all-link:hover {
  color: var(--neon-pink);
}

/* Home posts grid */
.home-posts {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .home-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-posts {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==================== FEATURED POST ==================== */
.featured-card {
  position: relative;
  display: block;
  background: var(--arcade-dark);
  border: 2px solid var(--neon-cyan);
  padding: 2rem;
  transition: border-color 0.2s;
}

@media (min-width: 768px) {
  .featured-card {
    padding: 3rem;
  }
}

.featured-card:hover {
  border-color: var(--neon-pink);
}

.featured-corner {
  position: absolute;
  width: 24px;
  height: 24px;
}

.featured-corner.tl { top: 0; left: 0; border-top: 4px solid var(--neon-pink); border-left: 4px solid var(--neon-pink); }
.featured-corner.tr { top: 0; right: 0; border-top: 4px solid var(--neon-pink); border-right: 4px solid var(--neon-pink); }
.featured-corner.bl { bottom: 0; left: 0; border-bottom: 4px solid var(--neon-cyan); border-left: 4px solid var(--neon-cyan); }
.featured-corner.br { bottom: 0; right: 0; border-bottom: 4px solid var(--neon-cyan); border-right: 4px solid var(--neon-cyan); }

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 42, 109, 0.2);
  border: 1px solid var(--neon-pink);
  margin-bottom: 1.5rem;
}

.category-badge span:first-child {
  width: 8px;
  height: 8px;
  background: var(--neon-pink);
}

.category-badge span:last-child {
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  color: var(--neon-pink);
  text-transform: uppercase;
}

.featured-card h2 {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(0.75rem, 2vw, 1rem);
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  transition: color 0.2s;
}

.featured-card:hover h2 {
  color: var(--neon-pink);
}

.featured-card p {
  font-family: 'VT323', monospace;
  font-size: 1.25rem;
  color: #d0d0d0;
  margin-bottom: 2rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: 'VT323', monospace;
  font-size: 1.125rem;
  color: #606060;
}

/* ==================== POST CARDS ==================== */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  display: block;
  background: var(--arcade-dark);
  border: 2px solid var(--neon-cyan);
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.post-card:hover {
  border-color: var(--neon-pink);
  transform: translateY(-4px);
}

.post-card-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.post-card-category span:first-child {
  width: 8px;
  height: 8px;
  background: var(--neon-pink);
}

.post-card-category span:last-child {
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  color: var(--neon-pink);
  text-transform: uppercase;
}

.post-card h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
  line-height: 1.8;
}

.post-card:hover h3 {
  color: var(--neon-pink);
}

.post-card p {
  font-family: 'VT323', monospace;
  font-size: 1.125rem;
  color: #a0a0a0;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  color: #606060;
}

.post-card-footer .reading-time {
  color: var(--neon-cyan);
}

/* ==================== FOOTER ==================== */
.footer {
  position: relative;
  margin-top: 8rem;
  border-top: 2px solid var(--neon-cyan);
  background: var(--arcade-dark);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-box {
  width: 40px;
  height: 40px;
  background: var(--arcade-black);
  border: 2px solid var(--neon-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-box span {
  font-family: 'Press Start 2P', cursive;
  color: var(--neon-pink);
  font-size: 0.875rem;
}

.footer-logo-text {
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--neon-cyan);
}

.footer-logo-text span {
  color: var(--neon-pink);
}

.footer-tagline {
  font-family: 'VT323', monospace;
  font-size: 1.25rem;
  color: #a0a0a0;
}

.footer-nav h4,
.footer-social h4 {
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--neon-pink);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav h4 span,
.footer-social h4 span {
  width: 12px;
  height: 12px;
  background: var(--neon-pink);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-family: 'VT323', monospace;
  font-size: 1.25rem;
  color: #a0a0a0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--neon-cyan);
}

.footer-nav a span {
  color: var(--neon-cyan);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 48px;
  height: 48px;
  background: var(--arcade-black);
  border: 2px solid var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--neon-cyan);
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(5, 217, 232, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-family: 'VT323', monospace;
  font-size: 1.125rem;
  color: #606060;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-status span:first-child {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
}

.footer-status p {
  color: var(--neon-green);
}

/* ==================== ABOUT PAGE ==================== */
.about-hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.terminal-window {
  background: var(--arcade-dark);
  border: 2px solid var(--neon-cyan);
  padding: 1rem;
  margin-bottom: 2rem;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(5, 217, 232, 0.3);
}

.terminal-dot {
  width: 12px;
  height: 12px;
}

.terminal-path {
  margin-left: 1rem;
  font-family: 'VT323', monospace;
  font-size: 0.875rem;
  color: #606060;
}

.terminal-content {
  font-family: 'VT323', monospace;
  font-size: 1.125rem;
  color: #a0a0a0;
}

.about-title {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.about-description {
  font-family: 'VT323', monospace;
  font-size: 1.25rem;
  color: #d0d0d0;
  margin-bottom: 2rem;
}

.about-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-avatar {
  position: relative;
  width: 288px;
  height: 288px;
  margin: 0 auto;
}

.avatar-border-outer {
  position: absolute;
  inset: 0;
  border: 4px solid var(--neon-cyan);
  animation: pulse 3s ease-in-out infinite;
}

.avatar-border-inner {
  position: absolute;
  inset: 1rem;
  border: 2px solid var(--neon-pink);
  animation: pulse 2s ease-in-out infinite;
}

.avatar-content {
  position: absolute;
  inset: 2rem;
  background: var(--arcade-dark);
  border: 2px solid var(--neon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-content span {
  font-family: 'Press Start 2P', cursive;
  font-size: 4rem;
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--neon-pink), 0 0 20px var(--neon-pink);
}

.avatar-corner {
  position: absolute;
  width: 16px;
  height: 16px;
}

.avatar-corner.tl { top: -8px; left: -8px; background: var(--neon-pink); }
.avatar-corner.tr { top: -8px; right: -8px; background: var(--neon-cyan); }
.avatar-corner.bl { bottom: -8px; left: -8px; background: var(--neon-cyan); }
.avatar-corner.br { bottom: -8px; right: -8px; background: var(--neon-pink); }

/* Skills */
.skills-section {
  padding: 5rem 0;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: #d0d0d0;
}

.skill-level {
  font-family: 'VT323', monospace;
  font-size: 1.125rem;
  color: var(--neon-cyan);
}

.skill-bar {
  height: 16px;
  background: var(--arcade-dark);
  border: 1px solid rgba(5, 217, 232, 0.3);
}

.skill-fill {
  height: 100%;
  background: var(--neon-cyan);
  transition: width 1s ease-out;
}

/* ==================== BLOG PAGE ==================== */
.blog-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.blog-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.blog-header span {
  width: 12px;
  height: 12px;
  animation: pulse 2s ease-in-out infinite;
}

.blog-header p {
  font-family: 'VT323', monospace;
  font-size: 1.125rem;
  color: #606060;
}

.blog-title {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
  text-transform: uppercase;
}

/* Search and Filter */
.blog-filters {
  padding: 2rem 0;
}

.filters-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .filters-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 384px;
}

.search-box::before {
  content: '>';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'VT323', monospace;
  font-size: 1.25rem;
  color: var(--neon-cyan);
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: var(--arcade-dark);
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: 'VT323', monospace;
  font-size: 1.125rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input::placeholder {
  color: #606060;
}

.search-input:focus {
  border-color: var(--neon-pink);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  text-transform: uppercase;
  background: var(--arcade-dark);
  border: 1px solid rgba(5, 217, 232, 0.5);
  color: var(--neon-cyan);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}

.filter-btn.active {
  background: var(--neon-pink);
  color: var(--arcade-black);
  border-color: var(--neon-pink);
}

/* No results */
.no-results {
  text-align: center;
  padding: 5rem 0;
}

.no-results-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--neon-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-results-icon span {
  font-family: 'Press Start 2P', cursive;
  font-size: 2.5rem;
  color: var(--neon-pink);
}

.no-results h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.875rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
}

/* ==================== BLOG POST PAGE ==================== */
.post-hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'VT323', monospace;
  font-size: 1.125rem;
  color: #606060;
  margin-bottom: 3rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--neon-cyan);
}

.back-link span {
  transition: transform 0.2s;
}

.back-link:hover span {
  transform: translateX(-4px);
}

.post-header {
  margin-bottom: 3rem;
}

.post-title {
  font-family: 'Press Start 2P', cursive;
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
  margin-bottom: 2rem;
  text-transform: uppercase;
  line-height: 2;
}

.post-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--arcade-dark);
  border: 2px solid rgba(5, 217, 232, 0.5);
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--arcade-black);
  border: 2px solid var(--neon-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar span {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.75rem;
  color: var(--neon-pink);
}

.author-info p:first-child {
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  color: var(--neon-cyan);
}

.author-info p:last-child {
  font-family: 'VT323', monospace;
  font-size: 1.125rem;
  color: #d0d0d0;
}

.post-divider {
  width: 2px;
  height: 32px;
  background: rgba(5, 217, 232, 0.3);
  display: none;
}

@media (min-width: 640px) {
  .post-divider {
    display: block;
  }
}

.post-date,
.post-reading-time {
  display: flex;
  flex-direction: column;
}

.post-date p:first-child,
.post-reading-time p:first-child {
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  color: var(--neon-cyan);
}

.post-date p:last-child,
.post-reading-time p:last-child {
  font-family: 'VT323', monospace;
  font-size: 1.125rem;
  color: #d0d0d0;
}

/* ==================== PROSE CONTENT ==================== */
.prose {
  color: #d0d0d0;
  font-family: 'Space Mono', monospace;
  line-height: 2;
}

.prose h1,
.prose h2,
.prose h3 {
  font-family: 'Press Start 2P', cursive;
  color: var(--neon-cyan);
  margin-top: 2em;
  margin-bottom: 1em;
  text-transform: uppercase;
  font-size: 0.9em;
  line-height: 2;
}

.prose h1 {
  font-size: 1.1em;
  color: var(--neon-pink);
}

.prose h2 {
  font-size: 0.95em;
  border-bottom: 2px solid var(--neon-cyan);
  padding-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1.5em;
  line-height: 2;
}

.prose a {
  color: var(--neon-pink);
  text-decoration: none;
  border-bottom: 1px dashed var(--neon-pink);
}

.prose a:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

.prose code {
  font-family: 'VT323', monospace;
  background: rgba(5, 217, 232, 0.1);
  padding: 0.2em 0.5em;
  border: 1px solid var(--neon-cyan);
  font-size: 1.2em;
  color: var(--neon-cyan);
}

.prose pre {
  background: var(--arcade-dark);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  border: 2px solid var(--neon-cyan);
  white-space: pre;
  word-wrap: normal;
}

.prose pre::-webkit-scrollbar {
  height: 8px;
}

.prose pre::-webkit-scrollbar-track {
  background: var(--arcade-black);
}

.prose pre::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 4px;
}

.prose pre code {
  background: transparent;
  padding: 0;
  border: none;
  color: #a8d8b9;
  font-size: 1em;
  white-space: pre;
  display: block;
  line-height: 1.5;
}

/* Column Layouts */
.prose .columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.prose .columns-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.prose .column {
  padding: 0;
  background: var(--arcade-dark);
  border-radius: 6px;
  overflow: hidden;
}

.prose .column h3,
.prose .column h4 {
  margin: 0;
  padding: 0.35rem 0.75rem;
  background: #3d5a80;
  color: #e0e0e0;
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  font-weight: normal;
  text-transform: none;
  border-bottom: none;
}

.prose .column h3::before,
.prose .column h4::before {
  content: '» ';
}

.prose .column > *:not(h3):not(h4) {
  padding: 0 1rem;
}

.prose .column > *:last-child {
  padding-bottom: 1rem;
}

/* Remove border from pre inside columns */
.prose .column pre {
  border: none;
  margin: 0;
  border-radius: 0;
}

@media (max-width: 768px) {
  .prose .columns-2,
  .prose .columns-3 {
    grid-template-columns: 1fr;
  }
}

.prose img {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.prose blockquote {
  border-left: 4px solid var(--neon-pink);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #a0a0a0;
  background: rgba(255, 42, 109, 0.05);
}

.prose ul,
.prose ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.75rem;
}

.prose li::marker {
  color: var(--neon-pink);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.prose th,
.prose td {
  border: 1px solid var(--neon-cyan);
  padding: 0.75rem;
  text-align: left;
}

.prose th {
  background: var(--arcade-dark);
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--neon-cyan);
}

/* ==================== POST LAYOUT WITH TOC ==================== */
.post-layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.post-content {
  max-width: 1000px;
  width: 100%;
  min-width: 0;
}

/* TOC Sidebar */
.toc-sidebar {
  position: fixed;
  top: 100px;
  right: 2rem;
  width: 250px;
}

@media (max-width: 1599px) {
  .toc-sidebar {
    display: none;
  }
}

.toc {
  background: var(--arcade-dark);
  border: 1px solid var(--neon-cyan);
  border-radius: 8px;
  padding: 1.25rem;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--neon-cyan);
}

.toc-icon {
  font-size: 1rem;
}

.toc-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  color: var(--neon-cyan);
  letter-spacing: 1px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-item {
  margin-bottom: 0.5rem;
}

.toc-item.toc-sub {
  padding-left: 1rem;
}

.toc-link {
  display: block;
  font-family: 'VT323', monospace;
  font-size: 1rem;
  color: #a0a0a0;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}

.toc-link:hover {
  color: var(--neon-cyan);
  background: rgba(5, 217, 232, 0.1);
}

.toc-link.active {
  color: var(--neon-pink);
  border-left-color: var(--neon-pink);
  background: rgba(255, 42, 109, 0.1);
}

.toc-item.toc-sub .toc-link {
  font-size: 0.9rem;
  color: #707070;
}

.toc-item.toc-sub .toc-link:hover {
  color: var(--neon-cyan);
}

.toc-item.toc-sub .toc-link.active {
  color: var(--neon-pink);
}

/* TOC Scrollbar */
.toc::-webkit-scrollbar {
  width: 4px;
}

.toc::-webkit-scrollbar-track {
  background: transparent;
}

.toc::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 2px;
}

/* ==================== POST COVER IMAGE ==================== */
.post-cover {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
}

.post-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.post-cover:hover img {
  transform: scale(1.02);
}

/* ==================== UTILITIES ==================== */
.hidden {
  display: none !important;
}

