.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/home_bg.jpg') center/cover no-repeat;
  z-index: -2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.theme-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  z-index: -1;
}

.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.8rem 0;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 50;
}

.nav-inner {
  width: 88%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1rem;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  transform: scale(1.12);
}

.post-main {
  width: 60%;
  max-width: 900px;
  margin: 6rem auto 3rem;
  color: white;
}

.post-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.post-date {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
}

.post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.post-content h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.post-content p {
  margin-bottom: 1rem;
}

.post-content a {
  color: #aad7ff;
  text-decoration: underline;
}

.post-content code {
  background: rgba(255,255,255,0.15);
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
}

.post-content pre {
  background: rgba(255,255,255,0.12);
  padding: 1rem;
  border-radius: 10px;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.post-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 1rem 0;
}

.site-footer {
  text-align: center;
  padding: 1.5rem 0;
  color: rgba(255,255,255,0.6);
}
