body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  min-height: 100vh;
  z-index: 999;
}

* {
  color: white;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article {
  opacity: 0;
  transform: translateY(10px);
  top: 20px;
  width: min(60%, 800px);
  margin: 3rem auto;
  background: rgba(16, 18, 22, 0.75);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 9999;
  position: relative;
  animation: fadeIn 0.7s ease forwards;

}

.article img {
  width: 100%;
  border-radius: 15px;
  margin: 1rem 0;
}

.article h1 {
  margin-top: 0;
}

.article p {
  line-height: 1.6;
  opacity: 0.9;
}

.quote {
  border-left: 4px solid #70a5d7;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  opacity: 0.8;
}

.author-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.author-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: cover;
  display: block;
  border-radius: 8px; 
}

.author-name {
  font-size: 0.9rem;
  opacity: 0.9;
}

.tech-stack {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: center;
}

.tech-stack img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.85;
  transition: 0.2s ease;
}

.tech-stack img:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.1);
}

.tech {
  position: relative;
}

.tech::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 0.7rem;
  opacity: 0;
  white-space: nowrap;
  transition: 0.2s;
}

.tech:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .post-list, .article {
    width: 90%;
  }
}

.article-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
  gap: 0.25rem;
}

.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #70a5d7, #3d6183);
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.2s ease;
}

.demo-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 25px #70a5d72d;
}

