.inventory-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.inventory-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quantity-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.item-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.item-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.item-name {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 2px;
}

.item-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.item-description {
    color: var(--font-color-dark-gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.redeem-btn {
    background-color: var(--primary-color);
    border: none;
    border-radius: 20px;
    padding: 5px 15px;
    font-weight: 600;
    margin-top: auto;
    transition: transform 0.2s ease;
    font-size: 0.9rem;
}

.redeem-btn:hover {
    background-color: #0d6efd;
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .item-icon {
        width: 40px;
        height: 40px;
    }
    
    .item-icon i {
        font-size: 20px;
    }
    
    .item-name {
        font-size: 1.2rem;
    }
    
    .item-title {
        font-size: 1rem;
    }
    
    .quantity-badge {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    
    .redeem-btn {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
}