/* Contenedor base */
.kdc-category-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 16px;
    transition: all 0.35s ease;
}

/* Imagen */
.kdc-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Overlay oscuro */
.kdc-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    transition: background 0.3s ease;
}

/* Texto */
.kdc-category-card .kdc-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 28px;
    font-weight: 700;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Hover desktop */
.kdc-category-card:hover img {
    transform: scale(1.08);
}

.kdc-category-card:hover::after {
    background: rgba(0,0,0,0.45);
}

.kdc-category-card:hover .kdc-title {
    transform: translateY(-5px);
}

/* Click/tap (mobile/tablet) */
.kdc-category-card:active {
    transform: scale(0.97);
}

/* Ripple effect */
.kdc-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: scale(0);
    animation: kdc-ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes kdc-ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}