/* ============================================================
   Eric Nguyen — Custom Portfolio & Blog
   Dark theme · Neon accents · Glassmorphism · Particles
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --bg: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(155, 109, 255, 0.3);
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.7);
  --text-bright: #ffffff;
  --accent: #9b6dff;
  --accent-glow: rgba(155, 109, 255, 0.15);
  --blue-glow: rgba(74, 144, 226, 0.15);
  --gradient: linear-gradient(135deg, #9b6dff 0%, #4a90e2 100%);
  --gradient-hover: linear-gradient(135deg, #b088ff 0%, #5ea0f0 100%);
  --purple: #9b6dff;
  --blue: #4a90e2;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-w: 1100px;
  --section-gap: 8rem;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: all 0.25s ease; }
a:hover { color: var(--text-bright); }

::selection { background: rgba(155, 109, 255, 0.2); color: var(--text-bright); }

/* --- Particle Canvas --- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* --- Glow Orbs --- */
.glow-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: orbDrift 20s ease-in-out infinite;
}

.glow-orb:nth-child(1) {
  width: 500px; height: 500px;
  background: var(--blue);
  top: 10%; left: 15%;
  animation-delay: 0s;
}
.glow-orb:nth-child(2) {
  width: 350px; height: 350px;
  background: var(--purple);
  top: 50%; right: 10%;
  animation-delay: -5s;
}
.glow-orb:nth-child(3) {
  width: 450px; height: 450px;
  background: var(--blue);
  bottom: 5%; left: 25%;
  animation-delay: -10s;
  opacity: 0.08;
}
.glow-orb:nth-child(4) {
  width: 300px; height: 300px;
  background: var(--purple);
  top: 20%; right: 30%;
  animation-delay: -15s;
  opacity: 0.1;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.08); }
  50% { transform: translate(-40px, 60px) scale(0.95); }
  75% { transform: translate(30px, -60px) scale(1.12); }
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.85);
  border-bottom: 1px solid var(--glass-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo-img {
  height: 32px;
  width: auto;
  transition: filter 0.3s ease;
}
.nav-logo:hover .nav-logo-img { filter: drop-shadow(0 0 8px var(--accent-glow)); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--accent); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Resume nav button */
.btn-resume {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.2rem;
  border: 2px solid;
  border-image-slice: 1;
  border-image-source: var(--gradient);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--purple);
  transition: all 0.3s ease;
}
.btn-resume::after { display: none; }
.btn-resume:hover {
  background: linear-gradient(135deg, rgba(155, 109, 255, 0.15), rgba(74, 144, 226, 0.15));
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(155, 109, 255, 0.3);
}
.btn-resume svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger { display: none; cursor: pointer; background: none; border: none; padding: 0.5rem; z-index: 1002; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); margin: 5px 0;
  transition: all 0.3s ease; border-radius: 2px;
}

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 70%; max-width: 320px; height: 100vh;
    flex-direction: column; justify-content: center;
    background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001; gap: 2.5rem;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* --- Main Content --- */
main {
  position: relative;
  z-index: 1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 12px;
  font-family: var(--font-mono); font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.5px; cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid transparent;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(155, 109, 255, 0.15), 0 4px 20px rgba(74, 144, 226, 0.1);
}

.btn-primary {
  color: var(--purple);
  background: linear-gradient(135deg, rgba(155, 109, 255, 0.08), rgba(74, 144, 226, 0.08));
}

.btn-primary::before {
  opacity: 0.8;
}

.btn-primary:hover {
  color: var(--text);
  background: linear-gradient(135deg, rgba(155, 109, 255, 0.15), rgba(74, 144, 226, 0.15));
}

.btn-glass {
  color: var(--text-dim);
}

.btn-glass:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

/* --- Glass Card --- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.35s ease;
}
.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 8px 40px rgba(155, 109, 255, 0.06), 0 4px 20px rgba(74, 144, 226, 0.04);
}

/* --- Section Header --- */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-number {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--blue), transparent);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  flex: 1;
}

/* Waving person illustration */
.illustration-container {
  flex-shrink: 0;
  width: 320px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}

.illustration {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.person {
  position: relative;
  width: 300px;
  height: auto;
  aspect-ratio: 3/4;
  display: flex;
  justify-content: center;
  align-items: center;
}

.person-base {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.15));
}

.waving-arm {
  position: absolute;
  top: 29%;
  left: 48%;
  width: 13%;
  transform-origin: bottom left;
  animation: wave 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(74, 144, 226, 0.2));
}

@keyframes wave {
  0%, 100% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
}

@media (max-width: 850px) {
  .hero-layout {
    flex-direction: column;
    text-align: center;
  }

  .illustration-container {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .illustration {
    height: 250px;
  }

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

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

.hero-greeting {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 0.5rem;
  opacity: 0; animation: fadeUp 0.6s 0.2s forwards;
}

.hero-name {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  opacity: 0; animation: fadeUp 0.6s 0.4s forwards;
}

.typing-container {
  position: relative;
  display: flex;
  align-items: center;
}

#typing-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background-color: var(--blue);
  margin-left: 4px;
  animation: blink 0.8s step-end infinite;
  vertical-align: baseline;
}

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

.hero-title {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.6s 0.6s forwards;
  text-shadow: 0 0 30px rgba(74, 144, 226, 0.2);
}

.hero-bio {
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.6s 0.8s forwards;
}

.hero-buttons {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.6s 1s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  opacity: 0; animation: fadeUp 0.6s 1.4s forwards;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--purple), var(--blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

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

/* --- About --- */
.about {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-skills h3 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--blue);
  margin-bottom: 1rem;
  font-weight: 500;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  color: var(--text-dim);
  transition: all 0.25s ease;
}
.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

/* Certifications */
.certs {
  margin-top: 3rem;
}

.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: all 0.25s ease;
}
.cert-item:hover {
  border-color: var(--glass-border-hover);
  color: var(--text);
  transform: translateY(-2px);
}
.cert-badge {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.cert-item:hover .cert-badge {
  transform: scale(1.1);
}

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

/* --- Projects --- */
.projects {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) 2rem;
}

/* Featured Project */
.project-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.project-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.project-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.project-description {
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.project-description p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tech span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  padding: 0.25rem 0.6rem;
  background: rgba(155, 109, 255, 0.05);
  border-radius: 4px;
}

.project-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.project-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.project-link:hover { color: var(--text-bright); }

/* Project Visual */
.project-visual {
  display: flex;
  justify-content: center;
}

.project-card-visual {
  padding: 3rem 2rem;
  text-align: center;
  width: 100%;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.project-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(155, 109, 255, 0.04), rgba(74, 144, 226, 0.04));
  z-index: 0;
}

.project-icon-large {
  font-size: 4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(155, 109, 255, 0.3));
}

.project-stack-preview {
  position: relative;
  z-index: 1;
}

.project-stack-preview code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(155, 109, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(155, 109, 255, 0.1);
}

/* Project Grid (smaller cards) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
}

.project-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(155, 109, 255, 0.06), 0 0 30px rgba(74, 144, 226, 0.04);
  color: var(--text);
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.project-card-icon { font-size: 2rem; }

.project-card-header svg {
  color: var(--text-dim);
  transition: color 0.25s ease;
}
.project-card:hover .project-card-header svg { color: var(--accent); }

.project-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
}

.project-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.project-card-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.project-card-tech span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}
.project-card-tech span + span::before {
  content: '·';
  margin-right: 0.4rem;
}

@media (max-width: 768px) {
  .project-featured { grid-template-columns: 1fr; }
  .project-visual { order: -1; }
}

/* --- Blog --- */
.blog {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.25rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
}

.blog-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  color: var(--text);
}

.blog-card-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.blog-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.blog-card-tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  padding: 0.2rem 0.5rem;
  background: rgba(155, 109, 255, 0.05);
  border-radius: 4px;
}

.blog-card-read {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 1rem;
  display: inline-block;
}

/* --- Contact --- */
.contact {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-gap) 2rem;
  text-align: center;
}

.contact-content {
  max-width: 560px;
  margin: 0 auto;
}

.contact-content p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

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

/* --- Footer --- */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

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

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Blog Post Page Styles --- */
.blog-post {
  max-width: 740px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

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

.blog-post-back {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 2rem;
  display: inline-block;
}

.blog-post-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.blog-post-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.blog-post-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  margin: 3rem 0 1rem;
}

.blog-post-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-bright);
  margin: 2rem 0 0.75rem;
}

.blog-post-content p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.blog-post-content strong { color: var(--text); }

.blog-post-content ul, .blog-post-content ol {
  color: var(--text-dim);
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.blog-post-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: rgba(155, 109, 255, 0.05);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  color: var(--accent);
}

.blog-post-content pre {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.blog-post-content pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text);
}

.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.blog-post-content th, .blog-post-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.blog-post-content th {
  color: var(--text-bright);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-post-content td {
  color: var(--text-dim);
}

.blog-post-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--text-dim);
  font-style: italic;
}
