/* Filtros de Categoria */
.filter-section {
    background-color: #fff;
    border-bottom: 1px solid #eee;
  }
  
  .filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .filter-btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    background: white;
    color: #666;
  }
  
  .filter-btn:hover,
  .filter-btn.active {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  /* Cards dos E-books */
  .ebook-card-modern {
    border-radius: 16px;
    padding: 25px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  .ebook-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  }
  
  .ebook-card__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .ebook-badge {
    margin-bottom: 15px;
    align-self: flex-start;
  }
  
  .ebook-badge span {
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
  }
  
  .ebook-image {
    text-align: center;
    margin-bottom: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  
  
  .ebook-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 12px;
    opacity: 0.9;
  }
  
  .ebook-date,
  .ebook-downloads {
    background: rgba(255,255,255,0.15);
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 11px;
  }
  
  .ebook-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: white;
  }
  
  .ebook-desc {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 20px;
    flex-grow: 1;
    color: white;
  }
  
  .ebook-action {
    margin-top: auto;
  }
  
  .btn-download-modern {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white !important;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }
  
  .btn-download-modern:hover {
    background: white !important;
    color: #333 !important;
    transform: scale(1.05);
    text-decoration: none !important;
  }
  
  /* Estado vazio */
  .empty-state {
    padding: 80px 20px;
  }
  
  .empty-icon {
    opacity: 0.3;
  }
  
  .empty-title {
    color: #666;
    margin-bottom: 15px;
  }
  
  .empty-desc {
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto 30px;
  }
  
  /* Decorações */
  .ebook-card-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    z-index: 1;
  }
  
  .ebook-card-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    z-index: 1;
  }
  
  /* Responsivo */
  @media (max-width: 768px) {
    .filter-list {
      gap: 10px;
    }
    
    .filter-btn {
      padding: 8px 16px;
      font-size: 13px;
    }
    
    .ebook-card-modern {
      height: auto;
      margin-bottom: 20px;
    }
    
    .ebook-title {
      font-size: 16px;
    }
  }
  
  @media (max-width: 576px) {
    .ebook-card-modern {
      padding: 20px;
    }
    
    .filter-list {
      flex-direction: row;
      align-items: center;
    }
  }