* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0F0F0F;
  color: #FFFFFF;
  line-height: 1.6;
}

.blog-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 20px;
}

/* Header (same as homepage) */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #1A1A1A;
  border-bottom: 1px solid #333;
  width: 100%;
  flex-wrap: wrap;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 28px;
  font-weight: 700;
  color: #00FF99;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.logo-placeholder {
  width: 40px;
  height: 40px;
  background-color: #1A1A1A;
  border-radius: 50%;
  border: 2px solid #00FF99;
}

/* Auth Button */
.auth-btn.header-btn {
  color: #00FF99;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border: 2px solid #00FF99;
  border-radius: 25px;
  background: linear-gradient(90deg, rgba(0,255,153,0.1), rgba(0,204,128,0.1));
  transition: all 0.3s ease;
}

.auth-btn.header-btn:hover {
  background: linear-gradient(90deg, #00FF99, #00CC80);
  color: #0F0F0F;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,255,153,0.3);
}

/* Nav Menu */
.nav-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #00FF99;
}

/* Hero */
.blog-hero {
  padding: 100px 20px 80px;
  text-align: center;
  background: linear-gradient(to bottom, #1A1A1A, #0F0F0F);
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  color: #00FF99;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 20px;
  color: #aaa;
  max-width: 800px;
  margin: 0 auto;
}

/* Featured Post */
.featured-post {
  padding: 0 20px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #1A1A1A;
  border-radius: 16px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  background: #00FF99;
  color: #0F0F0F;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.featured-content h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.featured-excerpt {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 30px;
}

.featured-meta {
  display: flex;
  gap: 20px;
  color: #888;
  font-size: 14px;
  margin-bottom: 30px;
}

.read-more {
  color: #00FF99;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.read-more:hover {
  text-decoration: underline;
}

/* Recent Posts */
.recent-posts {
  padding: 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 40px;
  color: #00FF99;
  text-align: center;
  margin-bottom: 60px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
}

.post-card {
  background: #1A1A1A;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.post-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,255,153,0.15);
}

.post-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-content {
  padding: 30px;
}

.post-content h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.post-excerpt {
  font-size: 16px;
  color: #bbb;
  margin-bottom: 24px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  color: #888;
  font-size: 14px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
}

.page-btn {
  padding: 10px 18px;
  background: #222;
  color: #aaa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
  background: #00FF99;
  color: #0F0F0F;
}

/* Newsletter */
.newsletter {
  padding: 100px 20px;
  background: #1A1A1A;
  text-align: center;
}

.newsletter h2 {
  font-size: 40px;
  color: #00FF99;
  margin-bottom: 20px;
}

.newsletter p {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 40px;
}

.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid #333;
  border-radius: 12px;
  background: #222;
  color: #fff;
  font-size: 16px;
}

.newsletter-form button {
  padding: 16px 32px;
  background: linear-gradient(90deg, #00FF99, #00CC80);
  color: #0F0F0F;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,255,153,0.3);
}

.privacy-note {
  margin-top: 20px;
  font-size: 14px;
  color: #888;
}

/* Footer */
.footer {
  padding: 40px 20px;
  text-align: center;
  background: #1A1A1A;
  border-top: 1px solid #333;
}

.footer-legal {
  font-size: 14px;
  color: #888;
}

/* Responsive */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-content {
    padding: 40px 30px;
  }

  .featured-content h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 80px 15px 60px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    padding: 60px 15px 40px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .section-title {
    font-size: 32px;
  }
}

.post-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.post-card.visible {
  opacity: 1;
  transform: translateY(0);
}