.fatia {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
#backToTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #524dff;
    color: white;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}
#backToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.page-btn {
    padding: 8px 16px;
    border: 1px solid #524dff;
    background-color: white;
    color: #524dff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: bold;
}
.page-btn:hover {
    background-color: #e0e0ff;
}
.page-btn.active {
    background-color: #524dff;
    color: white;
}
.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f4f4f4;
}
.category-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.category-btn {
    padding: 8px 16px;
    border: 1px solid #777;
    background-color: transparent;
    color: #ccc;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
}
.category-btn:hover {
    background-color: #555;
    border-color: #888;
}
.category-btn.active {
    background-color: #524dff;
    color: white;
    border-color: #524dff;
    font-weight: bold;
}
.category-count {
    font-size: 0.9em;
    margin-left: 5px;
    opacity: 0.8;
}