 
@font-face {
    font-family: "Peyda-main";
    src: url("../fonts/peydabold.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  
  @font-face {
    font-family: "vazir-main";
    src: url("../fonts/vazir.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: "lalezar-main";
    src: url("../fonts/lalezar.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
 
  
* {
    font-family:"Peyda-main" ;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    
    :root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --tertiary-dark: #2a2a2a;
    --primary-purple: #8b5cf6;
    --secondary-purple: #a78bfa;
    --primary-blue: #3b82f6;
    --secondary-blue: #60a5fa;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --danger-red: #ef4444;
    --dark-secondary: #1a1a2e;

    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

    --primary-color: #6c63ff;
    --secondary-color: #00d4ff;
    }
    
    body {

    background-color: var(--primary-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    }
    
    /* Scrollbar Styling */
    ::-webkit-scrollbar {
    width: 12px;
    }
    
    ::-webkit-scrollbar-track {
    background: var(--secondary-dark);
    border-radius: 10px;
    }
    
    ::-webkit-scrollbar-thumb {
    background: var(--gradient-2);
    border-radius: 10px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-purple);
    }
    
    /* Header */
    header {
      background: rgba(26, 26, 46, 0.95);
      backdrop-filter: blur(10px);
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      transition: all 0.3s ease;
      box-shadow: 0 2px 20px rgba(108, 99, 255, 0.1);
    }
    
    header.scrolled {
      background: rgba(10, 10, 10, 0.98);
      box-shadow: 0 5px 30px rgba(176, 38, 255, 0.3);
    }


    .mobile-menu {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }
    
    .mobile-menu span {
      width: 25px;
      height: 3px;
      background: var(--text-primary);
      transition: all 0.3s;
    }
    
    
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 5%;
      max-width: 1400px;
      margin: 0 auto;
      }
  
      .nav-actions {
        display: flex;
        gap: 1rem;
        align-items: center;
        }
  
        .nav-links {
          display: flex;
          list-style: none;
          gap: 2rem;
          align-items: center;
          }
          
          .nav-links a {
          color: var(--text-primary);
          text-decoration: none;
          position: relative;
          padding: 0.5rem 0;
          transition: all 0.3s ease;
          }
          
          .nav-links a::after {
          content: '';
          position: absolute;
          bottom: -5px;
          left: 0;
          width: 0;
          height: 2px;
          background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
          transition: width 0.3s ease;
          }
          
          .nav-links a:hover::after {
          width: 100%;
          }
          
          .nav-links a:hover {
          color: var(--primary-color);
          text-shadow: 0 0 10px var(--primary-color);
          }
          
    .cart-icon {
      position: relative;
      font-size: 1.3rem;
      cursor: pointer;
      padding: 0.5rem;
      transition: all 0.3s ease;
      }
      
      .cart-icon:hover {
      color: var(--accent-purple);
      transform: scale(1.1);
      }
    .logo {
    font-size: 2rem;
    font-weight: bold;
    background: var(--gradient-2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
    }
    
    .logo:hover {
    transform: scale(1.05);
    }
    
 
    /* Hero Section */
    .hero-section {
    margin-top: 80px;
    padding: 4rem 5%;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    }
    
    .hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    }
    
    .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    }
    
    .hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease 0.2s both;
    }
    
    /* Search Section */
    .search-section {
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    }
    
    .search-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    }
    
    .search-box {
    width: 100%;
    padding: 1.2rem 3rem 1.2rem 1.5rem;
    font-size: 1.1rem;
    background: var(--secondary-dark);
    border: 2px solid transparent;
    border-radius: 50px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: "Peyda-main";
    }
    
    .search-box:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    }
    
    .search-btn {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-2);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    }
    
    .search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.5);
    }
    





/* دکمه پیش‌فرض با رنگ بنفش اصلی */
.btn-primary {
  background-color: var(--primary-purple);
  color: var(--text-primary);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: var(--secondary-purple);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* دکمه با پس‌زمینه گرادیان آبی و بنفش */
.btn-gradient {
  background: var(--gradient-2);
  color: var(--text-primary);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-gradient:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* دکمه توخالی (Outline) با رنگ آبی اصلی */
.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  padding: 10px 22px; /* کمی کمتر از دکمه پر شده برای حفظ تعادل */
  border: 2px solid var(--primary-blue);
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* دکمه با رنگ خطر (قرمز) */
.btn-danger {
  background-color: var(--danger-red);
  color: var(--text-primary);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-danger:hover {
  background-color: #dc2626; /* کمی تیره‌تر از قرمز اصلی */
  transform: translateY(-2px);
}

.btn-danger:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* یک دکمه کمی متفاوت با پس‌زمینه تیره و متن ثانویه */
.btn-dark-secondary {
  background-color: var(--dark-secondary);
  color: var(--text-secondary);
  padding: 12px 24px;
  border: 1px solid var(--tertiary-dark);
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-dark-secondary:hover {
  background-color: var(--tertiary-dark);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-dark-secondary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}






    /* Skeleton Loading Styles */
.skeleton {
  animation: skeleton-loading 1.5s infinite linear;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
}

.skeleton-image {
  width: 100%;
  height: 200px;
  background: #e0e0e0;
  border-radius: 10px 10px 0 0;
}

.skeleton-content {
  padding: 20px;
}

.skeleton-line {
  height: 16px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 10px;
}

.skeleton-line.short {
  width: 70%;
}

@keyframes skeleton-loading {
  0% {
      background-position: -200% 0;
  }
  100% {
      background-position: 200% 0;
  }
}

/* Error Message Styles */
.error-message {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
  color: #666;
}

.error-message i {
  font-size: 48px;
  color: #ff6b6b;
  margin-bottom: 20px;
}

.error-message p {
  font-size: 18px;
  margin-bottom: 20px;
}

.retry-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.retry-btn:hover {
  background: var(--primary-dark);
}

/* No Articles Message */
.no-articles {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
  color: #666;
  font-size: 18px;
}

/* Search Result Message */
.search-result-message {
  background: #e3f2fd;
  border: 1px solid #2196f3;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 20px;
  color: #1565c0;
}

.search-result-message p {
  margin: 0;
  font-size: 14px;
}

/* Article Date */
.article-date {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

/* Loading State for Buttons */
.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Active Tag Style */
.filter-tag.active,
.tag.active {
  background: var(--primary-color) !important;
  color: white !important;
  transform: scale(1.05);
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .skeleton-content {
      padding: 15px;
  }
  
  .error-message {
      padding: 40px 15px;
  }
  
  .error-message i {
      font-size: 36px;
  }
  
  .error-message p {
      font-size: 16px;
  }
}
























/* Article Tags */
.article-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.article-tag {
  background: #f0f0f0;
  color: #666;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid #ddd;
}

/* Like Button */
.like-btn {
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.like-btn:hover {
  color: #e74c3c !important;
  transform: scale(1.1);
}

.like-btn.liked {
  color: #e74c3c !important;
}

/* Popular Post Stats */
.popular-post-stats {
  font-size: 12px;
  color: #888;
  margin-top: 5px;
  display: block;
}

.popular-post-stats i {
  margin-right: 3px;
}

/* Search Result Message Improvements */
.search-result-message {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border: 1px solid #2196f3;
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 20px;
  color: #1565c0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}

.search-result-message p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.clear-search-btn {
  background: #f44336;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.clear-search-btn:hover {
  background: #d32f2f;
}

/* Loading Improvements */
.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.skeleton::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0.2) 20%,
      rgba(255, 255, 255, 0.5) 60%,
      rgba(255, 255, 255, 0)
  );
  animation: shimmer 2s infinite;
  content: '';
}

@keyframes shimmer {
  100% {
      transform: translateX(100%);
  }
}

/* Enhanced Card Interactions */
.article-card {
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
  pointer-events: none;
}

.article-card:hover::before {
  transform: translateX(100%);
}

/* No Articles Message Enhancement */
.no-articles {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1 / -1;
  color: #999;
  font-size: 18px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 12px;
  border: 2px dashed #ddd;
}

.no-articles::before {
  content: '🔍';
  display: block;
  font-size: 48px;
  margin-bottom: 20px;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .search-result-message {
      flex-direction: column;
      gap: 10px;
      text-align: center;
  }
  
  .article-tags {
      justify-content: center;
  }
  
  .popular-post-stats {
      text-align: center;
  }
}



/* Category Filter Enhancement */
#categoryFilter, #sortFilter {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 500;
}

#categoryFilter option, #sortFilter option {
  background: white;
  color: #333;
}



/* Smooth Transitions */
.article-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Category Item Hover */
.category-item {
  cursor: pointer;
  transition: background 0.3s ease;
}

.category-item:hover {
  background: rgba(0,0,0,0.05);
}

/* Popular Post Hover */
.popular-post {
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 10px;
  border-radius: 8px;
}

.popular-post:hover {
  background: rgba(0,0,0,0.05);
}










    /* Filters Section */
    .filters-section {
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    }
    
    .filter-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    }
    
    .filter-label {
    color: var(--text-secondary);
    font-weight: 500;
    }
    
    .filter-select {
    padding: 0.7rem 2rem 0.7rem 1rem;
    background: var(--secondary-dark);
    border: 2px solid var(--tertiary-dark);
    border-radius: 25px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Peyda-main";
    min-width: 150px;
    }
    
    .filter-select:hover {
    border-color: var(--primary-purple);
    }
    
    .filter-select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
    }
    
    .filter-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    }
    
    .filter-tag {
    padding: 0.5rem 1rem;
    background: var(--tertiary-dark);
    border: 1px solid var(--primary-purple);
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    }
    
    .filter-tag:hover {
    background: var(--primary-purple);
    transform: translateY(-2px);
    }
    
    .filter-tag.active {
    background: var(--gradient-2);
    border-color: transparent;
    }
    
    /* Articles Grid */
    .articles-section {
    padding: 3rem 5%;
    max-width: 1600px;
  

    }
    
    .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    }
    
    .article-card {
    background: var(--secondary-dark);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    max-width : 400px;
    }
    
    .article-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    }
    
    .article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    }
    
    .article-card:hover .article-image {
    transform: scale(1.1);
    }
    
    .article-content {
    padding: 1.5rem;
    }
    
    .article-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--gradient-2);
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    }
    
    .article-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    }
    
    .article-card:hover .article-title {
    color: var(--secondary-purple);
    }
    
    .article-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    }
    
    .article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    }
    
    .article-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }
    
    .author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    }
    
    .article-stats {
    display: flex;
    gap: 1rem;
    }
    
    .article-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    }
    
    /* Featured Article  grid-column: span 2; */
    .featured-article {
  
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    }
    
    .featured-article::before {
    content: 'ویژه';
    position: absolute;
    top: 20px;
    left: 20px;
    width: fit-content;
    height: fit-content;
    background: var(--danger-red);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    z-index: 1;
    }
    
    .article-card .article-image {
    height: 300px;
    }
    
    /* Pagination */
    .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    }
    
    .pagination-btn {
    padding: 0.7rem 1.5rem;
    background: var(--secondary-dark);
    border: 2px solid var(--tertiary-dark);
    border-radius: 25px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Peyda-main";
    }
    
    .pagination-btn:hover:not(:disabled) {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    }
    
    .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    }
    
    .page-numbers {
    display: flex;
    gap: 0.5rem;
    }
    
    .page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-dark);
    border: 2px solid var(--tertiary-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    }
    
    .page-number:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: scale(1.1);
    }
    
    .page-number.active {
    background: var(--gradient-2);
    border-color: transparent;
    }
    
    /* Sidebar */
    .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 5%;
    }
    
    .sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    }
    
    .sidebar-widget {
    background: var(--secondary-dark);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--tertiary-dark);
    transition: all 0.3s ease;
    }
    
    .sidebar-widget:hover {
    border-color: var(--primary-purple);
    }
    
    .widget-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-2);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }
    
    .category-list {
    list-style: none;
    }
    
    .category-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--tertiary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    }
    
    .category-item:hover {
    padding-right: 1rem;
    color: var(--secondary-purple);
    }
    
    .category-item:last-child {
    border-bottom: none;
    }
    
    .category-count {
    background: var(--tertiary-dark);
    padding: 0.2rem 0.7rem;
    border-radius: 15px;
    font-size: 0.85rem;
    }
    
    /* Popular Posts */
    .popular-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    }
    
    .popular-post:hover {
    transform: translateX(5px);
    }
    
    .popular-post-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    }
    
    .popular-post-content {
    flex: 1;
    }
    
    .popular-post-title {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    }
    
    .popular-post-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
    }
    
    /* Newsletter */
    .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    }
    
    .newsletter-input {
    padding: 0.8rem 1rem;
    background: var(--primary-dark);
    border: 2px solid var(--tertiary-dark);
    border-radius: 25px;
    color: var(--text-primary);
    font-family: "Peyda-main";
    }
    
    .newsletter-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    }
    
    .newsletter-btn {
    padding: 0.8rem 2rem;
    background: var(--gradient-2);
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Peyda-main";
    font-size: 1rem;
    }
    
    .newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.5);
    }
    
    /* Tags Cloud */
    .tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    }
    
    .tag {
    padding: 0.5rem 1rem;
    background: var(--primary-dark);
    border: 1px solid var(--tertiary-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    }
    
    .tag:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    }
    
    /* Footer */
    footer {
    background: var(--secondary-dark);
    padding: 2rem 5%;
    text-align: center;
    margin-top: 5rem;
    border-top: 2px solid var(--tertiary-dark);
    }
    
    /* Animations */
    @keyframes fadeInUp {
    from {
    opacity: 0;
    transform: translateY(30px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
    }
    
    @keyframes pulse {
    0%, 100% {
    transform: scale(1);
    }
    50% {
    transform: scale(1.05);
    }
    }
    
    /* Loading Skeleton */
    .skeleton {
    background: linear-gradient(90deg, var(--secondary-dark) 25%, var(--tertiary-dark) 50%, var(--secondary-dark) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    }
    
    @keyframes loading {
    0% {
    background-position: 200% 0;
    }
    100% {
    background-position: -200% 0;
    }
    }
    
    /* Responsive */
    @media (max-width: 1200px) {
    .featured-article {
    grid-column: span 1;
    }
    }
    
    @media (max-width: 992px) {
    .content-wrapper {
    grid-template-columns: 1fr;
    }
    
    .sidebar {
    order: -1;
    }
    
    .articles-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    }
    
    @media (max-width: 768px) {
  
    
      .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: var(--dark-secondary);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
      }
    
      .nav-links.active {
        right: 0;
      }
    
      
  .mobile-menu {
    display: flex;
  }
    .hero-content h1 {
    font-size: 2rem;
    }
    
    .filters-section {
    justify-content: center;
    }
    
    .filter-group {
    width: 100%;
    justify-content: center;
    }
    
    .page-numbers {
    display: none;
    }
    }
    
    @media (max-width: 480px) {
    .articles-grid {
    grid-template-columns: 1fr;
    }
    
    .hero-section {
    padding: 2rem 5%;
    }
    
    .search-box {
    font-size: 1rem;
    padding: 1rem 2.5rem 1rem 1rem;
    }
    
    .search-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    }
    }