.category-banner-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-banner {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 6;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}


.category-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.category-banner:hover .category-banner-image {
    opacity: 1;
}

.category-banner-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.4;
}

.category-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    color: white;
    text-decoration: none;
}

.category-banner-content h3 {
    margin: 0 0 12px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.category-banner-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-banner-link-wrapper:hover .category-banner-button {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Grid for category banners section */
.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin: 40px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .categories-grid {
        margin: 30px 0;
    }

    .category-banner-content h3 {
        font-size: 1.2rem;
    }

    .placeholder-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .category-banner-content h3 {
        font-size: 1rem;
    }

    .category-banner-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
