/* ==========================================================================
   Root Variables & Global Design Tokens
   ========================================================================== */
:root {
  /* Color Palette - Cyber Dark & Vibrant Accents */
  --bg-dark: #080c14;
  --bg-darker: #04070d;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #7f00ff;
  --accent-pink: #ff007f;
  --accent-green: #10b981;

  --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #7f00ff 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0,242,254,0.15), rgba(127,0,255,0.15));
  --gradient-card-border: linear-gradient(135deg, rgba(0,242,254,0.4), rgba(255,255,255,0.05), rgba(127,0,255,0.4));

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-code: 'Fira Code', monospace;

  /* Layout & Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 242, 254, 0.25);
}

/* ==========================================================================
   Base & Reset Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.dark-theme {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Text Formatting Utilities */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

/* Glassmorphism Card Element */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  transform: translateY(-4px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), border-color var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-color);
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo {
  width: 40px;
  height: 40px;
  background: var(--gradient-glow);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: var(--shadow-glow);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pill-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.glitch-bunny-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 2rem 0;
  animation: float 3s ease-in-out infinite;
}


.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;

  .dot {
    color: var(--accent-cyan);
  }
}

.brand-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  font-weight: 600;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  position: relative;
  transition: var(--transition-fast);
}

.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-fast);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #04070d;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
}

.btn-glass {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-color);
  font-size: 1.2rem;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline {
  border-color: var(--border-color);
  background: transparent;
  color: var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--text-main);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-purple);
  bottom: -150px;
  right: -150px;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.typing-container {
  font-family: var(--font-code);
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.typed-text {
  color: var(--accent-cyan);
  font-weight: 600;
}

.cursor {
  display: inline-block;
  width: 8px;
  background-color: var(--accent-cyan);
  animation: blink 1s infinite;
}

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

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hero-tech-pills {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pill-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.tech-pill {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Hero Visual / Terminal Mockup Card */
.hero-visual {
  perspective: 1000px;
}

.visual-card-wrapper {
  transition: transform 0.2s ease-out;
}

.visual-card {
  border-radius: var(--radius-lg);
  padding: 0;
  background: rgba(10, 16, 28, 0.85);
}

.card-header-bar {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-color);
}

.window-dots {
  display: flex;
  gap: 0.4rem;
}

.window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots .red { background: #ff5f56; }
.window-dots .yellow { background: #ffbd2e; }
.window-dots .green { background: #27c93f; }

.window-title {
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-left: auto;
  margin-right: auto;
}

.card-code-body {
  padding: 1.5rem;
  font-family: var(--font-code);
  font-size: 0.85rem;
  line-height: 1.7;
}

.c-keyword { color: var(--accent-pink); }
.c-class { color: var(--accent-cyan); }
.c-prop { color: #38bdf8; }
.c-string { color: #a3e635; }
.c-comment { color: var(--text-dim); font-style: italic; }
.c-func { color: #facc15; }
.indent { padding-left: 1.5rem; }

.card-floating-badge {
  position: absolute;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  animation: float 4s ease-in-out infinite;
}

.badge-1 { top: -15px; right: -15px; }
.badge-2 { bottom: -15px; left: -15px; animation-delay: 2s; }

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

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */
.stats-section {
  padding: 2rem 0;
  margin-bottom: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-fast);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent-cyan);
}

.stat-icon {
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section Components & Cards
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.header-text {
  display: flex;
  flex-direction: column;
}

.link-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.link-with-icon:hover {
  gap: 0.75rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.skill-card {
  padding: 2rem;
}

.skill-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.skill-icon-wrapper.cyan { background: rgba(0, 242, 254, 0.1); color: var(--accent-cyan); }
.skill-icon-wrapper.purple { background: rgba(127, 0, 255, 0.1); color: var(--accent-purple); }
.skill-icon-wrapper.blue { background: rgba(79, 172, 254, 0.1); color: var(--accent-blue); }

.skill-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.skill-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}

.project-banner {
  background: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-color);
}

.project-preview-mockup {
  width: 100%;
  border-radius: var(--radius-md);
  background: #0d1117;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.mockup-header {
  padding: 0.5rem 0.75rem;
  background: #161b22;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-code);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30363d;
}

.mockup-content.screen-capture {
  padding: 1.25rem;
  background: #090d16;
  border-top: 1px solid var(--border-color);
}

.capture-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-family: var(--font-code);
  font-size: 0.75rem;
}

.capture-badge {
  background: rgba(234, 88, 12, 0.15);
  color: #f97316;
  border: 1px solid rgba(234, 88, 12, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.capture-url {
  color: var(--accent-cyan);
}

/* Projects Links Button Alignment */
.project-links {
  margin-top: auto;
}


.cmd-text {
  white-space: pre-wrap;
}

.project-info {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.featured-badge {
  background: rgba(255, 189, 46, 0.15);
  color: #ffbd2e;
  border: 1px solid rgba(255, 189, 46, 0.3);
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.badge-lang {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-title a:hover {
  color: var(--accent-cyan);
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

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

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
  border-left: 2px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: calc(-2rem - 6px);
  top: 1.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-date {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.timeline-content {
  padding: 1.75rem;
}

.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-content .company {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.timeline-content .desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}


/* Posts Section */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.post-date {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.post-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.post-title a:hover {
  color: var(--accent-cyan);
}

.post-summary {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.post-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

/* Contact Section */
.contact-card {
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(120px);
  opacity: 0.2;
  pointer-events: none;
}

.contact-content h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.contact-content p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Single Page & Article Styles
   ========================================================================== */
.page-content {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 6rem;
  min-height: 80vh;
}

.article-container {
  max-width: 860px;
}

.article-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
}

.article-body {
  padding: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Markdown Styling inside Body */
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
  color: var(--text-main);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.markdown-body h2 {
  font-size: 1.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.markdown-body p {
  margin-bottom: 1.25rem;
  color: #cbd5e1;
}

.markdown-body ul, .markdown-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.markdown-body li {
  margin-bottom: 0.4rem;
}

.markdown-body code {
  font-family: var(--font-code);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
  color: var(--accent-cyan);
}

.markdown-body pre {
  background: #0d1117;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.markdown-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.article-footer {
  margin-top: 3rem;
}

/* Error Page */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-badge {
  font-family: var(--font-code);
  color: var(--accent-pink);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.error-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.error-subtitle {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.glitch-bunny {
  font-size: 6rem;
  display: inline-block;
  margin: 2rem 0;
  animation: float 3s ease-in-out infinite;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: auto;
  overflow: hidden;
}

.footer-bg-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: var(--gradient-primary);
  filter: blur(150px);
  opacity: 0.15;
  pointer-events: none;
}

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

.footer-description {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 350px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  font-size: 1.2rem;

  a {
    color: var(--text-muted);
  }
  a:hover {
    color: var(--accent-cyan);
  }
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text-main);
}

.tech-tags-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-tech-pills {
    justify-content: center;
  }

  .typing-container {
    justify-content: center;
  }

  .project-card.featured {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .nav-list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(8, 12, 20, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }

  .nav-list.active {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
