/* Grid container */
.versia-list-grid {
    display: grid;
    gap: 15px;
    padding: 20px;
    background: #141414;
    border-radius: 0;
}

/* Desktop: 4 ustun */
@media (min-width: 1024px) {
    .versia-list-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        padding: 20px;
    }
}

/* Tablet: 3 ustun */
@media (min-width: 768px) and (max-width: 1023px) {
    .versia-list-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        padding: 15px;
    }
}

/* Mobile: 3 ustun */
@media (max-width: 767px) {
    .versia-list-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 12px;
    }
}

/* Kichik mobile */
@media (max-width: 480px) {
    .versia-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
    }
}

/* Card style */
.versia-list-card {
    display: block;
    text-decoration: none;
    background: #141414;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

.versia-list-card-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin: 0;
    background: #141414;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Hover effect */
.versia-list-card:hover {
    transform: translateY(-2px);
    border-color: #ffffff;
    background: #1a1a1a;
}

.versia-list-card:hover .versia-list-card-inner {
    background: #1a1a1a;
}

/* SVG icon wrapper */
.versia-list-icon-wrapper {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

/* SVG icon - Oq rang */
.versia-list-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
    filter: brightness(0) invert(1);
}

.versia-list-card:hover .versia-list-icon {
    transform: scale(1.1);
}

/* Icon placeholder */
.versia-list-icon-placeholder {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

/* ========== TITLE - DOIMIY GRADIENT EFFEKT ========== */
.versia-list-title {
    display: inline-block;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
    padding: 0;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    line-height: 1.3;
    
    /* Gradient effekt */
    background: linear-gradient(
        90deg,
        #ffffff,
        #d1d5db,
        #ffffff,
        #f3f4f6,
        #ffffff
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    
    /* Sekin premium animation - doimiy */
    animation: silverFlow 6s ease-in-out infinite;
}

/* Gradient animatsiyasi */
@keyframes silverFlow {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .versia-list-card {
        border-radius: 16px;
        border-width: 1.5px;
    }
    
    .versia-list-card-inner {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .versia-list-icon-wrapper {
        width: 32px;
        height: 32px;
    }
    
    .versia-list-icon {
        width: 24px;
        height: 24px;
    }
    
    .versia-list-title {
        font-size: 13px;
        animation: silverFlow 8s ease-in-out infinite;
    }
}

@media (max-width: 480px) {
    .versia-list-card {
        border-radius: 16px;
        border-width: 1px;
    }
    
    .versia-list-card-inner {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .versia-list-icon-wrapper {
        width: 28px;
        height: 28px;
    }
    
    .versia-list-icon {
        width: 20px;
        height: 20px;
    }
    
    .versia-list-title {
        font-size: 12px;
        animation: silverFlow 10s ease-in-out infinite;
    }
    
    .versia-list-icon-placeholder {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}