/* Estilos para las tarjetas de modelos con hover animado */
.card-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 0 auto;
    max-width: 1400px;
}

.models-card {
    padding: 24px 16px 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    background: #fff;
    min-width: 320px;
    min-height: 160px;
    transition: background 0.5s, color 0.5s, box-shadow 0.3s;
    cursor: pointer;
    border: none;
    margin-bottom: 0;
}

.models-card .material-icons {
    font-size: 38px;
    color: #444;
    margin-bottom: 8px;
}

.models-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #222;
}

.models-card span {
    font-size: 1.05rem;
    font-weight: 500;
    color: #666;
}

.models-card:hover {
    background: linear-gradient(-45deg, #23d5ab, #23a6d5,  #e73c7e, #ff5500);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: #fff !important;
    box-shadow: 0 4px 24px rgba(35, 213, 171, 0.15), 0 2px 12px rgba(0,0,0,0.10);
}

.models-card:hover .material-icons,
.models-card:hover .card-title,
.models-card:hover span {
    color: #fff !important;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
