/* CARD */
.explore-card {
    background: #0f1220;
    border-radius: 14px;
    overflow: hidden;
    transition: all .3s ease;
}

.explore-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

/* IMAGE */
.explore-img {
    position: relative;
    overflow: hidden;
}

.explore-img img {
    width: 100%;
    /*height: 220px;*/
    object-fit: cover;
    transition: transform .4s ease;
}

.explore-card:hover img {
    transform: scale(1.08);
}

/* VIEW BADGE */
.view-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* TITLE */
.explore-title {
    /*padding: 10px 12px;*/
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CLICKABLE IMAGE */
.img-link {
    display: block;
}
.explore-card {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
@media (max-width: 575px) {
    .mobile-3col {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
    .mobile-2col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .explore-img img {
        height: 100px; /* giảm chiều cao cho mobile */
    }

    .explore-title {
        font-size: 12px;
        /*padding: 6px 8px;*/
    }

    .view-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    .logogame-badge{
        font-size: 7px;
        padding: 1px 4px;
    }
}



.res-card {
    position: relative;
    height: 100%;
    overflow: hidden;

    background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.03)
    );
    backdrop-filter: blur(16px);

    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);

    transition: transform .6s cubic-bezier(.16, 1, .3, 1),
    box-shadow .6s cubic-bezier(.16, 1, .3, 1);
}

.res-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
}

/* Thumbnail lớn */
.res-thumb-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    margin: 8px;
}

.res-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.16, 1, .3, 1);
}

.res-card:hover img {
    transform: scale(1.15);
}

/* Overlay footer đè lên ảnh */
.res-footer {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;

    padding: 12px 14px;
    border-radius: 16px;

    background: linear-gradient(
            to top,
            rgba(0, 0, 0, .75),
            rgba(0, 0, 0, .25),
            transparent
    );

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Tên / loại */
.feature-type {
    font-size: .85rem;
    font-weight: 500;
    color: #e5e7eb;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Actions */
.res-actions {
    display: flex;
    gap: 10px;
}

/* Nút icon */
.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .15);
    color: #fff;

    transition: all .35s cubic-bezier(.16, 1, .3, 1);
}

.action-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    transform: translateY(-2px) scale(1.08);
}

/* SVG download */
.icon-download-cloud {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

/* Header gọn lại */
.feature-header {
    padding: 12px 18px 0;
}

.feature-name a {
    font-size: .95rem;
    font-weight: 600;
    color: #f9fafb;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
