  :root {
    --cat-primary: #3498db;
    --cat-secondary: #2c3e50;
    --cat-accent: var(--color-primary);
    --cat-bg: #f5f7fa;
    --cat-card: #ffffff;
    --cat-text: #4a5568;
    --cat-heading: #2d3748;
    --cat-border: #e2e8f0;
    --cat-shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --cat-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --cat-shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  }

  /* Category Hero Section */
  .category-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
  }

  .category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
  }

  .category-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    text-align: center;
  }

  .category-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--cat-accent);
    animation: bounce 2s ease-in-out infinite;
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  .category-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: slideInDown 0.8s ease;
  }

  @keyframes slideInDown {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .category-description {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
  }

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

  .category-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    animation: fadeInUp 0.8s ease 0.4s both;
  }

  .stat-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
  }

  .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cat-accent);
  }

  .stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Main Content Area */
  .category-content {
    max-width: 1200px;
    margin: -40px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
  }

  /* Posts Grid */
  .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
  }

  /* Post Card */
  .post-card {
    background: var(--cat-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--cat-shadow-md);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease both;
    border: 1px solid var(--cat-border);
  }

  .post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--cat-shadow-lg);
  }

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

  .post-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--cat-primary), var(--cat-secondary));
    position: relative;
    overflow: hidden;
  }

  .post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .post-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  }

  .post-card-content {
    padding: 25px;
  }

  .post-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--cat-text);
  }

  .post-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .post-card-meta i {
    color: var(--cat-accent);
    font-size: 0.9rem;
  }

  .post-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--cat-heading);
    margin-bottom: 15px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .post-card-title a:hover {
    color: var(--cat-primary);
  }

  .post-card-excerpt {
    color: var(--cat-text);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cat-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .post-card-link:hover {
    gap: 12px;
    color: var(--cat-primary);
  }

  /* Pagination */
  .category-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
  }

  .category-pagination a,
  .category-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: var(--cat-card);
    border: 2px solid var(--cat-border);
    border-radius: 10px;
    color: var(--cat-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .category-pagination a:hover {
    background: var(--cat-primary);
    color: white;
    border-color: var(--cat-primary);
    transform: translateY(-2px);
  }

  .category-pagination .current {
    background: var(--cat-primary);
    color: white;
    border-color: var(--cat-primary);
  }

  /* No posts message */
  .no-posts {
    text-align: center;
    padding: 80px 20px;
    background: var(--cat-card);
    border-radius: 16px;
    box-shadow: var(--cat-shadow-md);
  }

  .no-posts h2 {
    color: var(--cat-heading);
    margin-bottom: 20px;
  }

  .no-posts p {
    color: var(--cat-text);
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .no-posts a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--cat-accent);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .no-posts a:hover {
    background: var(--cat-primary);
    transform: translateY(-2px);
  }

  /* Mobile Responsive */
  @media (max-width: 768px) {
    .category-hero {
      padding: 80px 0 60px;
    }
    
    .category-title {
      font-size: 2rem;
    }
    
    .category-stats {
      flex-direction: column;
      gap: 15px;
    }
    
    .posts-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .category-content {
      margin-top: -20px;
    }
  }

