.bundle-grid-parent-div {
    padding: 20px 0;
    color: #fff;
    width: 100%;
}

.bundle-grid {
    display: grid;
    gap: 10px;
    padding: 20px 0;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adaptive grid */
}

.bundle-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.1s ease-out, outline 0.1s ease-out;
}

.bundle-card:hover {
    outline: 4px solid white;
    transform: scale(1.02);
}

.bundle-card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0; /* Round top corners */
}

.bundle-card-img-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-out, filter 0.3s ease-out;
}

.bundle-card:hover .bundle-card-img-wrapper img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.bundle-meta {
    background-color: var(--ast-global-color-8);
    padding: 10px;
    text-align: center;
    border-radius: 0 0 10px 10px; /* Round bottom corners */
    height: 100%;
}

.bundle-name {
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.bundle-type {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #aaa;
}

.bundle-type .rarity-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .bundle-grid {
        gap: 30px;
        padding: 20px 40px;
    }
}