.categories-hero-section {
    background: linear-gradient(to right, #D29D51, #F8CA72);
    padding: 60px 0 40px;
    color: #fff;
    text-align: center
}

.categories-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px
}

.categories-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: .92;
    margin-bottom: 0
}

.categories-main-section {
    background: #f8fafc;
    padding: 60px 0 40px
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 32px;
    gap: 32px
}

.category-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 8px 32px rgba(28, 33, 71, .1);
    background: #fff;
    transition: transform .2s cubic-bezier(.4, 2, .6, 1), box-shadow .2s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end
}

.category-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(22, 130, 196, .18)
}

.category-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 50%;
    z-index: 1;
    transition: filter .2s
}

.category-card-content {
    position: relative;
    z-index: 2;
    padding: 32px 28px 28px;
    color: #fff;
    background: linear-gradient(0deg, rgba(28, 33, 71, .92) 80%, rgba(28, 33, 71, .2));
    border-radius: 0 0 18px 18px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end
}

.category-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: -.5px
}

.category-card-desc {
    font-size: 1.05rem;
    color: #e0e6ed;
    margin-bottom: 18px;
    min-height: 48px
}

.category-card-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, linear-gradient(to right, #D29D51, #F8CA72) 60%, linear-gradient(to right, #ED1B24, #000000));
    color: #fff;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(22, 130, 196, .1);
    transition: background .2s, box-shadow .2s, transform .2s;
    margin-top: auto
}

.category-card-btn i {
    margin-left: 8px;
    font-size: 1.2em
}

.category-card-btn:hover {
    background: linear-gradient(90deg, linear-gradient(to right, #ED1B24, #000000), linear-gradient(to right, #D29D51, #F8CA72));
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(22, 130, 196, .18)
}

.category-card.shimmer {
    background: #f6f7f8;
    min-height: 320px;
    box-shadow: none
}

.shimmer-thumbnail {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f6f7f8 50%, #e0e0e0 75%);
    background-size: 400% 100%;
    animation: shimmerAnimation 1.5s linear infinite;
    border-radius: 18px 18px 0 0
}

.category-card.shimmer .category-card-content {
    background: none;
    color: #ccc;
    padding: 24px 20px 20px
}

.shimmer-title {
    width: 70%;
    height: 22px;
    margin: 18px 0 12px;
    background: #ddd;
    border-radius: 4px
}

.shimmer-link {
    width: 40%;
    height: 16px;
    background: #ccc;
    border-radius: 4px
}

@keyframes shimmerAnimation {
    0% {
        background-position: -200% 0
    }

    to {
        background-position: 200% 0
    }
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 600px) {
    .categories-hero-title {
        font-size: 2rem
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .category-card-content {
        padding: 20px 12px 16px;
        min-height: 120px
    }
}
