.category-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

[class*="-category"]:hover .category-content {
    opacity: 1;
}

@media (max-width: 768px) {
    .category-title {
        font-size: 1.2rem;
    }
}

.category-title {
    font-family: 'Baskervville', serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.category-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.category-count {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
}

.category-link {
    display: inline-block;
    padding: 8px 25px;
    margin-top: 15px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: white;
    color: #2c3e50;
}

.fold-category {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    aspect-ratio: 1;
    perspective: 1000px;
}

.fold-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fold-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    transform: rotateY(90deg);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.fold-category:hover .fold-overlay {
    transform: rotateY(0);
}